ICEfaces
  1. ICEfaces
  2. ICE-10208

ace:gMap QA test application failures

    Details

    • Assignee Priority:
      P2

      Description

      In the QA test app for ace:gMap, the following tests failed:

      1) ace:gMapServices Dynamic Attribute Test (all browsers): a JS error occurs when selecting ``distance`` option in the ``name`` drop-down and enabling ``rendered``:
      IE10 & Chrome:
      Message: Unable to get property 'charAt' of undefined or null reference
      Line: 316
      Char: 249
      Code: 0
      URI: http://localhost:8080/gMap/javax.faces.resource/util/ace-components.js.jsf?ln=icefaces.ace&v=4_0_0_140829

      FF31 error:
      TypeError: c[1] is undefined
      http://localhost:8080/gMap/javax.faces.resource/util/ace-components.js.jsf?ln=icefaces.ace&v=4_0_0_140829
      Line 316

      Test page: /gMapDynServices.jsf

      2) ace:gMapMarker / ace:gMapInfoWindow Test: setting the ``rendered`` checkboxes on or off does not make the markers appear or disappear.

      Test page: /gMapMarkerInfoWindow.jsf

        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed fixes to 4.0 trunk at revision 42487.

        The error in the first issue was caused because the points weren't supplied in the test app, so a check to see if at least two points were supplied was added in order to prevent the error.

        The second issue occurred because the gmap instance needed a explicit call to remove the marker (since the gmap main object stays in memory across requests), so this call was added in an onElementRemove callback.

        Show
        Arturo Zambrano added a comment - Committed fixes to 4.0 trunk at revision 42487. The error in the first issue was caused because the points weren't supplied in the test app, so a check to see if at least two points were supplied was added in order to prevent the error. The second issue occurred because the gmap instance needed a explicit call to remove the marker (since the gmap main object stays in memory across requests), so this call was added in an onElementRemove callback.
        Hide
        Carmen Cristurean added a comment -

        Verified with IF4 trunk rev. 42487 in Firefox31.

        Show
        Carmen Cristurean added a comment - Verified with IF4 trunk rev. 42487 in Firefox31.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: