Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14632 Consistent Navigation for Moodle 2.0
  3. MDL-20568

Bug when navigation is called to generate for a module reflected by page context but cm has not been set

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Libraries
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      If the PAGE context has been set to that of a modules context but the the module has not been set notices are displayed to the user.
      Simple fix, make navigation do the work. If the this situation arrises (modedit then click the assign roles tab) navigaiton will generate the module instance from the context and set it against PAGE.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                samhemelryk Sam Hemelryk
                Reporter:
                samhemelryk Sam Hemelryk
                Tester:
                Nobody
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: