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

After MDL-48978-Fix description is not saved anymore

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test 1:

      1. Login as user x
      2. Go to edit user profile
      3. Edit description field
      4. Save this profile

      Test 2:

      1. Goto Site administration -> Plugins -> Authentication -> manual
      2. Lock description field
      3. Go to user X profile
      4. Edit description field
      5. Save user X profile, make sure the description is saved
      6. Login in with user X
      7. Goto Edit user profile, make sure the description is locked
      8. Save user profile, make sure there are no errors
      Show
      Test 1: Login as user x Go to edit user profile Edit description field Save this profile Test 2: Goto Site administration -> Plugins -> Authentication -> manual Lock description field Go to user X profile Edit description field Save user X profile, make sure the description is saved Login in with user X Goto Edit user profile, make sure the description is locked Save user profile, make sure there are no errors
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49169_master

      Description

      If you save a user profile with "edit.php" the description field is not saved.
      In the if condition for "the file_postupdate_standard_editor" call is a small failure.
      The line:
      if (isset($usernew->description_editor) && isset($usernew->description_format)) {
      must be like:
      if (isset($usernew->description_editor) && isset($usernew->description_editor['format'])) {

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Mar/15