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

Outline and complete reports dont work when accessed from system context so probably shouldnt be in the navigation tree

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.1.2, 2.2
    • Fix Version/s: 2.0.6, 2.1.3
    • Component/s: Navigation
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      1. Log in as an admin
      2. Add a main menu block to the front page if there isn't already one.
      3. Make sure that there is nothing in the main menu block.
      4. Browse to Navigation > My profile > Activity reports > Outline report
      5. Make sure that you get a notification about nothing to display
      6. Add something to the main menu block
      7. Browse back to Navigation > My profile > Activity reports > Outline report
      8. Make sure you now get content in the report.

      Show
      1. Log in as an admin 2. Add a main menu block to the front page if there isn't already one. 3. Make sure that there is nothing in the main menu block. 4. Browse to Navigation > My profile > Activity reports > Outline report 5. Make sure that you get a notification about nothing to display 6. Add something to the main menu block 7. Browse back to Navigation > My profile > Activity reports > Outline report 8. Make sure you now get content in the report.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull Master Branch:
      wip-MDL-28582-master

      Description

      When I access the outline report via My profile -> Activity reports -> Outline report I get taken to http://andrew.moodle.local/integrationmaster/course/user.php?user=2&id=1&mode=outline This displays a blank page. id 1 == system context I believe. The outline report is a course report so understandably doesnt work at system level.

      We can either remove it from the nav tree or have the report provide a list of the user's courses for them to select from.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              andyjdavis Andrew Davis
              Integrator:
              Aparup Banerjee
              Tester:
              Rossiani Wijaya
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Nov/11