ICEfaces
  1. ICEfaces
  2. ICE-11504

Browser redirected to the landing page on the showcase

    Details

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

      Description

      On a new session (e.g. after clearing the browser's cache), if the first ajax request made contains execute="@all", then the browser is redirected to the landing page on the showcase.
      For example, if you load the ace:autoComplete > Overview demo, and type a letter in the text field, it will redirect you to the landing page, instead. All other subsequent requests work normally, as expected.
      Another example is loading the ace:dataExporter > Overview demo and clicking on the export button, or simple loading any non-overview demo

        Activity

        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Fix Version/s EE-3.3.0.GA_P08 [ 13293 ]
        Mircea Toma made changes -
        Description On a new session (e.g. after clearing the browser's cache), if the first ajax request made contains execute="@all", then the browser is redirected to the landing page on the showcase.
        For example, if you load the ace:autoComplete > Overview demo, and type a letter in the text field, it will redirect you to the landing page, instead. All other subsequent requests work normally, as expected.





        06:40
        Another example is loading the ace:dataExporter > Overview demo and clicking on the export button, or simple loading any non-overview demo
        On a new session (e.g. after clearing the browser's cache), if the first ajax request made contains execute="@all", then the browser is redirected to the landing page on the showcase.
        For example, if you load the ace:autoComplete > Overview demo, and type a letter in the text field, it will redirect you to the landing page, instead. All other subsequent requests work normally, as expected.
        Another example is loading the ace:dataExporter > Overview demo and clicking on the export button, or simple loading any non-overview demo
        Hide
        Mircea Toma added a comment -

        This is a regression caused by the fixes for ICE-11455. The sendBeacon request used by window disposal arrives after the GET request for the page load and triggers a navigation in showcase webapp. The browser is redirected to showcase's entry page because the dispose doesn't contain grp and exp parameters (used to choose the group and example).

        Show
        Mircea Toma added a comment - This is a regression caused by the fixes for ICE-11455 . The sendBeacon request used by window disposal arrives after the GET request for the page load and triggers a navigation in showcase webapp. The browser is redirected to showcase 's entry page because the dispose doesn't contain grp and exp parameters (used to choose the group and example).
        Hide
        Mircea Toma added a comment -

        Shortcut JSF lifecycle to before "Apply Request Phase" for dispose window requests to avoid unwanted component execution.

        Show
        Mircea Toma added a comment - Shortcut JSF lifecycle to before "Apply Request Phase" for dispose window requests to avoid unwanted component execution.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Ken Fyten added a comment -

        Re-opened to port this fix to EE 4.3

        Show
        Ken Fyten added a comment - Re-opened to port this fix to EE 4.3
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Fix Version/s EE-4.3.0.GA_P03 [ 13570 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #53315 Thu Aug 20 15:59:32 MDT 2020 mircea.toma ICE-11504 Shortcut JSF lifecycle to before "Apply Request Phase" for dispose window requests to avoid unwanted component execution.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
        Hide
        Mircea Toma added a comment -

        Ported fix to EE 4.3.

        Show
        Mircea Toma added a comment - Ported fix to EE 4.3.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: