ICEfaces
  1. ICEfaces
  2. ICE-11471

blockUIOnSubmit, overlay is not removed when downloading resource

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P07
    • Fix Version/s: EE-3.3.0.GA_P08
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Any

      Description

      When using the org.icefaces.blockUIOnSubmit context parameter and downloading a resource via ace:dynamicResource the overlay is not removed after completing the download, and the UI remains blocked.

        Activity

        Hide
        Arturo Zambrano added a comment - - edited

        The issue is that when org.icefaces.blockUIOnSubmit is active, the blockUI will be applied on page unload, which is triggered when downloading a resource in the same window. So, this issue is not limited to ace:dynamicResource. It occurs with any element or component that tries to load a different URI on the current window.

        The workaround is to load the resource in a new window.

        Show
        Arturo Zambrano added a comment - - edited The issue is that when org.icefaces.blockUIOnSubmit is active, the blockUI will be applied on page unload, which is triggered when downloading a resource in the same window. So, this issue is not limited to ace:dynamicResource. It occurs with any element or component that tries to load a different URI on the current window. The workaround is to load the resource in a new window.
        Hide
        Arturo Zambrano added a comment -

        r53064: Added fix to prevent the blocking UI from being applied for ace:dynamicResource

        Show
        Arturo Zambrano added a comment - r53064: Added fix to prevent the blocking UI from being applied for ace:dynamicResource
        Hide
        Arturo Zambrano added a comment -

        Applied fix to customer's branch at revision 54065.

        Show
        Arturo Zambrano added a comment - Applied fix to customer's branch at revision 54065.
        Hide
        Ken Fyten added a comment -

        Re-opened.

        Testing using Showcase with org.icefaces.blockUIOnSubmit context param was set to true still shows the problem.

        To Reproduce:

        1. Ensure the browser is set to download PDF files, not view them.
        2. Using http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=dynamicResourceBean...
        3. Click Link type to download
        4. Change type to Image
        5. Click image button to download
        6. Change type to Link
        7. Note that the UI is no longer responsive to user-input.
        Show
        Ken Fyten added a comment - Re-opened. Testing using Showcase with org.icefaces.blockUIOnSubmit context param was set to true still shows the problem. To Reproduce: Ensure the browser is set to download PDF files, not view them. Using http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=dynamicResourceBean ... Click Link type to download Change type to Image Click image button to download Change type to Link Note that the UI is no longer responsive to user-input.
        Hide
        Arturo Zambrano added a comment -

        r53337, r53338: Apply the fix on the origin elements instead of on the container; modify mechanism to restore normal blockUI behaviour after preventing it for ace:dynamicResource (EE 3.3 maintenance branch and P08 tag)

        Show
        Arturo Zambrano added a comment - r53337, r53338: Apply the fix on the origin elements instead of on the container; modify mechanism to restore normal blockUI behaviour after preventing it for ace:dynamicResource (EE 3.3 maintenance branch and P08 tag)

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: