UniversityOfHelsinkiCS / labtool

A tool for grading programming projects
GNU General Public License v3.0
1 stars 4 forks source link

Internal server error when copying and saving checklists from another week or course #1060

Closed Mamelukki closed 4 years ago

Mamelukki commented 4 years ago

Copying an existing checklist from another week or course and saving it causes an internal server error

hisahi commented 4 years ago

This seemingly only affects the test data and is likely caused by either a bug in Sequelize or postgres with auto-increment of IDs not working correctly, causing conflicts whenever any new items are added, which lead to primary key constraint failures, which lead to the error discussed here

hisahi commented 4 years ago

Fixed in #1059