BUG? not able to update course if question type changes
KlavsKlavsen opened this issue · comments
Klavs Klavsen commented
I changed my question from MultipleChoiceQuestion to ChoiceQuestion - and when I try to update I get this error:
Course content did not validate successfully: 'flows/logic-quiz.yml, group 'quiz_start', page 'q1': page type ('ChoiceQuestion') differs from type used in database ('MultipleChoiceQuestion')' Update not applied.
Klavs Klavsen commented
and if I delete course and re-create - it complains that the git checkout already exists.. so I have no choice than to go mess on the filesystem to fix it :(
Andreas Klöckner commented
Working as designed. You need to change the question ID if you change the type. I agree that the message isn't actionable. See #928 for a fix of that.