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

TinyMCE editor does not save modifications in assignment feedback comments

    XMLWordPrintable

Details

    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_401_STABLE
    • MDL-77897-401
    • MDL-77897-master
    • Hide
      1. Ensure that the editor is set to Tiny
      2. Log in as admin
      3. Navigate to a course with a number of students
      4. Create an assignment
      5. View the list of submissions
      6. Click "Grade user" for a single user
      7. Enter some feedback comments for the user
      8. Press "Save change"
      9. Wait for the form to finish and the page to refresh
      10. Update the comment and press Save changes again
      11. Wait for the form to finish and the page to refresh
        1. Confirm that the new content was shown
      Show
      Ensure that the editor is set to Tiny Log in as admin Navigate to a course with a number of students Create an assignment View the list of submissions Click "Grade user" for a single user Enter some feedback comments for the user Press "Save change" Wait for the form to finish and the page to refresh Update the comment and press Save changes again Wait for the form to finish and the page to refresh Confirm that the new content was shown

    Description

      Steps to reproduce (tested on QA site as teacher):

      1. Make sure to use the TinyMCE editor as "Teacher" (QA)
      2. As someone with grading capabilities, view all submissions for an assignment in a course. (QA)

      3. Select an assignment and leave a feedback comment using TinyMCE (QA).

      4. Save the feedback comment using the "Save Changes" button.

      5. Edit your comment and save again.

      6. The feedback comment won't be changed.


       

      This seems to be caused by the fact the Tiny does not update the underlying textarea element, and when the AJAX call happens, it simply sends the original content, unedited.

      There's no error and no logs produced by the actions above that could point to a quick solution, sadly.

      I was able to reproduce the issue in my 3 local environments on the most recent 4.1.2+ stable build.

      Attachments

        1. MDL-77897.png
          118 kB
          Ron Carl Alfon Yu

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              Jeff Noel Jeff Noel
              Simey Lameze Simey Lameze
              Paul Holden Paul Holden
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 3 minutes
                  1h 3m

                  Clockify

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