Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-24264

Stacktrace in logs when using ckeditor

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: 2.8.1
    • Component/s: Mailsender
    • Labels:
      None
    • Previous Issue Keys:
      MSND-54

      Description

      When using the ckeditor, a stacktrace is thrown:

      2011-11-18 13:25:21,094 WARN http-8080-Processor20 PonderUtilCore - Error processing component uk.org.ponder.rsf.components.UIInput@359714cd with ID subject
      Target exception of class java.lang.IllegalArgumentException
      Successive lines until stack trace show causes progressing to exception site:
      Error acquiring child object newEmail of object org.sakaiproject.mailsender.tool.beans.EmailBean@65860b4b class org.sakaiproject.mailsender.tool.beans.EmailBean
      java.lang.IllegalArgumentException: No enum const class org.sakaiproject.mailsender.model.ConfigEntry$EditorType.ckeditor
      at java.lang.Enum.valueOf(Enum.java:196)
      at org.sakaiproject.mailsender.model.ConfigEntry$EditorType.valueOf(ConfigEntry.java:34)
      at org.sakaiproject.mailsender.model.ConfigEntry.setEditorType(ConfigEntry.java:105)
      at org.sakaiproject.mailsender.model.ConfigEntry.<init>(ConfigEntry.java:63)
      at org.sakaiproject.mailsender.logic.impl.ConfigLogicImpl.getConfig(ConfigLogicImpl.java:86)
      at org.sakaiproject.mailsender.tool.beans.EmailBean.getNewEmail(EmailBean.java:112)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      ....

      To reproduce, set this in sakai.properties:

      wysiwyg.editor=ckeditor

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                thecarlhall Carl Hall (Inactive)
                Reporter:
                steve.swinsburg Steve Swinsburg
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration