You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the valueid is saved as a list even though the datatype for the node is 'concept', not 'concept-list'.
No errors or warnings are raised for this. It only gets caught on this line upstream of search_export:
File "/Users/galenmancino/repos/arches/arches/app/datatypes/concept_types.py", line 284, in get_display_value
if data[str(node.nodeid)] is None or data[str(node.nodeid)].strip() == "":
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'strip'
...because the datatype of the nodevalue is at odds with the datatype of the node.
The text was updated successfully, but these errors were encountered:
whatisgalen
changed the title
concept dt validation not working on tile.save if concept-list nodevalue mistakenly saved
concept dt validation not working on tile.save() if concept-list nodevalue mistakenly saved
Jun 25, 2024
Discovered this while working on a test for #10789,
If you notice that in this setup logic in search tests,
the
valueid
is saved as a list even though the datatype for the node is'concept'
, not'concept-list'
.No errors or warnings are raised for this. It only gets caught on this line upstream of search_export:
...because the datatype of the nodevalue is at odds with the datatype of the node.
The text was updated successfully, but these errors were encountered: