Jump to:
| Project: | Addresses |
| Version: | 6.x-1.10 |
| Component: | Code, Phone/Fax |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I have added an Address field to my Profile content type and set the visibility of the Phone and Fax fields to Normal. I have also added [addresses_phone_hcard] and [addresses_fax_hcard] to the default address format in the Addresses module configuration. I have not made any changes to the address formats for specific countries.
When a user chooses 'Canada' or 'United States' as their country the phone and fax numbers display properly in their profile. However, for some other countries (e.g. New Zealand, Germany, Italy, and Denmark) the phone and fax numbers do not display. If I add [addresses_phone_hcard] and [addresses_fax_hcard] to address formats for those countries specifically the phone and fax numbers display properly. I have tried resetting the configuration to defaults and modifying the default address format again, but I get the same results.
The [addresses_phone_hcard] and [addresses_fax_hcard] fields specified in the default address format should display no matter which country the user selects (since I have not made any changes to the formatting for any specific country).
Comments
#1
This is indeed an evil bug. Took me an hour to track the behaviour down. Also, it seems the the format settings do get saved in the variables table. So even if you change the country file later it has no effect unless you also delete the format definition from the variables table manually.