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 Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Libraries
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Rank:
      15501

      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.

        Activity

        Hide
        Sam Hemelryk added a comment -

        All done, now fails gracefully if something is missing

        Show
        Sam Hemelryk added a comment - All done, now fails gracefully if something is missing

          People

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

            Dates

            • Created:
              Updated:
              Resolved: