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

When forum has grouping, current user not in that grouping, warning appears on course page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.4
    • Fix Version/s: 1.9.5
    • Component/s: Forum
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Steps to prepare:

      1) Turn on groupings at site level if not already on. Create grouping in course. Create forum in course. Set forum to separate groups and the selected grouping.
      2) Turn on read tracking for that forum. This is INSANELY difficult. Exercise for the reader...

      Now when you look at the course page (when logged in as a user who does NOT belong to any groups in that grouping) a notice appears if debugging is enabled:

      Notice: Undefined index: 1 in C:\Documents and Settings\sm449\My Documents\apachedocs\corestable\mod\forum\lib.php on line 6065

        Attachments

          Activity

            People

            Assignee:
            quen Sam Marshall
            Reporter:
            quen Sam Marshall
            Tester:
            Tim Hunt
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/May/09