ICEfaces
  1. ICEfaces
  2. ICE-7128

REGRESSION: auctionMonitor - testClockConcurrent fails in Firefox and IE 8 browsers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Firefox 3.6.x, IE 8, code revision # 25012
    • Assignee Priority:
      P1

      Description

      First occurrence of this failure was on July 13th, 2011, with code revision # 25012.

      This test verifies that the clock (Time Left) is running in Auction Monitor, and is also running when opening a second tab or window in the same browser; this is working fine in gChrome13 and IE7 browsers only.

      In Firefox 3.6.18, the clock is not running when opening a second page, and this is causing the assertion in the test to fail.
      In Firefox 3.6.7 (on icepc18) the auctionMonitor application cannot be loaded (http://localhost:8080/auctionMonitor), and there is an error in Firebug.
      This issue has been also reproduced when opening 2 tabs in Firefox 5.0.1.

      In IE 8 the clock does not work at all when loading auctionMonitor application and there is a JavaScript error:

      Note that the core/auction sample seems to function correctly in all cases.


      Webpage error details

      User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; .NET4.0C)
      Timestamp: Mon, 15 Aug 2011 23:28:04 UTC

      Message: Object doesn't support this property or method
      Line: 1924
      Char: 5
      Code: 0
      URI: http://localhost:8080/auctionMonitor/javax.faces.resource/icepush.js.jsf?rand=1762688005

        Activity

        Hide
        Ken Fyten added a comment -

        This seems most likely to be related to "PUSH-139 Update library to rev. 25004.", svn rev. 25005.

        Show
        Ken Fyten added a comment - This seems most likely to be related to "PUSH-139 Update library to rev. 25004.", svn rev. 25005.
        Hide
        Carmen Cristurean added a comment -

        The same behavior is observed in the Auction application:

        • in Firefox 3.6.18, the clock is running only on the first opened page; on a second page, the clock will start running only after closing the first opened page.
        • in IE 8 the clock doesn't work at all, and there is a JS error.
        • in IE 7 and Google Chrome 13 the clock works as expected.
        Show
        Carmen Cristurean added a comment - The same behavior is observed in the Auction application: in Firefox 3.6.18, the clock is running only on the first opened page; on a second page, the clock will start running only after closing the first opened page. in IE 8 the clock doesn't work at all, and there is a JS error. in IE 7 and Google Chrome 13 the clock works as expected.
        Hide
        Mircea Toma added a comment -

        Looks like FF 3.6 does not support the Event.newValue property causing the local storage based inter-window communication feature to fail.
        The fix now grabs the new value from the local storage when the 'newValue' property is not defined.

        Show
        Mircea Toma added a comment - Looks like FF 3.6 does not support the Event.newValue property causing the local storage based inter-window communication feature to fail. The fix now grabs the new value from the local storage when the 'newValue' property is not defined.
        Hide
        Mircea Toma added a comment -

        Changed the storage listener registration to use the window.attachEvent function in IE8 since this browser does not support window.addEventListener function.

        Show
        Mircea Toma added a comment - Changed the storage listener registration to use the window.attachEvent function in IE8 since this browser does not support window.addEventListener function.
        Hide
        Mircea Toma added a comment -

        The 'onstorage' callback needs to be registered with the 'document' instead of 'window' global variable in IE8.

        Show
        Mircea Toma added a comment - The 'onstorage' callback needs to be registered with the 'document' instead of 'window' global variable in IE8.
        Hide
        Carmen Cristurean added a comment -

        Verified using code revision# 25322, tomcat 6 server, browsers: Firefox 3.6.18, IE 8.0.7600 on Windows 7 and IE 8.0.6001 on Windows XP.

        Show
        Carmen Cristurean added a comment - Verified using code revision# 25322, tomcat 6 server, browsers: Firefox 3.6.18, IE 8.0.7600 on Windows 7 and IE 8.0.6001 on Windows XP.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: