Issue Details (XML | Word | Printable)

Key: MDL-15102
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Nicolas Connault
Reporter: Petr Skoda
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-15094

question code dml conversion

Created: 03/Jun/08 06:44 AM   Updated: 10/Jun/08 11:26 PM
Return to search
Component/s: Questions
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Nicolas Connault, Petr Skoda and Pierre Pichet
Security Level: None
QA Assignee: Petr Skoda
Resolved date: 08/Jun/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Nicolas Connault made changes - 06/Jun/08 01:26 PM
Field Original Value New Value
Assignee Nobody [ nobody ] Nicolas Connault [ nicolasconnault ]
Nicolas Connault added a comment - 06/Jun/08 02:03 PM - edited
.

Nicolas Connault made changes - 06/Jun/08 10:42 PM
Status Open [ 1 ] In Progress [ 3 ]
Nicolas Connault committed 35 files to 'Moodle CVS' - 06/Jun/08 10:43 PM
MDL-15102 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
MODIFY question/format/examview/format.php   Rev. 1.11    (+28 -28 lines)
MODIFY question/type/edit_question_form.php   Rev. 1.16    (+9 -9 lines)
MODIFY question/type/numerical/questiontype.php   Rev. 1.23    (+37 -34 lines)
MODIFY question/type/truefalse/questiontype.php   Rev. 1.21    (+18 -14 lines)
MODIFY question/type/calculated/questiontype.php   Rev. 1.36    (+130 -129 lines)
MODIFY question/format.php   Rev. 1.43    (+12 -10 lines)
MODIFY question/contextmove.php   Rev. 1.11    (+11 -7 lines)
MODIFY question/type/datasetdependent/Attic/datasetitems_form.php   Rev. 1.13    (+13 -13 lines)
MODIFY question/type/randomsamatch/questiontype.php   Rev. 1.7    (+24 -17 lines)
MODIFY lib/simpletestlib/errors.php   Rev. 1.3    (+6 -2 lines)
MODIFY question/format/coursetestmanager/Attic/format.php   Rev. 1.17    (+16 -17 lines)
MODIFY question/preview.php   Rev. 1.28    (+6 -7 lines)
MODIFY question/format/qti2/Attic/format.php   Rev. 1.15    (+184 -184 lines)
MODIFY question/type/multianswer/edit_multianswer_form.php   Rev. 1.16    (+42 -41 lines)
MODIFY question/upgrade.php   Rev. 1.16    (+2 -3 lines)
MODIFY question/category.php   Rev. 1.29    (+4 -4 lines)
MODIFY question/type/questiontype.php   Rev. 1.85    (+31 -29 lines)
MODIFY question/editlib.php   Rev. 1.88    (+39 -35 lines)
MODIFY question/restorelib.php   Rev. 1.39    (+8 -9 lines)
MODIFY question/export.php   Rev. 1.46    (+2 -2 lines)
MODIFY question/type/random/questiontype.php   Rev. 1.18    (+21 -20 lines)
MODIFY question/question.php   Rev. 1.52    (+3 -3 lines)
MODIFY question/category_form.php   Rev. 1.5    (+6 -2 lines)
MODIFY question/category_class.php   Rev. 1.41    (+62 -51 lines)
MODIFY question/type/datasetdependent/Attic/abstractqtype.php   Rev. 1.22    (+76 -93 lines)
MODIFY question/file.php   Rev. 1.8    (+1 -1 lines)
MODIFY question/type/shortanswer/questiontype.php   Rev. 1.26    (+16 -13 lines)
MODIFY question/type/multichoice/questiontype.php   Rev. 1.35    (+25 -21 lines)
MODIFY question/type/randomsamatch/edit_randomsamatch_form.php   Rev. 1.8    (+5 -5 lines)
MODIFY question/backuplib.php   Rev. 1.20    (+13 -10 lines)
MODIFY question/import.php   Rev. 1.49    (+2 -2 lines)
MODIFY question/type/multianswer/questiontype.php   Rev. 1.55    (+35 -32 lines)
MODIFY question/type/essay/questiontype.php   Rev. 1.25    (+5 -4 lines)
MODIFY question/contextmoveq.php   Rev. 1.10    (+3 -2 lines)
MODIFY question/type/match/questiontype.php   Rev. 1.38    (+31 -24 lines)
pichetp committed 1 file to 'Moodle CVS' - 07/Jun/08 08:28 PM
MDL-15102 $questionid is the id so array($questionid) line 337
MODIFY question/type/datasetdependent/Attic/abstractqtype.php   Rev. 1.23    (+2 -2 lines)
Pierre Pichet added a comment - 07/Jun/08 09:46 PM
Nicolas,
Thanks for your very productive work!!
After change for $questionid, the code seems oK for creating new or save as new and preview calculated questions.
Will look more closely on category datasets later.

Nicolas Connault made changes - 08/Jun/08 01:27 PM
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Petr Skoda committed 1 file to 'Moodle CVS' - 09/Jun/08 08:16 PM
MDL-15102 dml converted questionlib
MODIFY lib/questionlib.php   Rev. 1.135    (+133 -114 lines)
Petr Skoda made changes - 10/Jun/08 11:26 PM
QA Assignee skodak
Status Resolved [ 5 ] Closed [ 6 ]
Jamie Pratt committed 2 files to 'Moodle CVS' - 14/Jul/08 02:37 PM
MDL-15102 "Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing." fixing a couple of typos which were causing errors.
MODIFY question/type/random/questiontype.php   Rev. 1.21    (+2 -2 lines)
MODIFY mod/quiz/editlib.php   Rev. 1.64    (+2 -2 lines)