THCLab / oca-parser-xls

European Union Public License 1.2
1 stars 2 forks source link

Bug: Error Occurs in Data Entry Excel File with Array Attributes and Entry Code #6

Open xxu-mzwyt opened 1 year ago

xxu-mzwyt commented 1 year ago

Bug found while using OCA Browser:

Whenever an attribute with "CB-AT: Attribute Type" of any type of array is given Entry Codes, errors occur in the generated Excel Data Entry file.

An unexpected drop-down list with entry codes appears, which should be the choices of elements in the array, instead of the value of the whole attribute. image

If one manually disables the data validation alerts and inputs a JSON array, it will be incorrectly parsed in the schema conformant data tab. image

Excel Template: template.xlsx Generated Bundle: 365fb0cd41f07c35f217dd112a99a4af.zip Data Entry Excel sheet with errors: 365fb0cd41f07c35f217dd112a99a4af-data_entry.xlsx