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

SCORM reports and groupings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4
    • 2.0
    • SCORM
    • None
    • MOODLE_19_STABLE
    • 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

              danmarsden Dan Marsden
              argentum Vlas Voloshin
              Dan Marsden, Matteo Scaramuccia, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10