Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-744

Lots of role related notices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.1
    • Fix Version/s: 1.9.2, 2.0
    • Component/s: Module: Tracker
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Each call to role related stuff seems to cause a notice. I was logged in as an administrator, don't know if that makes a differnce. Here is an example (but there are loads on every page):

      ( ! ) Notice: Undefined index: mod/tracker:manage in /var/www/moodle/learntest/lib/accesslib.php on line 4731
      Call Stack

      1. Time Memory Function Location
        1 0.0023 165788 {main}

        ( ) ../view.php:0
        2 0.3702 13239916 include( '/var/www/moodle/learntest/mod/tracker/views/admin_summary.html' ) ../view.php:247
        3 0.3794 13243128 tracker_getadministrators( ) ../admin_summary.html:67
        4 0.3795 13243128 get_users_by_capability( ) ../locallib.php:731
        5 0.3852 13258536 has_capability_from_rarc( ) ../accesslib.php:4576

      Tracker version, 2008092604

        Attachments

          Activity

            People

            Assignee:
            vf Valery Fremaux
            Reporter:
            howardsmiller Howard Miller
            Participants:
            Component watchers:
            Valery Fremaux
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jul/08