Answer weights not copied properly from blueprints
Author: greg-finleyCreated Oct 1, 2020Updated Sep 17, 2026
LabelsNo Activity
Summary:
In a course blueprint, I could set two answers as correct (weight 100):
"answers": [
{
"weight": 100,
"migration_id": "RESPONSE_5438",
"id": 5438,
"text": "3"
},
{
"weight": 100,
"migration_id": "RESPONSE_2738",
"id": 2738,
"text": "2"
},
{
"weight": 0,
"migration_id": "RESPONSE_3408",
"id": 3408,
"text": "1"
}
],When cloning this blueprint to a new course, one of the correct answers is now a wrong answer (in this case, second answer).
"answers": [
{
"weight": 100,
"migration_id": "RESPONSE_5438",
"id": 5438,
"text": "3"
},
{
"weight": 0,
"migration_id": "RESPONSE_2738",
"id": 2738,
"text": "2"
},
{
"weight": 0,
"migration_id": "RESPONSE_3408",
"id": 3408,
"text": "1"
}
],Steps to reproduce:
- Make a course blueprint.
- Make a quiz and make a question that has answers such that more than one answer has weight 100.
- Make a new course and
Import Existing Content - Look for that same question in the new course.
Expected behavior:
The question in the new course should have answers marked 100 weight the same as in the blueprint.
Actual behavior:
The question in the new course only has one answer marked as 100.
Additional notes:
Source: instructure/canvas-lms