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

SCORM dnd not respecting default for maxattempt

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3.1
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      Upgrade test:

      BEFORE UPRGADE (e.g. 2.2 install)

      1. Go Admin > Plugins > activities > Scorm
      2. Set maxattempts to something memberable

      RUN UPGRADE

      1. Verify that maxattempts is set as it was before upgrade in interface

      After upgrade test:

      1. in Admin > plugins > activities > SCORM set the maxattempt setting to something.
      2. use the standard Add an activity dialog to add a SCORM and check to make sure the default used on the admin settings page is correct.
      3. Add a SCORM package using Dnd - check to make sure the created SCORM uses the correct maxattempt default as previously set in the admin page.
      Show
      Upgrade test: BEFORE UPRGADE (e.g. 2.2 install) Go Admin > Plugins > activities > Scorm Set maxattempts to something memberable RUN UPGRADE Verify that maxattempts is set as it was before upgrade in interface After upgrade test: in Admin > plugins > activities > SCORM set the maxattempt setting to something. use the standard Add an activity dialog to add a SCORM and check to make sure the default used on the admin settings page is correct. Add a SCORM package using Dnd - check to make sure the created SCORM uses the correct maxattempt default as previously set in the admin page.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      master_MDL-33938

      Description

      the SCORM maxattempt admin default uses the name "maxattempts" but the db field is "maxattempt" - this causes issues when using get_config('scorm') to set up a list of default values for creation of a SCORM package - especially when using dnd.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                danmarsden Dan Marsden
                Reporter:
                danmarsden Dan Marsden
                Peer reviewer:
                Ankit Agarwal
                Integrator:
                Dan Poltawski
                Tester:
                Frédéric Massart
                Participants:
                Component watchers:
                Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jul/12