Skip to content

Bugfix: copy attribute with multi select#996

Open
kalisp wants to merge 4 commits into
developfrom
bugfix/YN-0872_attribute_multi_select
Open

Bugfix: copy attribute with multi select#996
kalisp wants to merge 4 commits into
developfrom
bugfix/YN-0872_attribute_multi_select

Conversation

@kalisp

@kalisp kalisp commented Jun 26, 2026

Copy link
Copy Markdown
Member

Description of changes

Without this PR Attributes set as Multi-Select couldn't be imported.

Technical details

The error would be:

attrib -> reel
  value is not a valid list (type=type_error.list)

kalisp added 3 commits June 26, 2026 11:18
Pydantic is supposed to not really like ModelField name with '.'. This is why attribute have it in alias
@kalisp kalisp self-assigned this Jun 26, 2026
@martastain

Copy link
Copy Markdown
Member

That error you are mentioning is correct. In the instance this attribute is used, it is misconfigured and exects a list. so the import should fail for simple strings. i am missing something?

@kalisp kalisp marked this pull request as draft June 26, 2026 10:57
Without this any attribute update on folder/task would require adding correct folder_type or task_type
@kalisp

kalisp commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

Ordinary multi-selects couldnt be imported before as it was pulling wrong data type (str instead of list_of_strings)

@kalisp kalisp marked this pull request as ready for review June 26, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants