inducer / relate

RELATE is an Environment for Learning And TEaching

Home Page:http://documen.tician.de/relate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG? not able to update course if question type changes

KlavsKlavsen opened this issue · comments

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. 

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 :(

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.