Subject of the issue
The default course uses the older style of _feedback configuration. This should be updated to match the newer expanded format introduced in Core 6.20.5 / FW 5.22.8.
‼️ IMPORTANT: The related PR should not be merged until the question schemas/migration scripts have been updated to reflect the new feedback format.
Old format:
|
"_feedback": { |
|
"title": "Feedback", |
|
"altTitle": "", |
|
"correct": "Correct feedback text.<br><br>That’s correct. The first large assessment to consist solely of the multiple choice question type was the Army Alpha test, used from <strong>1917</strong> to evaluate U.S. military recruits in the First World War.<br><br>Source: <a href='http://en.wikipedia.org/wiki/Multiple_choice' target='_blank'>Wikipedia</a><br><br><i>Component facts: <b>Multiple Choice Questions (or MCQs)</b> are a tried and tested method for presenting learners with a simple text-based question. Component is either single or spanned.</i>", |
|
"_incorrect": { |
|
"notFinal": "", |
|
"final": "Incorrect feedback text.<br><br>That’s not right. The first large assessment to consist solely of the multiple choice question type was the Army Alpha test, used from <strong>1917</strong> to evaluate U.S. military recruits in the First World War.<br><br>Source: <a href='http://en.wikipedia.org/wiki/Multiple_choice' target='_blank'>Wikipedia</a><br><br><i>Component facts: <b>Multiple Choice Questions (or MCQs)</b> are a tried and tested method for presenting learners with a simple text-based question. Component is either single or spanned.</i>" |
|
}, |
|
"_partlyCorrect": { |
|
"notFinal": "", |
|
"final": "" |
|
} |
|
}, |
|
"_pageLevelProgress": { |
Newer format:
PR: adaptlearning/adapt-contrib-core#223
At _feedback._correct, _feedback._partlyCorrectNotFinal, _feedback._partlyCorrectFinal, _feedback._incorrectNotFinal, _feedback._incorrectFinal and for _items[].feedback
Use the object:
{
"altTitle": "",
"title": "",
"body": "",
"_classes": "",
"_imageAlignment": "left",
"_graphic": {
"_src": "",
"alt": "",
"attribution": ""
}
}
Subject of the issue
The default course uses the older style of
_feedbackconfiguration. This should be updated to match the newer expanded format introduced in Core 6.20.5 / FW 5.22.8.Old format:
adapt_framework/src/course/en/components.json
Lines 401 to 414 in d68dd7d
Newer format:
PR: adaptlearning/adapt-contrib-core#223
At
_feedback._correct,_feedback._partlyCorrectNotFinal,_feedback._partlyCorrectFinal,_feedback._incorrectNotFinal,_feedback._incorrectFinaland for_items[].feedbackUse the object:
{ "altTitle": "", "title": "", "body": "", "_classes": "", "_imageAlignment": "left", "_graphic": { "_src": "", "alt": "", "attribution": "" } }