Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P02, 4.0
-
Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #13359 - https://icesoft.my.salesforce.com/50070000014yJPK
Description
This issue can be reproduced with the Showcase ace:gMapAutocomplete demo.
Steps:
- Enter "Vallières" in the Location field.
- From the suggested addresses list, select "Vallières / Saint-Martin [46057], Laval, QC".
- The Location field value immediately becomes "Canada".
Steps:
- Enter "Vallières" in the Location field.
- From the suggested addresses list, select "Vallières / Saint-Martin [46057], Laval, QC".
- The Location field value immediately becomes "Canada".
This seems to be an issue with the Google Maps data for this specific location. Our code works normally for this result as for other results that don't present this issue. The code path is the same. The problem occurs in the event listener that we register for the 'place_changed' event in the autocomplete functionality of Google Maps. The 'place' object received in the event listener simply contains 'Canada' in its 'formatted_address' property, instead of the full location that was selected.