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

Completion: Expected completion date edit doesn't save when locked

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      0. Ensure you have completion enabled in site and course settings.
      1. Create a new Page set to be marked complete when the student views it.
      2. View the Page.
      3. Edit settings. Completion should now be locked (because somebody viewed it).
      4. Turn on the expected date option and save changes.
      5. Edit settings again.

      EXPECTED: The date should have updated, as specified.

      NOTE ABOUT BEHAT TESTS: Currently, due to MDL-48613, the Behat tests for this issue may fail on the first time they are run after installing new Behat tables. The tests will pass on the second and future times. Eloy suggested filing this as a separate issue rather than trying to hack it in the script.

      Show
      0. Ensure you have completion enabled in site and course settings. 1. Create a new Page set to be marked complete when the student views it. 2. View the Page. 3. Edit settings. Completion should now be locked (because somebody viewed it). 4. Turn on the expected date option and save changes. 5. Edit settings again. EXPECTED: The date should have updated, as specified. NOTE ABOUT BEHAT TESTS: Currently, due to MDL-48613 , the Behat tests for this issue may fail on the first time they are run after installing new Behat tables. The tests will pass on the second and future times. Eloy suggested filing this as a separate issue rather than trying to hack it in the script.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-48452-master

      Description

      Activity completion is enabled.

      Upload a SCORM package and make completion options locked by having a student complete the activity.

      When editing the SCORM activity, completions options are locked and all fields are read-only, showing a "forbidden" sign when hovering. The last one, expected completion date, can be edited by clicking "Enable", and the new date is not saved.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Jan/15