Closed (fixed)
Project:
Spanish address field
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2011 at 21:12 UTC
Updated:
25 Jan 2012 at 16:00 UTC
Jump to comment: Most recent file
Hi pcambra, thanks for this module!
It seems that the field values are not saved when enabling this sandbox module, I'm using the latest version of addressfield (7.x-1.0-beta2). I have preselected Spain as the only valid country, but I guess this shouldn't affect. Any idea?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | required_administrative_area-1256258.patch | 1.31 KB | facine |
| #3 | 1356258_spanish_address_field_save_problem.patch | 1.28 KB | facine |
Comments
Comment #1
facine commentedWith addressfield dev version saves all values except: postal_code, city and province.
I think is problem os addressfield module.
Comment #2
muschpusch commentedYou have to remove one dimension of the array:
['locality_block']
Than it works....
Comment #3
facine commentedThis patch only works in addressfield -dev
Comment #4
muschpusch commentedThanks for the patch i was to busy to create one myself. Sorry for that. the next issue you probably will have: the allowed countries aren't rendered well.
You need to pass a field_name and an instance to the get_country_list (not sure about the name) function. I already looked up the function than i realized that my update to commerce 1.1 broke seven sites and i need to fix it now :(
http://api.drupal.org/api/drupal/modules--field--field.info.inc/function...
Comment #5
facine commentedAdd required to administrative_area
Comment #6
facine commentedPatched
Comment #7
facine commented