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

Import and restore course with stealth resources in hidden section fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.9.10, 3.11.3, 4.0.5
    • Backup
    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE

      As a teacher or administrator when I try to import a course with stealth resources or activities in a hidden section the destination course do not preserve stealth resources in hidden sections.

      Stealth resources in destination course are hidden or shown and sections are visible.

      If I backup the same source course and restore it in a destination course preserving the existing data I get the same result.

      If I restore the course wiping all existing data, all section and resource statuses are preserved.

      FULL STEPS:

      • log as administrator
      • create a course (first)
      • add some activities or resources in several sections
      • hide a section
      • make available one or more resources/activities in that section
      • create a new course (second)
      • import the first course data in the new course (Jump to final step)
      • check if all activities, resources and sections do not preserve the same status assigned in the first course

       

      • create a new course (third)
      • go back to the first course
      • perform course backup (Jump to final step)
      • restore the first course in the third course (Merge the backup course into this course)
      • check if all activities, resources and sections do not preserve the same status assigned in the first course

       

      • try again to restore the first course in the third course (Delete the contents of the existing course and then restore)
      • check if all activities, resources and sections preserve the same status assigned in the first course

       

            Unassigned Unassigned
            upo Roberto Pinna
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.