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

Using ckeditor_creole editor in Wiki throws a server exception

    Details

      Description

      The ckeditor_creole in wiki will misbehave because of some server errors.

      Steps to reproduce:

      • Log in Portal
      • Navigate to Control Panel > Configuration > System Settings > Collaboration > Wiki Service
      • Set the Get creole editor attribute to ckeditor_creole
      • Navigate to Content > Wiki > Main
      • Edit FrontPage

      Expected Result:
      CKEditor shows and no errors are thrown to the server logs.

      Current Result:
      CKEditor shows, but it will misbehave due to some initialization errors, represented by the following server log stacktrace:

      ERROR [http-nio-8080-exec-3][DynamicIncludeUtil:79] java.lang.IllegalStateException: Current state = CODING_END, new state = CODING
      java.lang.IllegalStateException: Current state = CODING_END, new state = CODING
      	at java.nio.charset.CharsetDecoder.throwIllegalStateException(CharsetDecoder.java:992)
      	at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:572)
      	at com.liferay.portal.kernel.io.WriterOutputStream._doDecode(WriterOutputStream.java:160)
      	at com.liferay.portal.kernel.io.WriterOutputStream.write(WriterOutputStream.java:128)
      	at com.liferay.portal.kernel.servlet.ServletOutputStreamAdapter.write(ServletOutputStreamAdapter.java:48)
      	at com.liferay.portal.kernel.util.StreamUtil.transferByteArray(StreamUtil.java:213)
      	at com.liferay.portal.kernel.util.StreamUtil.transfer(StreamUtil.java:140)
      	at com.liferay.portal.kernel.util.StreamUtil.transfer(StreamUtil.java:107)
      	at com.liferay.portal.kernel.util.StreamUtil.transfer(StreamUtil.java:85)
      	at com.liferay.frontend.editor.ckeditor.web.servlet.taglib.CKEditorCreoleOnEditorCreateDynamicInclude.include(CKEditorCreoleOnEditorCreateDynamicInclude.java:60)
      

        Attachments

          Activity

            People

            • Assignee:
              marcy.dong Marcy Dong (Inactive)
              Reporter:
              jose.balsas Chema Balsas
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 28 weeks, 4 days ago

                Packages

                Version Package
                7.0.1 CE GA2