ICEfaces
  1. ICEfaces
  2. ICE-5256

ICEfaces 2.0: Auction IE8 issue

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Alpha2, 2.0.0
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Glimmer revision: 20168
      Server: Tomcat 6.0
    • Affects:
      Compatibility/Configuration

      Description

      When load Auction in IE8, the clocks do not tick at all. Clicking on the Bid buttons does not always work.

        Activity

        Joanne Bai created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Affects [Compatibility/Configuration]
        Assignee Priority P1
        Assignee Ted Goddard [ ted.goddard ]
        Hide
        Ken Fyten added a comment -

        Reports that this might be related to JSF 2.0.2 vs. 2.0.1. Affecting IE6 also. Ted to investigate.

        Show
        Ken Fyten added a comment - Reports that this might be related to JSF 2.0.2 vs. 2.0.1. Affecting IE6 also. Ted to investigate.
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0-Alpha2 [ 10214 ]
        Hide
        Ted Goddard added a comment -

        Confirmed clocks are not ticking in auction in IE6. Bid buttons do not generally work.

        I removed icepush.jar from auction, and it works in IE6.

        Tried both JSF 2.0.2 and 2.0.1 with no difference in behavior.

        Suspect JavaScript interaction or connection starvation in IE.

        Show
        Ted Goddard added a comment - Confirmed clocks are not ticking in auction in IE6. Bid buttons do not generally work. I removed icepush.jar from auction, and it works in IE6. Tried both JSF 2.0.2 and 2.0.1 with no difference in behavior. Suspect JavaScript interaction or connection starvation in IE.
        Hide
        Ted Goddard added a comment -

        This appears to be an icepush bug rather than a JSF 2.0 bug.

        Show
        Ted Goddard added a comment - This appears to be an icepush bug rather than a JSF 2.0 bug.
        Ted Goddard made changes -
        Assignee Ted Goddard [ ted.goddard ] Mircea Toma [ mircea.toma ]
        Hide
        Ken Fyten added a comment -

        Mircea says clearing browser cookies prior to running resolves this issue.

        Show
        Ken Fyten added a comment - Mircea says clearing browser cookies prior to running resolves this issue.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20235 Thu Jan 14 15:46:38 MST 2010 mircea.toma ICE-5256 Provide fake ID to the temporary form to avoid triggering exception in IE.
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
        Hide
        Ken Fyten added a comment -

        Still failing on IE browsers:

        Clocks tick for me on Firefox (perhaps this is what was
        fixed by clearing the cookies).

        However, with IE 6, I have verified that the notifications
        are being received and retrieveUpdate() is being called
        in the browser, but an exception is being thrown in this
        method:

        "failed to pick updates[object error]"

        (Looks like the exception doesn't have a proper toString()).

        Ted.

        [ Permlink | Edit | Delete | « Hide ]
        Ted Goddard added a comment - 14/Jan/10 04:26 PM
        Using e.name and e.message, the exception appears to be:

        updateException Invalid argument

        So perhaps we are passing something strange to jsf.ajax.request.

        Show
        Ken Fyten added a comment - Still failing on IE browsers: Clocks tick for me on Firefox (perhaps this is what was fixed by clearing the cookies). However, with IE 6, I have verified that the notifications are being received and retrieveUpdate() is being called in the browser, but an exception is being thrown in this method: "failed to pick updates [object error] " (Looks like the exception doesn't have a proper toString()). Ted. [ Permlink | Edit | Delete | « Hide ] Ted Goddard added a comment - 14/Jan/10 04:26 PM Using e.name and e.message, the exception appears to be: updateException Invalid argument So perhaps we are passing something strange to jsf.ajax.request.
        Hide
        Mircea Toma added a comment -

        Looks like that since JSF 2.0.2 when jsf.ajax.request is invoked the ID of the source element will be saved then looked up again to provide it as event parameter to the registered event listeners. If the element has no ID the call to document.getElementById function will throw an 'Invalid argument' error in IE and return null in the other browsers.

        Show
        Mircea Toma added a comment - Looks like that since JSF 2.0.2 when jsf.ajax.request is invoked the ID of the source element will be saved then looked up again to provide it as event parameter to the registered event listeners. If the element has no ID the call to document.getElementById function will throw an 'Invalid argument' error in IE and return null in the other browsers.
        Hide
        Mircea Toma added a comment -

        Provide fake ID to the temporary form to avoid triggering exception in IE.

        Show
        Mircea Toma added a comment - Provide fake ID to the temporary form to avoid triggering exception in IE.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20263 Fri Jan 15 15:06:45 MST 2010 mircea.toma ICE-5256 Provide fake ID to the temporary form to avoid triggering exception in IE.
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/submit.js
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1

          People

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

            Dates

            • Created:
              Updated:
              Resolved: