Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2.5, 2.3.2, 2.4
-
Component/s: Questions
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
Fixed Branches:MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
As part of MDL-25492 I changed question->questiontext and question->generalfeedback to be arrays when question are imported using the blackboard_six question import format.
This needed adjustments both in question/format.php and in mod/lesson/format.php (see MDL-35147)
As Eloy pointed out in MDL-35147 comments :
"But I don't think it's the correct solution. IMO the lesson importer should be receiving constant structures. And this seems a nasty exception.
And worse, I don't know which impact can have within qbanks importer, or how the hell that importer is able to handle both strings and arrays."
So this proposal is to find a way so that question object has a constant structure.
This would permit to remove nearly entirely Eloy commit http://fisheye.moodle.org/changelog/Moodle?cs=1c3b1f7aee31ef897c08d16e1e4c094a69d727d5 becaus eit would not be necessary anymore.
Attachments
Issue Links
- Discovered while testing
-
MDL-37147 Question choices html editor field ridiculously small.
-
- Closed
-
- has been marked as being related by
-
MDL-35147 Question import into lesson is broken
-
- Closed
-
-
MDL-25492 Blackboard V6+ question import is broken
-
- Closed
-
- will help resolve
-
MDL-30001 WEBCT Import does not work for 2,0
-
- Closed
-