Skip to content

Commit

Permalink
ensure to split comma-separated strings, re #11597
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Nov 26, 2024
1 parent 2e89cf5 commit 422c272
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arches/app/datatypes/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2261,7 +2261,8 @@ def transform_value_for_tile(self, value, **kwargs):
converted_value = False

if converted_value is False and value != "":
converted_value = value # is a string, likely legacyid
converted_value = value.split(",") # is a string, likely legacyid
converted_value = [val.strip() for val in converted_value if val]
elif converted_value is False:
logger.warning("ResourceInstanceDataType: value is empty")
return []
Expand Down

0 comments on commit 422c272

Please sign in to comment.