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

Orphaned activities display error message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.3.5
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide
      1. Put your moodle 2.3 site in max debug mode (developer)
      2. Create a course with either Weekly or Topics format with only 2 sections.
      3. In section 1 create any activity, e.g. Page.
      4. In section 2 create any activity, e.g. Page.
      5. In Edit mode, at the bottom of Section 2, click on the minus icon "Reduce the number of sections"
      6. VERIFY there are no errors
      Show
      Put your moodle 2.3 site in max debug mode (developer) Create a course with either Weekly or Topics format with only 2 sections. In section 1 create any activity, e.g. Page. In section 2 create any activity, e.g. Page. In Edit mode, at the bottom of Section 2, click on the minus icon "Reduce the number of sections" VERIFY there are no errors
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:

      Description

      Orphaned activities

      Notice: Undefined variable: displaysection in \moodle\course\format\renderer.php on line 719

      using Moodle 2.3.2+ (Build: 20121101)

      I get this Notice when turning Edit on in a course with "orphaned activities" in a hidden Topic/Section.

        Attachments

          Activity

            People

            Assignee:
            abgreeve Adrian Greeve
            Reporter:
            rezeau Joseph Rézeau
            Peer reviewer:
            Rajesh Taneja
            Integrator:
            Sam Hemelryk
            Tester:
            Ankit Agarwal
            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:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Mar/13