Describe the bug
Can no longer add storage location
To Reproduce
Steps to reproduce the behavior:
Start the digitization app
Start entering a storage location and choose one from autosuggest
An error message is shown
Expected behavior
The storage location is selected, its name added to the input field and its full name including parentage to the adjacent label field.
Screenshots
Please complete the following information:
version: 1.1.22
behavior in the database: Cannot persist
specify relation information: None of relevance
Additional context
The cause of the error lies the way the autosuggest logic is structured by intertwining both taxon name and storage location. The error occurs when table fields are attempted to be accessed that are specific to the taxon name, namely 'dwcid', 'dasscoid' (and possibly others as well). The logic needs to be restructured to avoid this situation.
Describe the bug Can no longer add storage location
To Reproduce Steps to reproduce the behavior:
Expected behavior The storage location is selected, its name added to the input field and its full name including parentage to the adjacent label field.
Screenshots![image](https://github.com/NHMDenmark/Mass-Digitizer/assets/10909008/596dc68f-0d3d-402e-9556-323db0c5936e)
Please complete the following information:
Additional context The cause of the error lies the way the autosuggest logic is structured by intertwining both taxon name and storage location. The error occurs when table fields are attempted to be accessed that are specific to the taxon name, namely 'dwcid', 'dasscoid' (and possibly others as well). The logic needs to be restructured to avoid this situation.