ICEfaces
  1. ICEfaces
  2. ICE-9723

Cleanup network error callbacks to avoid NCI popping up while navigating

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01, 4.0.BETA
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      Supported browsers
    • Salesforce Case Reference:

      Description

      It seems that when a requests does not receive its corresponding response because the window navigates or reloads the NCI dialog will popup. The network callbacks registered with JSF bridge will need to be cleared before the page unloads to avoid this issue.

        Activity

        Hide
        Mircea Toma added a comment -

        This issue was suppossedly fix by the commit for ICE-6822 but the its implementation was not correct. The array of callbacks needs to be cleared, because that is what was passed to JSF bridge. Replacing the value of the variable holding the callbacks with an empty array won't clear the original array.

        Show
        Mircea Toma added a comment - This issue was suppossedly fix by the commit for ICE-6822 but the its implementation was not correct. The array of callbacks needs to be cleared, because that is what was passed to JSF bridge. Replacing the value of the variable holding the callbacks with an empty array won't clear the original array.
        Hide
        Mircea Toma added a comment -

        Applied fix that clears the array of network error callbacks before the page is unloaded.

        Show
        Mircea Toma added a comment - Applied fix that clears the array of network error callbacks before the page is unloaded.
        Hide
        Mircea Toma added a comment -

        Back-ported fix.

        Show
        Mircea Toma added a comment - Back-ported fix.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: