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

        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Affects Version/s 4.0 [ 10770 ]
        Mircea Toma made changes -
        Fix Version/s 4.0 [ 10770 ]
        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.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mircea Toma made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Support Customer Ref. #s 12522
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39089 Tue Dec 03 15:35:25 MST 2013 mircea.toma ICE-9723 Clear the array of network erro callbacks before the page is unloaded.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/application.js
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Affects Version/s EE-3.3.0.GA_P01 [ 11174 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Judy Guglielmin made changes -
        Salesforce Case Reference 5007000000Y2MmzAAF
        Hide
        Mircea Toma added a comment -

        Back-ported fix.

        Show
        Mircea Toma added a comment - Back-ported fix.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        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: