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

Duplicated module instances are not always displayed on the course page immediately

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide

      1. Duplicate any module instance in a course
      2. Click "Return to the course" instead of "edit the copy"
      3. Ensure new instance is displayed

      Show
      1. Duplicate any module instance in a course 2. Click "Return to the course" instead of "edit the copy" 3. Ensure new instance is displayed
    • Workaround:
      Hide

      Always edit new module instance copy before returning to course page

      Show
      Always edit new module instance copy before returning to course page
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE

      Description

      When a course module instance is duplicated the instance will not appear if the user returns to the course without updating the new instance first.

      To resolve this the secinfo cache for the course needs to be refreshed after the module instance immediately after the module has been duplicated.

      Patch to be supplied via github shortly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              luketucker Luke Tucker
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: