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

Fatal error on user/edit.php with submitting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Files API
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Debug info: Column 'descriptionformat' cannot be null
      UPDATE mdl_user SET firstname = ?,lastname = ?,email = ?,maildisplay = ?,emailstop = ?,mailformat = ?,maildigest = ?,autosubscribe = ?,trackforums = ?,ajax = ?,screenreader = ?,city = ?,country = ?,timezone = ?,lang = ?,imagealt = ?,url = ?,icq = ?,skype = ?,aim = ?,yahoo = ?,msn = ?,idnumber = ?,institution = ?,department = ?,phone1 = ?,phone2 = ?,address = ?,timemodified = ?,description = ?,descriptionformat = ? WHERE id=?

      Upon inspection user_edit_form removes the description_editor element on certain conditions, simple fix to check whether the field is set before attempting to parse it.
      Will commit fix shortly

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Tester:
              Nobody
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10