gaiaresources / ala-citizenscience

Automatically exported from code.google.com/p/ala-citizenscience
1 stars 4 forks source link

STRING_WITH_VALID_VALUES attribute type does not properly populate the dropdown when the attribute option is missing #386

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce.

1. Create a STRING_WITH_VALID_VALUES attribute with the values 'a', 'b', 'c'.
2. Make a record and save value 'a'.
3. Edit the survey and remove the attribute option 'a'.
4. Edit the previously saved record, the dropdown will be blank instead of 
being filled with 'a'.

Instead we want to add the option 'a' to the dropdown and make sure it is 
selected.

Original issue reported on code.google.com by aaron.lo...@gmail.com on 19 Dec 2012 at 9:12

GoogleCodeExporter commented 9 years ago

Original comment by aaron.lo...@gmail.com on 8 Jan 2013 at 6:18