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

Badges code looks for removed fields on user table

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.11
    • Badges
    • MOODLE_311_STABLE

      https://github.com/moodle/moodle/blob/MOODLE_311_STABLE/badges/criteria/award_criteria_profile.php#L194

      The line above looks in the user table to see if a badge criteria is met.

      I believe some of these columns were removed recently.

      It doesn't seem possible to create a new badge that uses the removed fields, but I'm thinking it must be possible for existing badges that were previously defined to try to access these fields, since we saw an error pointing us in this direction (specifically for the u.url field).

      Is there an upgrade step to move these badges to use the new code instead?

            Unassigned Unassigned
            bawjaws David Scotson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

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