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

Course context without a path

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • 1.9
    • None
    • Roles / Access
    • None
    • MOODLE_19_STABLE

    Description

      Playing with statisitcs and:

      Context id 27791 does not have valid path, please use build_context_path()

      • line 348 of lib/accesslib.php: call to debugging()
      • line 9 of course/report/stats/report.php: call to has_capability()
      • line 71 of admin/report/stats/index.php: call to require_once()

      mysql> select * from context where id = 27791;
      --------------------------------------

      id contextlevel instanceid path depth

      --------------------------------------

      27791 50 1431 NULL 0

      --------------------------------------
      1 row in set (0.00 sec)

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              poltawski Dan Poltawski
              Nobody Nobody
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: