Moodle
  1. Moodle
  2. MDL-34252

qeupgradehelper - quiz cycles between ''reset attempts' and 'convert attempts'

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.3, 2.3.1
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_23_STABLE
    • Rank:
      42601

      Description

      Upgrading from Moodle 1.9.6 > 2.2 > 2.3.1.

      I have approximately 230 quizzes listed in the Question Engine Upgrade Helper which have 'attempts that you may be able to reset'.
      Resetting any one of these is reported as successful, and the assessment then appears in the 'attempts that need to be converted' list.
      Converting any one of these is reported as successful, however the quiz returns to the possible reset list.
      Repeat.

      I will attach a SQL dump of the process

      1. convert.sql
        260 kB
        Ben Steeples
      2. reset.sql
        215 kB
        Ben Steeples

        Activity

        Hide
        Ben Steeples added a comment -

        SQL dump from Reset and Convert procedure, for an assessment with 3 converted attempts and 18 question sessions.

        Show
        Ben Steeples added a comment - SQL dump from Reset and Convert procedure, for an assessment with 3 converted attempts and 18 question sessions.
        Hide
        Helen Foster added a comment -

        Ben, thanks for your report.

        Just noting that I have found exactly the same behaviour on the http://school.demo.moodle.net (upgraded from 2.0 -> 2.1 -> 2.2 -> 2.3).

        Show
        Helen Foster added a comment - Ben, thanks for your report. Just noting that I have found exactly the same behaviour on the http://school.demo.moodle.net (upgraded from 2.0 -> 2.1 -> 2.2 -> 2.3).
        Hide
        Ben Steeples added a comment - - edited

        This may also be related to:
        http://tracker.moodle.org/browse/MDL-34109
        http://tracker.moodle.org/browse/MDL-34251

        If someone could confirm whether this is a show-stopping bug, that'd be great. We're meant to be doing our Moodle upgrade on Friday, and only just realised this was a bug!

        Show
        Ben Steeples added a comment - - edited This may also be related to: http://tracker.moodle.org/browse/MDL-34109 http://tracker.moodle.org/browse/MDL-34251 If someone could confirm whether this is a show-stopping bug, that'd be great. We're meant to be doing our Moodle upgrade on Friday, and only just realised this was a bug!
        Hide
        Tim Hunt added a comment -

        That is how it is supposed to work!

        You can reset any quiz that has been converted and then re-do it, but you should only do that if you have a good reason to do so, but you don't have to.

        Show
        Tim Hunt added a comment - That is how it is supposed to work! You can reset any quiz that has been converted and then re-do it, but you should only do that if you have a good reason to do so, but you don't have to.
        Hide
        Helen Foster added a comment -

        Duh, sorry Tim. I've added a note to the docs http://docs.moodle.org/en/Question_engine_upgrade_helper so hopefully others don't report the same problem.

        Show
        Helen Foster added a comment - Duh, sorry Tim. I've added a note to the docs http://docs.moodle.org/en/Question_engine_upgrade_helper so hopefully others don't report the same problem.
        Hide
        Ben Steeples added a comment -

        D'oh! Hadn't realised that either. Tim, thank you for the prompt response, and thank you Helen for confirming the 'bug' and subsequently updating documentation.

        Show
        Ben Steeples added a comment - D'oh! Hadn't realised that either. Tim, thank you for the prompt response, and thank you Helen for confirming the 'bug' and subsequently updating documentation.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: