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

Lock after final attempt doesn't work when skipping content structure page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.5, 2.4.2
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      Add this SCORM to your site
      https://tracker.moodle.org/secure/attachment/29856/Fruit_Quizzes3_for_SCORM.zip
      use the following settings:
      No of Attempts:1
      Lock after Final Attempt: Yes
      student skip content structure page: Yes
      Log in as a student and complete an attempt - make sure you get the questions right.
      return to course homepage and enter the scorm again - it should prevent access to the SCORM.

      Show
      Add this SCORM to your site https://tracker.moodle.org/secure/attachment/29856/Fruit_Quizzes3_for_SCORM.zip use the following settings: No of Attempts:1 Lock after Final Attempt: Yes student skip content structure page: Yes Log in as a student and complete an attempt - make sure you get the questions right. return to course homepage and enter the scorm again - it should prevent access to the SCORM.
    • Workaround:
      Hide

      set "student skip content structure" to "No"

      Show
      set "student skip content structure" to "No"
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      master_MDL-34231

      Description

      I have Moodle 2.3.1 and have used the following settings as reported in the forums.

      OPTIONS:
      No of Attempts:1
      Attempts Grading: Highest attempts
      Force Completed: Yes
      Force New Attempt: Yes
      Lock after Final Attempt: Yes
      Auto-continue: No

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            wescravn Tyrone Williamson added a comment -

            I have added scorm articulate quiz

            Show
            wescravn Tyrone Williamson added a comment - I have added scorm articulate quiz
            Hide
            wescravn Tyrone Williamson added a comment -

            Moodle Locking Information in my Info

            Show
            wescravn Tyrone Williamson added a comment - Moodle Locking Information in my Info
            Hide
            wescravn Tyrone Williamson added a comment -

            Screenshot where locking is not working. It allows you to go back to the quiz.

            Show
            wescravn Tyrone Williamson added a comment - Screenshot where locking is not working. It allows you to go back to the quiz.
            Hide
            wescravn Tyrone Williamson added a comment -

            it tried to go into review mode, is there a way to disable this completely?

            Show
            wescravn Tyrone Williamson added a comment - it tried to go into review mode, is there a way to disable this completely?
            Hide
            danmarsden Dan Marsden added a comment -

            Hi Tyrone - are you using the student skip content structure page setting?

            Show
            danmarsden Dan Marsden added a comment - Hi Tyrone - are you using the student skip content structure page setting?
            Hide
            stijn Stijn van Hofwegen added a comment -

            Hello, I ran into the same problem (moodle 2.3.1), however enabling the content structure page solved it for me. Thanks Dan.

            Show
            stijn Stijn van Hofwegen added a comment - Hello, I ran into the same problem (moodle 2.3.1), however enabling the content structure page solved it for me. Thanks Dan.
            Hide
            danmarsden Dan Marsden added a comment -

            thanks for confirming that Stijn

            Show
            danmarsden Dan Marsden added a comment - thanks for confirming that Stijn
            Hide
            danmarsden Dan Marsden added a comment -

            NOTE to integrator 2.3 and higher only thanks.

            Show
            danmarsden Dan Marsden added a comment - NOTE to integrator 2.3 and higher only thanks.
            Hide
            samhemelryk Sam Hemelryk added a comment -

            Thanks Dan, has been integrated now

            Show
            samhemelryk Sam Hemelryk added a comment - Thanks Dan, has been integrated now
            Hide
            phalacee Jason Fowler added a comment -

            In testing this, every time I tried to access the scorm package as a student, or as the teacher, I was told "You have reached the maximum number of attempts." I never saw the contents of the scorm package.

            Show
            phalacee Jason Fowler added a comment - In testing this, every time I tried to access the scorm package as a student, or as the teacher, I was told "You have reached the maximum number of attempts." I never saw the contents of the scorm package.
            Hide
            danmarsden Dan Marsden added a comment -

            grrr - yeah, that isn't working right... looking at it now.

            Show
            danmarsden Dan Marsden added a comment - grrr - yeah, that isn't working right... looking at it now.
            Hide
            danmarsden Dan Marsden added a comment -

            updated 2.4 and master branches with fix.

            not sure about 2.3 branch yet - may decide to revert this in the 2.3 branch and only fix in 2.4/master.

            Show
            danmarsden Dan Marsden added a comment - updated 2.4 and master branches with fix. not sure about 2.3 branch yet - may decide to revert this in the 2.3 branch and only fix in 2.4/master.
            Hide
            danmarsden Dan Marsden added a comment -

            fix for 2.3 branch updated above now too - thanks!

            Show
            danmarsden Dan Marsden added a comment - fix for 2.3 branch updated above now too - thanks!
            Hide
            poltawski Dan Poltawski added a comment -

            Pulled those fixes in.

            Please can you retest Jason.

            Show
            poltawski Dan Poltawski added a comment - Pulled those fixes in. Please can you retest Jason.
            Hide
            phalacee Jason Fowler added a comment -

            All good now Dan, thanks for fixing this

            Show
            phalacee Jason Fowler added a comment - All good now Dan, thanks for fixing this
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            A brilliant future is awaiting us out there, better with your code. Let's look towards the future together, this is now closed.

            (and won't be revisiting it unless some regression is found)

            Thanks and ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - A brilliant future is awaiting us out there, better with your code. Let's look towards the future together, this is now closed. (and won't be revisiting it unless some regression is found) Thanks and ciao

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Mar/13