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

Conditional section availability restore - only restores the first Activity completion condition

    XMLWordPrintable

Details

    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-37078-master
    • Hide
      1. Create new course
      2. Add two labels with Completion tracking set to 'Students can manually mark the activity as complete"
      3. Edit summary of of first course section
        • go to 'Restrict access'
          • set first 'Activity completion condition' select label 1 'must be marked complete'
          • set second 'Activity completion condition' select label 2 'must be marked complete'
        • Set 'Before section can be accessed' to 'Hide section entirely'
      4. switch role to 'Student' and test. First course section should be hidden until you mark Label 1 & 2 as complete.
      5. Backup course
      6. Restore backup as a new course
      7. Switch role to student again and try ticking/unticking the two boxes

      The hidden section should appear only when BOTH boxes are ticked.

      Show
      Create new course Add two labels with Completion tracking set to 'Students can manually mark the activity as complete" Edit summary of of first course section go to 'Restrict access' set first 'Activity completion condition' select label 1 'must be marked complete' set second 'Activity completion condition' select label 2 'must be marked complete' Set 'Before section can be accessed' to 'Hide section entirely' switch role to 'Student' and test. First course section should be hidden until you mark Label 1 & 2 as complete. Backup course Restore backup as a new course Switch role to student again and try ticking/unticking the two boxes The hidden section should appear only when BOTH boxes are ticked.

    Description

      1. Create new course
      2. Add two labels with Completion tracking set to 'Students can manually mark the activity as complete"
      3. Edit summary of of first course section
        • go to 'Restrict access'
          • set first 'Activity completion condition' select label 1 'must be marked complete'
          • set second 'Activity completion condition' select label 2 'must be marked complete'
        • Set 'Before section can be accessed' to 'Hide section entirely'
      4. switch role to 'Student' and test. First course section should be hidden until you mark Label 1 & 2 as complete.
      5. Backup course
      6. Restore backup as a new course
      7. Go to first section and it will only have restored the first activity completion condition, ignoring the second condition in the restore

      Attachments

        Activity

          People

            quen Sam Marshall
            mondream Matthew Lowe
            Tim Hunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona), Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              14/Jan/13