Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15775

Can't edit in WYSIWYG mode when including TextArea field in a page

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.8
    • Fix Version/s: None
    • Component/s: Velocity, WYSIWYG Editor
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce this issue:

      Create a new class in your Wiki (i.e. MySpace.MyClass) and add a TextArea property (i.e. textAreaProperty) to it. Set the "Editor" to "PureText" (other editors will work) Then create a page and add an object of the class' type to it. Set this code as the page's content:

      {{velocity}}
       #set($obj = $doc.getObject("MySpace.MyClass}}{{"))
       $obj.get("textAreaProperty")
      {{/velocity}}
      

      After that, save the page and try to go into / reload the WYSIWYG edit mode. An exception will be thrown, seeĀ Stacktrace.txt.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Valentin Valentin Pfarr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Date of First Response: