ICEfaces
  1. ICEfaces
  2. ICE-7790

Bridge enters browser id acquisition loop in not picking up browser id from responses in WebSphere Portal environment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0.1, EE-3.0.0.GA
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      ICEFaces 3 + myfaces 2.1.6 + WebSphere 7 + Portlet

      Description

      On converting to Myfaces 2.1.6, the listen for push request wouldn't have the browserId cookie set, leading to the ConfigurationServer responding with a browserId, not as a cookie, but in the body of the response. The bridge wasn't picking up this value, leading to a tight loop where the next listen for push would trigger the cycle again.

        Issue Links

          Activity

          Greg Dick created issue -
          Hide
          Greg Dick added a comment -

          Mircea has provided a patch containing a solution for this issue. I don't have an idea why 2.1.6 broke the application (vs 2.1.3) nor why the patch works.

          Show
          Greg Dick added a comment - Mircea has provided a patch containing a solution for this issue. I don't have an idea why 2.1.6 broke the application (vs 2.1.3) nor why the patch works.
          Hide
          Greg Dick added a comment -

          The patch

          Show
          Greg Dick added a comment - The patch
          Greg Dick made changes -
          Field Original Value New Value
          Attachment cookie_creation_fix.patch [ 14080 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 3.0.1 [ 10282 ]
          Assignee Priority P2
          Assignee Greg Dick [ greg.dick ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Greg Dick [ greg.dick ] Mircea Toma [ mircea.toma ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s EE-3.0.0.GA [ 10262 ]
          Fix Version/s EE-3.0.0.BETA [ 10324 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #27989 Wed Feb 22 14:43:53 MST 2012 mircea.toma ICE-7790 Use 'Cookie' function to make sure the cookie has its 'path' attribute defined.
          Files Changed
          Commit graph MODIFY /icepush/trunk/icepush/core/src/main/javascript/application.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #27990 Wed Feb 22 14:49:01 MST 2012 mircea.toma ICE-7790 Update library.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/lib/icepush.jar
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #27991 Wed Feb 22 14:56:05 MST 2012 mircea.toma ICE-7790 Update library.
          Files Changed
          Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/lib/icepush.jar
          Hide
          Mircea Toma added a comment -

          The fix uses 'Cookie' function (found in our bridge-support project) to make sure the cookie has its 'path' attribute defined. Most probably the headers sent by Websphere+Myfaces2.1.6 force the browsers to be more strict on how cookies can be created.

          Show
          Mircea Toma added a comment - The fix uses 'Cookie' function (found in our bridge-support project) to make sure the cookie has its 'path' attribute defined. Most probably the headers sent by Websphere+Myfaces2.1.6 force the browsers to be more strict on how cookies can be created.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Link This issue blocks IPCK-259 [ IPCK-259 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P2

            People

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

              Dates

              • Created:
                Updated:
                Resolved: