Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-93673

Message board thread body is replaced with the subject if window is resized

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.X, 7.1.10 DXP FP9, 7.1.X, 7.2.0 Beta 1, Master
    • Fix Version/s: None
    • Labels:
    • Story Points:
      0.25
    • Fix Priority:
      1

      Description

      While using Message Boards, if the window is resized while while typing the body, when it is published the body's content is replaced with the subject. (See attached video)
      Note: This only seems to occur while using CKEditor

      Steps to Reproduce:
      1. Start Liferay
      2. Add the following properties to portal-ext.properties if not set:

      editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.bb_code.jsp=ckeditor_bbcode
      editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.html.jsp=ckeditor

      3. Add a Message Boards portlet to a page
      4. Click on 'Post New Thread'
      5. Resize the browser window to smallest width possible (ie. watch when the ckeditor toolbar collapses)
      6. Type a subject
      7. Type some text inside the CKeditor body
      8. Publish

      Expected Result: The body content should be that of what was inputted
      Actual Result: The body content has been replaced with the text from the subject

      Reproduced:
       7.0.x eaa5b8136d8d11c8d6b34ce860c4be62d9ec7781
       master 5c27f0521d86f24bfa53a540d4f4665961c4187e

      Tested with Chrome Version 70.0.3538.77

      Additional Notes:
      This issue was discovered while testing LPS-93474. The video attached "content-replaced-by-subject.mp4" attempts to reproduce issue. If you notice in the video, the ckeditor content disappears after window resize. That is a separate bug that should be fixed by LPS-93474.

        Attachments

        1. mb.gif
          mb.gif
          786 kB
        2. reproduced-master.mp4
          3.24 MB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  25 weeks, 4 days ago

                  Packages

                  Version Package