Brendiem / ala-citizenscience

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

Keep field names visible and editable after assigning a 'proper' species to a record. #365

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is actually harder than it sounds because we are doing it the 'right' way.

To date we have only displayed AttributeValues of a record that are linked to 
Attributes currently associated with the record. I.e., the AttributeValue must 
have an Attribute that is part of an associated Survey, TaxonGroup or 
CensusMethod.

Because removing the special 'Field Species' IndicatorSpecies, changes the 
TaxonGroup associated with the record, the AttributeValue containing the field 
name is no longer displayed or editable.

Since we now want to display AND edit all AttributeValues we need to edit the 
code that creates the FormFields in all of the forms and adjust the 
RecordDeserializer code to not only iterate through currently linked Attributes 
but ALL AttributeValues that aren't caught by the currently linked Attributes.

We will still maintain the limitation that each record can only have ONE 
AttributeValue per Attribute.

Original issue reported on code.google.com by aaron.lo...@gmail.com on 5 Nov 2012 at 3:07

GoogleCodeExporter commented 9 years ago
Decided to fix it properly. Implemented view all existing AttributeValues for a 
Record in the tracker form.

Original comment by aaron.lo...@gmail.com on 13 Nov 2012 at 7:56

GoogleCodeExporter commented 9 years ago
Approved with minor changes 

Original comment by ke...@gaiaresources.com.au on 13 Nov 2012 at 3:03

GoogleCodeExporter commented 9 years ago
We may need to do other work with the other form types...

Original comment by aaron.lo...@gmail.com on 14 Nov 2012 at 9:28