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

Quiz previews need to be updated somehow when a question is edited

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Future Dev
    • Questions, Quiz

      Changes made to questions when previewing and reviewing the quiz{}

      Expected

      Minor changes (e.g. fixing typos or spelling mistakes) to quiz questions are displayed immediately after "Save changes" or "Save changes and continue editing", when editing a question.

      Major changes to quiz questions (e.g. change in the number of cloze questions or change in the number of multiple choice options) are displayed when clicking "Start a new preview" (when the Quiz has no attempts).

       

      Actual (1)

      Changes made are not immediately displayed.

      To replicate

      1. preview the quiz;
      2. edit the question;
      3. click "Save changes" or "Save changes and continue editing"
      4. return to the quiz preview

      At this stage I expect the saved changes to be displayed in the preview of the quiz.

       

      Actual (2)

      Additional changes are displayed; initial changes do not display.

      To replicate, using the not-ideal current workflow/workaround (detailed further below)

      1. preview the quiz;
      2. edit the question;
      3. click "Save changes" or "Save changes and continue editing"
      4. return to the quiz preview
      5. realise you need to make more changes to the question
      6. edit the question;
      7. click "Save changes" or "Save changes and continue editing"
      8. return to the quiz preview

      At this stage I expect the first and second saved changes to be displayed in the preview of the quiz. Neither are displayed until I follow the current workflow (below), and then only the most recent changes (in this case, second set of changes) are displayed.

       

      Current workflow (not ideal)

      To see changes to the question when editing within an open (preview) quiz, as Site Administrator (with no other role in the course) I need to:

      1. preview the quiz;
      2. edit the question;
      3. click "Save changes" or "Save changes and continue editing";
      4. return to the quiz preview;
      5. click "Finish attempt";
      6. then click "Submit all and finish";
      7. and then click "Start a new preview". 

      Only then do I see the changes I made the the question.

       

      Changes to questions made within the question bank

      • are displayed when accessing the question from the question bank (this is expected);
      • are not displayed when previewing the quiz and there is no option to start a new preview until after you enter the quiz (it is expected is to have an option to start a new preview, or for the new preview to be default);
      • are displayed when you start a new preview from within the quiz. Unlike changes made when accessing the question-edit screen from within the quiz, you do not need to "Finish attempt", etc.

       

      This is also discussed in Moodle Forums in English here: https://moodle.org/mod/forum/discuss.php?d=438090#p1764685

       

      This was experienced on Moodlecloud 4.0.1

      Is this just simply a caching issue? If yes, how can I manage this in Moodlecloud?

            Unassigned Unassigned
            tish Tish Kirkland
            Votes:
            9 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved:

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