NCEAS / morpho

Morpho metadata editor
GNU General Public License v2.0
3 stars 1 forks source link

Morpho does not correctly handle enumerated codes with additional free text #1067

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: ben leinfelder (ben leinfelder) Original Redmine Issue: 7054, https://projects.ecoinformatics.org/ecoinfo/issues/7054 Original Date: 2016-07-11 Original Assignee: ben leinfelder


When defining Attribute/columns as unordered, enumerated values with codes: When I select the checkbox "Attribute contains free-text in addition to those values listed above" and check back on the column later, the window that pops up when I select "edit column description" is the Morpho Editor interface instead of the "Define Attribute/Column" interface.

mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2016-07-11T23:07:34Z


For some reason we were adding a "pattern" element when the checkbox was selected but were not handling the element when returning to the form. I have removed the pattern element. //returnMap.put(xPathRoot + "textDomain[1]/pattern[1]", ".*");