Hi,
I have a strange compatibility issue with the addressfield-7.x-1.0-rc1 release. Here are my findings.
Version troubleshooting
Addressfield_autocomplete 7.x-1.0-beta3 togther with addressfield-7.x-1.0-beta5
- Works as expected
Addressfield_autocomplete 7.x-1.x-dev (latest dev from git) togther with addressfield-7.x-1.0-beta5
- Works as expected
Addressfield_autocomplete 7.x-1.0-beta3 togther with addressfield-7.x-1.0-rc1
- Does not work, see further comments below
Addressfield_autocomplete 7.x-1.x-dev (latest dev from git) togther with addressfield-7.x-1.0-rc1
- Does not work, same problem as with beta3
Description of the problem
When addressfield autocomplete is used with the RC1 version of addressfield, this is what happens to me every time:
- I enter part of the address to the addressfield autocomplete search field
- I get the google responses and select desired address
- Map is updated normally, but the addressfield dynamic form does not open. Only country is visible.
The same thing happens if I immediately click the "Enter address manually" link without doing the seach.
- I can select the country, but the dynamic form is not appearing
If I disable addressfield_autocomplete, then addressfield dynamic form works normally. Hence creating this issue to addressfield_autocomplete issue queue and not to addressfield queue.
If you are not able to reproduce with this descritpion, please let me know and I can record a video or provide additional information on my setup.
Cheers,
Markus
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | After Selecting Autocomplete Suggestion.jpg | 38.91 KB | 2ndChanceTech |
| #2 | Typing In Autocomplete Field.jpg | 67.13 KB | 2ndChanceTech |
Comments
Comment #1
bverc commentedI had the same issue when I upgraded addressfield to RC1.
This is new behaviour in Addressfield caused by the field now able to be optional. It adds another Country called "-None-" causing this field to display. You can remove the country field by ticking the required field box when editing the content type.
See #968112: Allow addressfield to be optional, comment #178 onwards.
I do think a more permanent fix is necessary for this in Address Field Autocomplete, however I'm not certain how the field worked previously with more than one country chosen.
Comment #2
2ndChanceTech commentedI am having the same issue after updating to RC1 of Addressfield.
Behavior: Autocomplete field seems to be working as address is entered. Once address is clicked on it switches to show the Country field only (of the selected suggestion) and the map updates. However the entity can NOT be saved, nor can the rest of the address be seen.
If "Enter One Manually) is selected then only the Country selection is shown and the rest of the form fields do not show. If HTML5 Geocode is selected, then the Country selection is autopopulated with the proper Country, but the rest of the fields are still missing.
With Addressfield autocomplete disabled, everything works as expected.
I have attached 2 screen shots to show what happens when making a selection from the autocomplete field.
Please note I have also tried to go into previously saved entities created prior to updating and the entire address form is visible, however if hitting "Reset..." and then "Enter One Manually" the entire form shows up (as expected) for less than a second, and quickly disappears showing only the country field as mentioned previously, continues with all the same issues.
I have changed this to Major as it is no longer compatible with the latest most stable release of Addressfield. And without being able to save an entity,enter the address manually, or see the entire form after selection this module is not usable. Welcome to change it back if I was wrong in doing so.
Comment #4
adammitchell commentedHi all,
Thank you for bringing this to my attention. I have put a fix in for this and released it into beta4 as well as dev. This seems to fix all the issues that I was encountering; if you find anymore do not hesitate to put in another issue request.
Thanks,
Adam