Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, Master
-
7.0.x
-
Committed
-
3
-
UX / Visual - Desktop
Description
Because of the way Liferay SPA (senna.js) works, when you cancel a new thread on the message board using CKEDITOR, the debounce function watching CKEDITOR does not properly get detached.
This causes the function to get called when CKEDITOR no longer is available on the current page, causing an error to occur.
Steps to reproduce:
- Set Message Boards editor to CKEDITOR by adding the following to your portal-ext.properties file:
editor.wysiwyg.default=ckeditor
editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor
editor.wysiwyg.portal-web.docroot.html.portlet.announcements.edit_entry.jsp=ckeditor
editor.wysiwyg.portal-web.docroot.html.portlet.blogs.edit_entry.jsp=ckeditor
editor.wysiwyg.portal-web.docroot.html.portlet.mail.edit.jsp=ckeditor
editor.wysiwyg.portal-web.docroot.html.portlet.mail.edit_message.jsp=ckeditor
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
editor.wysiwyg.portal-web.docroot.html.taglib.ui.discussion.jsp=ckeditor
editor.wysiwyg.portal-web.docroot.html.taglib.ui.email_notification_settings.jsp=ckeditor - Add Message Board portlet to any page
- Click "Post New Thread"
- Click "Cancel"
- Resize the Browser
Expected Result: Browser resizes normally
Actual Result: Error occurs because CKEDITOR is null