Skip to content

Fix swimlane deletion error: (bug # 197)#206

Open
noahkhomer18 wants to merge 1 commit intotaigaio:mainfrom
noahkhomer18:main
Open

Fix swimlane deletion error: (bug # 197)#206
noahkhomer18 wants to merge 1 commit intotaigaio:mainfrom
noahkhomer18:main

Conversation

@noahkhomer18
Copy link

Fixed bug #197: deleting an empty swimlane returned a 500 due to a PostgreSQL type mismatch in the bulk update during deletion (the temp VALUES table inferred tmp.sid as text while userstories_userstory.swimlane_id is integer). Changed SQL in taiga/projects/services/bulk_update_order.py (update_order_and_swimlane) to explicitly cast types: swimlane_id = tmp.sid::INTEGER and kanban_order = tmp.new_order::BIGINT. This removes reliance on type inference and resolves the crash.

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.

1 participant

Comments