ICEfaces
  1. ICEfaces
  2. ICE-9582

showcase - ace:progressBar JS errors when moving away from demo while component is in progress

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      Icefaces3 trunk revision# 37817/ 37843
      Server: tomcat6
      Browser: FF23, IE7 & GoogleChrome29
    • Assignee Priority:
      P2

      Description

      progressBar -> Polling: JS errors occur when moving away from this demo back to Overview demo while the progress bar is in progress:

      Firefox21:
      TypeError: s is undefined
      http://localhost:8080/showcase/javax.faces.resource/coalesced.js.jsf?ln=ice.core&dgst=o87tz3
      Line 357

      Chrome:
      Uncaught TypeError: Cannot call method 'toLowerCase' of undefined coalesced.js.jsf?ln=ice.core&dgst=o87tz3:357

      IE10:
      SCRIPT5007: Unable to get property 'toLowerCase' of undefined or null reference
      coalesced.js.jsf, line 357 character 1


      Steps:
      - load showcase in any browser, having the browser error console open.
      - go to ace:progressBar -> Polling demo.
      - select an image to upload, and click 'upload' button -> progressBar starts.
      - while the progressBar is in progress, go to progressBar Overview demo -> JS errors start occurring in error console.

        Activity

        Hide
        Ken Fyten added a comment -

        This appears to be a problem with the exception handling in the bridge polling mechanism.

        Show
        Ken Fyten added a comment - This appears to be a problem with the exception handling in the bridge polling mechanism.
        Hide
        Mircea Toma added a comment -

        Fixed ice.ace.AjaxRequest function to pass into ice.submit just the form as the submitting element instead of an array that contains the found form.

        Show
        Mircea Toma added a comment - Fixed ice.ace.AjaxRequest function to pass into ice.submit just the form as the submitting element instead of an array that contains the found form.
        Hide
        Liana Munroe added a comment -

        Confirmed fixed Icefaces3 mojarra trunk revision 38056, Tomcat 7, FF 21, Chrome 29, IE 9.

        Show
        Liana Munroe added a comment - Confirmed fixed Icefaces3 mojarra trunk revision 38056, Tomcat 7, FF 21, Chrome 29, IE 9.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: