ucsd-ccbb / qiimp

Web application to collect metadata specifications from an experimenter and produce metadata input files with appropriate constraints
3 stars 7 forks source link

Uploading file that contains datetime category causes validation error that units must be entered #97

Closed adswafford closed 6 years ago

adswafford commented 6 years ago

Original title: Issues appear when submitting form based on uploaded file that contains datetime category

When uploading a file with a datetime category (attached), two issues appeared: 1) Error with allowed missing value default; appears to be related to the fact that the "not collected" checkbox is checked but not selectable from the "allowed missing value default" listbox. Unchecking and checking the 'missing: not collected" box and reselecting it from the list box 2) the form gives an error that the units need to be set for the datetime, fixable by selecting something other than datetime and then reselecting it.

AmandaBirmingham commented 6 years ago

The first item listed here is yet another manifestation of issue #91; therefore name has been changed to reflect only second issue

AmandaBirmingham commented 6 years ago

@adswafford Interestingly, once I fixed #91, it appears that the form validation error about units being required for a datetime also went away. I have deployed the fix for #91 to the public installation, and can now no longer reproduce this bug there. Therefore I am tentatively closing this issue, BUT if you can reproduce the bug or see it pop up in a different context, go ahead and re-open!