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

Lesson essays "disappear" if new attempt after exiting

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.4.7, 2.5.3, 2.6, FRONTEND
    • Lesson
    • None
    • MOODLE_24_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Hide

      Have 2 browsers for teacher and student.

      1. Create a lesson with re-takes allowed and maximum number of attempts is 2.
      2. Create 2 essay questions.
      3. As student, submit an answer ("answer essay 1"), which will took the student to the next page.
      4. As teacher, go to 'grade essays' page. It should only display the student's name with no essay to click on
      5. As student, submit an answer for the second essay question ("answer essay 2"). I will go to the end of lesson page.
      6. As teacher, refresh the 'grade essay' page and make sure there are 2 essay responses.
      7. As student, re-attempt the lesson.
      8. Submit new answer for the question.
      9. Do not answer the second question. Go to other page. such as: site/course page.
      10. As teacher, the 'grade essay' page should only displaying 2 responses from the first attempt.
      11. As student, go back to the lesson and select 'yes' to return to the last viewed page.
      12. Submit an answer for the second essay question. It should direct the student to the end of lesson.
      13. as teacher, the 'grade essay' page should displaying 4 responses. (2 for each attempts).
      Show
      Have 2 browsers for teacher and student. Create a lesson with re-takes allowed and maximum number of attempts is 2. Create 2 essay questions. As student, submit an answer ("answer essay 1"), which will took the student to the next page. As teacher, go to 'grade essays' page. It should only display the student's name with no essay to click on As student, submit an answer for the second essay question ("answer essay 2"). I will go to the end of lesson page. As teacher, refresh the 'grade essay' page and make sure there are 2 essay responses. As student, re-attempt the lesson. Submit new answer for the question. Do not answer the second question. Go to other page. such as: site/course page. As teacher, the 'grade essay' page should only displaying 2 responses from the first attempt. As student, go back to the lesson and select 'yes' to return to the last viewed page. Submit an answer for the second essay question. It should direct the student to the end of lesson. as teacher, the 'grade essay' page should displaying 4 responses. (2 for each attempts).
    • 8
    • FRONTEND Sprint 6

    Description

      See this discussion: https://moodle.org/mod/forum/discuss.php?d=225141

      Diagnostic.-
      When a student exits a Lesson before reaching the last page, upon resuming that lesson they are offered a choice:

      You have seen more than one page of this lesson already.
      Do you want to start at the last page you saw?

      Unfortunately, in some cases the system to "goto last Unseen page" does not work as expected, which causes problems especially with Essays.

      Due to the complicated nature of the Lesson settings and flow, it is rather difficult to describe and reproduce the bug, but the patch I am attaching seems to resolve the issue, after thorough testing. The bug concerns all moodle 2 versions. Patch tested against current moodle 2.4 version only.

      Joseph

      Attachments

        Issue Links

          Activity

            People

              rwijaya Rossiani Wijaya
              rezeau Joseph Rézeau
              Ankit Agarwal Ankit Agarwal
              Marina Glancy Marina Glancy
              Rajesh Taneja Rajesh Taneja
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Nov/13