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

Forum advanced quick reply filtering issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 3.8.2
    • Forum
    • MOODLE_38_STABLE

      While peer reviewing MDL-68563 mudrd8mz noticed a bug on the way forum advanced reply is handling filters in atto.

      Steps to reproduce

      1. Set up a new site with this code present in it - or simply use an existing site and enable the filters in the expected order.
      2. Make a new post into a forum. Use the following text as the post content:

        I was just watching https://www.youtube.com/watch?v=w4Srsu7yYDU and I found it awesome :-)
        

      3. The URL should be turned into a link and the link into an embedded media player so you can watch the video. The smiley should be shown as the image. That works.
      4. Reply into the new post. Use the same text as the quick reply content and submit it. It works again - video there, smiley there.
      5. Reply into the post and use the same text as the quick reply content again - just do not submit it. Instead, press the "Advanced" link.

      Here comes the problem - the content gets loaded into the Atto with the filters already applied. That is not a right behaviour because if you submit the form now, the media player gets correctly cleaned up and there is no embedded video present at all.

            Unassigned Unassigned
            lameze Simey Lameze
            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.