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

Function grade_update() doesn't update iteminfo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.2.10, 2.3.8, 2.4.5, 2.5.1
    • None
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE

      Hi all,

      Function grade_update() in lib/gradelib.php permits a list of grade item properties to be changed, but iteminfo does not appear on the $allowed list and hence is blocked from updating.

      Since this field is descriptive only (i.e. non active), and appears virtually nowhere in the code, failure to put it on the allowed list seems to be just an oversight, not a design feature. This is irritating and inconvenient if you actually want to use it. Could we add iteminfo to the $allowed list, or is there some 'dark side' to this?
      -John

            nicolasconnault Nicolas Connault (Inactive)
            jwhite10 John White (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.