Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43670

Rename columns of quiz_question_instances to match coding guidelines

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7
    • 2.6.1
    • Quiz
    • MOODLE_26_STABLE
    • MOODLE_27_STABLE
    • Hide
      1. Grep the code for quiz_question_instances, and ensure that all references to the columns of that table have been updated. (Really, this is a job for the peer reviewer, not the tester.)
      2. Read mod/quiz/upgrade.txt and verify that the new bit is intelligible.
      3. Verify that the upgrade completes without errors.
      4. Create a question, setting the default mark to something distinctive like 13.
      5. Add that question to a quiz, verifying that the max mark for the question in the quiz gets set to that default mark.
      6. Add some random questions to the quiz, and verify that gives no errors.
      7. Edit the max mark for a question, and verify that it gets saved and re-displayed properly. Also verify that the 'Total of marks:' at the top of the page has been updated correctly.
      8. Attemt the quiz as a student, and verify that the max mark for each question in the quiz attempt matches what you set on the Edit quiz page.
      9. As teacher, view all the quiz reports, and verify that the max mark for each question is correct.
      10. Remove that quesion from the quiz. (If you can be bothered, verify that the corresponding quiz_question_instances row has been deleted from the DB.)
      11. Delete a quiz with questoins. Verify that all the quiz_question_instances rows for that quiz have been deleted.
      12. Find a course or quiz in a Moodle 2.x install (x <= 6). Set the question max marks to distinctive values. Backup that course/quiz, and restore it into your master install. Verify that there are no errors, and the question max marks are transferred accurately.
      13. The same, but backing up and restoring a quiz from Moodle 1.9.
      14. Create a multianswer (Cloze) question.
      15. Add it to one or more quizzes, and attempt those quizzes a few times as students, noting how many times.
      16. Then edit thant question and verify that on the editing form it tells you how many times those questions have been used.
      17. Create two calculated questions using the same shared datasets.
      18. Add them both to various quizzes, and attept those quizzes as students.
      19. Re-edit the calculated question, and on the third page of the wizard, veriy that it tells you how many times those questions have been used.
      Show
      Grep the code for quiz_question_instances, and ensure that all references to the columns of that table have been updated. (Really, this is a job for the peer reviewer, not the tester.) Read mod/quiz/upgrade.txt and verify that the new bit is intelligible. Verify that the upgrade completes without errors. Create a question, setting the default mark to something distinctive like 13. Add that question to a quiz, verifying that the max mark for the question in the quiz gets set to that default mark. Add some random questions to the quiz, and verify that gives no errors. Edit the max mark for a question, and verify that it gets saved and re-displayed properly. Also verify that the 'Total of marks:' at the top of the page has been updated correctly. Attemt the quiz as a student, and verify that the max mark for each question in the quiz attempt matches what you set on the Edit quiz page. As teacher, view all the quiz reports, and verify that the max mark for each question is correct. Remove that quesion from the quiz. (If you can be bothered, verify that the corresponding quiz_question_instances row has been deleted from the DB.) Delete a quiz with questoins. Verify that all the quiz_question_instances rows for that quiz have been deleted. Find a course or quiz in a Moodle 2.x install (x <= 6). Set the question max marks to distinctive values. Backup that course/quiz, and restore it into your master install. Verify that there are no errors, and the question max marks are transferred accurately. The same, but backing up and restoring a quiz from Moodle 1.9. Create a multianswer (Cloze) question. Add it to one or more quizzes, and attempt those quizzes a few times as students, noting how many times. Then edit thant question and verify that on the editing form it tells you how many times those questions have been used. Create two calculated questions using the same shared datasets. Add them both to various quizzes, and attept those quizzes as students. Re-edit the calculated question, and on the third page of the wizard, veriy that it tells you how many times those questions have been used.

      We should rename

            timhunt Tim Hunt
            timhunt Tim Hunt
            Mahmoud Kassaei Mahmoud Kassaei
            Dan Poltawski Dan Poltawski
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.