ICEfaces
  1. ICEfaces
  2. ICE-8943

ICEfaces Showcase - ace:gMap Overview demo sporadic errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 3.2, ICEfaces Showcase, ace:gMap Overview demo, Safari and Chrome.
    • Assignee Priority:
      P2
    • Affects:
      Sample App./Tutorial

      Description

      Sporadically when initially viewing the ace:gMap Overview demo in the showcase demo an error will popup over the map:

      "Geocode was not successful for the following reason: ERROR"

      It appears that normally the map initially renders over Europe, and then something (the Address field with "Calgary, AB" in it?) makes it navigate immediately to Alberta with Calgary centred.

      However, when it fails the map stays centred on Europe and the error appears, so it looks like that step that tries to position it over Calgary is failing.

      This seems to happen occasionally upon initial load of the gmap demo in Safari and Chrome, and not every time. Once it loads successfully it doesn't seem to fail again.



        Activity

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Affects Sample App./Tutorial [ 10001 ]
        Assignee Priority P2 [ 10011 ]
        Hide
        Ken Fyten added a comment -

        Attached screen shot showing the map and error dialog.

        Show
        Ken Fyten added a comment - Attached screen shot showing the map and error dialog.
        Ken Fyten made changes -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33970 Tue Mar 19 09:51:14 MDT 2013 art.zambrano ICE-8943 multiple fixes: render 'address' value in input field instead of keeping it hidden; do not hard-code client id of autocomplete input field in the renderer and javsscript code; appended places library to gmap api resources URL to save the developer from doing so in web.xml; improved tlddoc explanation of some properties; set default value of 'link' property to avoid issues in portlets; made component work when pressing enter and not just when selecting a value from the list; avoided double submission when pressing enter
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapAutocompleteRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapAutocompleteMeta.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/gmap/GMapResourceHandler.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/gmap/gmap.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33972 Tue Mar 19 10:05:07 MDT 2013 art.zambrano ICE-8943 improved geocoder error messages to be more descriptive
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/gmap/gmap.js
        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 33972.

        These errors are errors that happen with gmaps and/or with the google servers. In the case of 'ERROR', it means that there was a problem contacting the Google servers, and that's beyond our reach. So, I made all these error messages more descriptive, based on the explanations given in this part of the API:
        https://developers.google.com/maps/documentation/javascript/reference#GeocoderStatus

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 33972. These errors are errors that happen with gmaps and/or with the google servers. In the case of 'ERROR', it means that there was a problem contacting the Google servers, and that's beyond our reach. So, I made all these error messages more descriptive, based on the explanations given in this part of the API: https://developers.google.com/maps/documentation/javascript/reference#GeocoderStatus
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: