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

Removing email address from the site setting showuseridentity causes grader report JS to fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.8.1
    • Fix Version/s: None
    • Component/s: Gradebook, JavaScript
    • Labels:
      None
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      In grade/report/grader/yui/src/gradereporttable/js this

      this.firstNonUserCell = Y.one(SELECTORS.USERMAIL).next();

      causes an error if the admin has gone to site admin > users > permissions > user policies and unticked email address because they don't want email addresses on the grader report.

      Once that error has occurred the nice "sticky" column header functionality does not work.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              andyjdavis Andrew Davis
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: