ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-394

ICEfaces1.8 composite-comps-showcase - JS error after adjusting Polling demo poll interval

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P03
    • Fix Version/s: EE-1.8.2.GA_P04
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      ICEfaces trunk rev.28617, ICEpack rev.31054
      Server: Tomcat6
      Browsers: Chrome17
    • Affects:
      Sample App./Tutorial

      Description

      A JS error was seen in console (Chrome) while clicking on the left-side links to navigate to various components, I cannot find out how to reproduce it consistently.

      Error message:
      Uncaught TypeError: Cannot read property 'parentNode' of null

        Activity

        Carmen Cristurean created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s EE-1.8.2.GA_P04 [ 10281 ]
        Assignee Priority P2
        Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
        Hide
        Mircea Toma added a comment -

        Tested with Chrome 18. I could not reproduce the error.

        Show
        Mircea Toma added a comment - Tested with Chrome 18. I could not reproduce the error.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Cannot Reproduce [ 5 ]
        Hide
        Ken Fyten added a comment -

        Okay, to reproduce you view the Polling demo, change the poll interval, then navigate to another demo. The JS error console will start throwing errors for each poll interval. Seems like maybe it's not shutting down the polling after you adjust it the first time. Happens on all browsers.

        Show
        Ken Fyten added a comment - Okay, to reproduce you view the Polling demo, change the poll interval, then navigate to another demo. The JS error console will start throwing errors for each poll interval. Seems like maybe it's not shutting down the polling after you adjust it the first time. Happens on all browsers.
        Ken Fyten made changes -
        Summary ICEfaces1.8 composite-comps-showcase - JS error in Chrome ICEfaces1.8 composite-comps-showcase - JS error after adjusting Polling demo poll interval
        Salesforce Case []
        Affects [Sample App./Tutorial]
        Assignee Priority P2 P1
        Assignee Mircea Toma [ mircea.toma ] Philip.breau [ philip.breau ]
        Ken Fyten made changes -
        Resolution Cannot Reproduce [ 5 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Philip Breau added a comment -

        Revision: 31168
        Author: philip.breau
        Date: 4:15:12 PM, Friday, April 13, 2012
        Message:
        IPCK-394 JS error after adjusting Polling demo poll interval

        • re-implemented component (backport from 2.0). the simple setInterval() was not accounting for multiple instances, navigation, colliding interval calls, etc., which the re-implemented version does

          Modified : /icepack/trunk/icepack/composite-components/web/polling/polling.xhtml
          Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/web/WEB-INF/includes/examples/composition-components/polling.jspx

        Show
        Philip Breau added a comment - Revision: 31168 Author: philip.breau Date: 4:15:12 PM, Friday, April 13, 2012 Message: IPCK-394 JS error after adjusting Polling demo poll interval re-implemented component (backport from 2.0). the simple setInterval() was not accounting for multiple instances, navigation, colliding interval calls, etc., which the re-implemented version does Modified : /icepack/trunk/icepack/composite-components/web/polling/polling.xhtml Modified : /icepack/trunk/icepack/samples/composite-comps-showcase/web/WEB-INF/includes/examples/composition-components/polling.jspx
        Philip Breau made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Carmen Cristurean added a comment -

        Verified fix using EE-ICEfaces 1.8.2.GA Bundle2 in Chrome18 and IE8, on Tomcat7.0.27.

        Show
        Carmen Cristurean added a comment - Verified fix using EE-ICEfaces 1.8.2.GA Bundle2 in Chrome18 and IE8, on Tomcat7.0.27.
        Ken Fyten made changes -
        Salesforce Case []
        Component/s Facelet Components [ 10031 ]
        Component/s Samples [ 10034 ]
        Assignee Priority P1
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Philip Breau
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: