ICEfaces
  1. ICEfaces
  2. ICE-10660

ace:showcase gMap demos SyntaxError: missing ) after argument list

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: EE-3.3.0.GA_P03, 4.1
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Tomcat 7, ICEfaces EE-3.3.0.GA_P03 tag r44581. All browsers.
    • Assignee Priority:
      P2

      Description

      The following gMap demos fail:
      1.) gMap > Directions:
      When first navigating to this demo it is not functional and the following console error appears:
      SyntaxError: missing ) after argument list
      ...Directions','Regent's Park, London: Kingston upon Thames','travelMode:'DRIVING'
      http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=mapBean
      Line 0

      2.) gMap > Google Events:
      When first navigating to this demo it is not functional and the following console errors appear:
      SyntaxError: missing ) after argument list
      ..Options({fillColor:'red'}); else if(component.getRadius()<375000)component.setO
      http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=mapBean
      Line 0
      SyntaxError: missing ) after argument list
      ntRenderer','alert('InfoWindow was closed. Please click on the marker to reopen
      http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=mapBean
      Line 0
      SyntaxError: missing ) after argument list
      http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=mapBean
      Line 0

      3.) gMap > Map Markers:
      When first navigating to this demo it is not functional and the following console error appears:
      SyntaxError: missing ) after argument list
      ...','marker1','0.0','0.0','title:'Hover mouse over this marker to see title'');})
      http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=mapBean
      Line 0

      4.) gMap > Overlays:
      When first navigating to this demo it is not functional and the following console error appears:
      SyntaxError: missing ) after argument list
      ....olygon','(0,0):(30,20):(0,40)','editable:true, strokeColor:'navy'');});
      http://localhost:8080/showcase/showcase.jsf?grp=aceMenu&exp=mapBean
      Line 0

        Activity

        Hide
        Arturo Zambrano added a comment - - edited

        Committed fix to the 3.3 ee maintenance branch at revision 44596 and to the P03 tag at revision 44597. Added single quote case to escaping method in JSONBuilder class.

        Show
        Arturo Zambrano added a comment - - edited Committed fix to the 3.3 ee maintenance branch at revision 44596 and to the P03 tag at revision 44597. Added single quote case to escaping method in JSONBuilder class.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces EE-3.3.0.GA_P03 Jenkins Build 02, Tomcat 7, IE 11, 10, 9, 8, 7, FF 34, Chrome 42.

        Show
        Liana Munroe added a comment - Verified ICEfaces EE-3.3.0.GA_P03 Jenkins Build 02, Tomcat 7, IE 11, 10, 9, 8, 7, FF 34, Chrome 42.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: