ICEfaces
  1. ICEfaces
  2. ICE-10375

showcase - ace:gMapServices JS errors (IE8, IE9)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces4 trunk r. 43281
      Server: Tomcat7.0.42 (SSL configuration)
      Browsers: IE8/9
    • Assignee Priority:
      P2

      Description

      showcase > ace:gMapServices > Overview demo (IE8 - nonSSL/IE9 - SSL):
      JS errors are seen when leaving this demo:

      IE8/non-SSL:
      Message: Unspecified error.
      Line: 1
      Char: 1
      Code: 0
      URI: http://10.18.39.149:8080/showcase/showcase.jsf?grp=aceMenu&exp=gMapServicesBean

      IE9/SSL:
      Message: 'google' is undefined
      Line: 8
      Char: 47
      Code: 0
      URI: https://10.18.39.149:8443/showcase/javax.faces.resource/gmap/gmap.c.js.jsf?ln=icefaces.ace&v=4_0_0_141029

        Activity

        Hide
        Mircea Toma added a comment -

        Looks like the error is caused by the resize callbacks registered with the window: http://stackoverflow.com/questions/15842886/unspecified-error-from-google-maps-api-on-ie8/15886528#15886528

        Show
        Mircea Toma added a comment - Looks like the error is caused by the resize callbacks registered with the window: http://stackoverflow.com/questions/15842886/unspecified-error-from-google-maps-api-on-ie8/15886528#15886528
        Hide
        Mircea Toma added a comment -

        Remove 'resize' listeners just before the page unloads.

        Show
        Mircea Toma added a comment - Remove 'resize' listeners just before the page unloads.
        Hide
        Liana Munroe added a comment - - edited

        Tested with ICEfaces4 trunk r 43866 using non SSL Tomcat 7 and IE 8 on the icepcvm-ie8 test machine.
        I was able to reproduce the js error by interacting with the gMap services demo (changing the way points and pressing submit) then navigating to the ace:fileEntry demo.

        Message: Unspecified error.
        Line: 1
        Char: 1
        Code: 0
        URI: http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=gMapServicesBean

        Was not able to reproduce the IE 9 issue using SSL or non SSL mode.

        Show
        Liana Munroe added a comment - - edited Tested with ICEfaces4 trunk r 43866 using non SSL Tomcat 7 and IE 8 on the icepcvm-ie8 test machine. I was able to reproduce the js error by interacting with the gMap services demo (changing the way points and pressing submit) then navigating to the ace:fileEntry demo. Message: Unspecified error. Line: 1 Char: 1 Code: 0 URI: http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=gMapServicesBean Was not able to reproduce the IE 9 issue using SSL or non SSL mode.
        Hide
        Mircea Toma added a comment - - edited

        Provide alternate Element.getBoundingClientRect implementation for when the native implementation fails.

        Show
        Mircea Toma added a comment - - edited Provide alternate Element.getBoundingClientRect implementation for when the native implementation fails.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r43868. Tomcat 7, IE 8 and 9. SSL and non SSL config.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r43868. Tomcat 7, IE 8 and 9. SSL and non SSL config.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: