ICEfaces
  1. ICEfaces
  2. ICE-10412

Component-showcase Google Maps missing controls

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P07, EE-3.3.0.GA_P02
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Tomcat 7, ICEfaces trunk r43582. All browsers
    • Assignee Priority:
      P1

      Description

      Component-showcase Google Maps demo -
      Controls are not visible on map whether Show Controls = true or false and there is a console error:
      Chrome: Uncaught TypeError: undefined is not a function
      FF: Error: this.each is not a function
      Source File: http://localhost:8080/component-showcase/xmlhttp/1415915752290/icefaces-d2d.js
      Line: 2
      IE: Message: Object doesn't support this property or method
      Line: 2
      Char: 15931
      Code: 0
      URI: http://localhost:8080/component-showcase/xmlhttp/1415915752290/icefaces-d2d.js

        Activity

        Hide
        Arran Mccullough added a comment -

        I've been able to reproduce the 'this.each is not a function' with the 3.3.0 code base as well with the ace:gMap component. I was able to find that it was only an issue with the current 3.18 Map API release. Using an older one (3.17) or the upcoming (3.19) I no longer saw the error. The error was coming from the compat scripts as well. Most likely the component is using v=3 which will use the latest release (3.18).

        Show
        Arran Mccullough added a comment - I've been able to reproduce the 'this.each is not a function' with the 3.3.0 code base as well with the ace:gMap component. I was able to find that it was only an issue with the current 3.18 Map API release. Using an older one (3.17) or the upcoming (3.19) I no longer saw the error. The error was coming from the compat scripts as well. Most likely the component is using v=3 which will use the latest release (3.18).
        Hide
        Arran Mccullough added a comment -

        I'm now seeing the 'this.each is not a function' error using the 3.17 version as well. So far the only version that isn't throwing the error is the 3.19 which is an experimental/beta release. Will attach my test case.

        Show
        Arran Mccullough added a comment - I'm now seeing the 'this.each is not a function' error using the 3.17 version as well. So far the only version that isn't throwing the error is the 3.19 which is an experimental/beta release. Will attach my test case.
        Hide
        Arran Mccullough added a comment -

        Attached test case. The icefaces, ace, and compat jars need to be added into the war file to run.

        Steps:

        • Load welcomeICEfaces.jsf with the browser console shown.
        • The JavaScript error is thrown on page load.
        Show
        Arran Mccullough added a comment - Attached test case. The icefaces, ace, and compat jars need to be added into the war file to run. Steps: Load welcomeICEfaces.jsf with the browser console shown. The JavaScript error is thrown on page load.
        Hide
        Mircea Toma added a comment -

        Renamed 'map' and 'collect' functions in Prototype's Enumerable class to avoid overwriting the functions with the same name that Gmap is defining.

        Show
        Mircea Toma added a comment - Renamed 'map' and 'collect' functions in Prototype's Enumerable class to avoid overwriting the functions with the same name that Gmap is defining.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces EE-3.3.0 GA maintenance branch r44228, Tomcat 7, IE 11, FF 34, Chrome 41, using component-showcase as well as the attached test case.

        Show
        Liana Munroe added a comment - Verified ICEfaces EE-3.3.0 GA maintenance branch r44228, Tomcat 7, IE 11, FF 34, Chrome 41, using component-showcase as well as the attached test case.
        Hide
        Ken Fyten added a comment -

        Re-open to apply the fix to the IF EE 1.8 repo.

        Show
        Ken Fyten added a comment - Re-open to apply the fix to the IF EE 1.8 repo.
        Hide
        Mircea Toma added a comment -

        Applied fix to 1.8 branch.

        Show
        Mircea Toma added a comment - Applied fix to 1.8 branch.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces EE 1.8 r44262 using component-showcase (facelets, facelets-enh and jsp) Tomcat 7, IE 11, 10, 9, 8, FF 34, Chrome 41

        Show
        Liana Munroe added a comment - Verified ICEfaces EE 1.8 r44262 using component-showcase (facelets, facelets-enh and jsp) Tomcat 7, IE 11, 10, 9, 8, FF 34, Chrome 41

          People

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

            Dates

            • Created:
              Updated:
              Resolved: