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

Invalid get_string() identifier when certain additional user included fields in grade export

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.9.4, 3.0.2
    • Gradebook
    • MOODLE_29_STABLE, MOODLE_30_STABLE

      An "Invalid get_string() identifier" exception occur (and included in the exported file) when certain additional user profile fields (e.g. skype) are included in the grade export.

      How to reproduce:

      1. Set debug level to 'DEVELOPR' and turn display debug messages on
      2. Add 'skype' to the list of the 'Grade export user profile fields' setting (grade_export_userprofilefields)
      3. Export grades of a course, regardless of file type and if there are users in the course or not
      4. View the exported file
      5. EXPECTED: well-formed grade export including a 'skype' column. ACTUALLY HAPPENS: HTML snipped with an "Invalid get_string() identifier" exception at the beginning of the file; the actual column is named '[[skype]]'

        1. screenshot-1.png
          134 kB
          Abhilash Mhaisne
        2. skypeid_field_added.png
          113 kB
          Abhilash Mhaisne
        3. spreadsheet.png
          110 kB
          Abhilash Mhaisne

            Unassigned Unassigned
            jojoob Johannes Burk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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