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

JS error when deleting a comment in learning plan page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 3.1
    • Competencies
    • MOODLE_31_STABLE
    • MDL-53347-master
    • Hide
      1. Go to a user's learning plan page.
      2. Create a comment.
      3. Open the browser's JS console.
      4. Delete a comment.
        • Confirm that the comment gets deleted.
        • Confirm that there is no JS error displayed.
      5. Refresh the page.
        • Confirm that the deleted comment is never displayed.
      Show
      Go to a user's learning plan page. Create a comment. Open the browser's JS console. Delete a comment. Confirm that the comment gets deleted. Confirm that there is no JS error displayed. Refresh the page. Confirm that the deleted comment is never displayed.
    • CBE Sprint 6

      When deleting a comment on the user's learning plan page, the following JS error occur:

      comment.js:264 Uncaught TypeError: Cannot read property 'setStyle' of null
      

      The comment gets deleted, but the comment remains in the UI unless the page is refreshed.

      This does not seem to occur in the user competency pages though.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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