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

SCORM reports and groupings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4
    • Fix Version/s: 2.0
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Recently I found out that SCORM has some problems considering groupings: if a SCORM activity is attached to specific grouping, the user with capability to view all groups doesn't have access to reports at all, if he/she is not actually in the grouping. This would force teachers, for example, to add themself to all needed groups, which is not very convenient.

      Also, there's a block of code in report.php (line ~128) and a function scorm_get_count_users in locallib.php (line ~1124) with SQL expressions considering groupings. Actually, if a SCORM activity is attached to grouping, this SQL checks if the users it's selecting are inside that grouping too. But there can not be users outside that grouping in this activity because it's unaccessible by them, right? So this SQL looks redundant, or am I mistaking?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              argentum Vlas Voloshin
              Participants:
              Component watchers:
              Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10