ICEfaces
  1. ICEfaces
  2. ICE-10651

showcase ace:printer demo fails with IE 7

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: EE-3.3.0.GA_P03
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces EE-3.3.0 maintenance branch r44538. Tomcat 7, IE 7, showcase ace:printer
    • Assignee Priority:
      P1

      Description

      showcase ace:printer > Overview (IE 7 only)
      Using the print buttons cause the following popup error and print can not be executed:
      Line 32
      Char: 31415
      Error: Invalid argument
      Code 0
      .....

        Activity

        Hide
        Arturo Zambrano added a comment -

        r44571: modified the way the nodes are cloned for printing in order to avoid security errors on IE7.

        When a part of the page is prepared for printing, all the relevant nodes are cloned and copied to an iframe, which is what actually gets printed. In this process, if the nodes came from a different document element (e.g. main document vs iframe document), IE threw an error and prevented the cloning from occurring. This was fixed by doing the cloning that circumvents these security measures.

        Testing notes: please test all supported browsers, since this fix affects all of them.

        Show
        Arturo Zambrano added a comment - r44571: modified the way the nodes are cloned for printing in order to avoid security errors on IE7. When a part of the page is prepared for printing, all the relevant nodes are cloned and copied to an iframe, which is what actually gets printed. In this process, if the nodes came from a different document element (e.g. main document vs iframe document), IE threw an error and prevented the cloning from occurring. This was fixed by doing the cloning that circumvents these security measures. Testing notes: please test all supported browsers, since this fix affects all of them.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces EE-3.3.0 maintenance branch r44571. Tomcat 7, IE 7, 8, 9, 10, 11, FF 34, Chrome 41.

        Show
        Liana Munroe added a comment - Verified ICEfaces EE-3.3.0 maintenance branch r44571. Tomcat 7, IE 7, 8, 9, 10, 11, FF 34, Chrome 41.
        Hide
        Arturo Zambrano added a comment -

        r44589: backported fix to tag.

        Show
        Arturo Zambrano added a comment - r44589: backported fix to tag.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces EE-3.3.0.GA_P03 Jenkins build 02. Tomcat 7, IE 7

        Show
        Liana Munroe added a comment - Verified ICEfaces EE-3.3.0.GA_P03 Jenkins build 02. Tomcat 7, IE 7

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: