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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 10.8
    • Velocity, WYSIWYG Editor
    • None
    • Unknown

    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

        1. stack11.10.12
          33 kB
          Manuel Leduc
        2. Stacktrace.txt
          7 kB
          Valentin Pfarr

        Activity

          People

            Unassigned Unassigned
            Valentin Valentin Pfarr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: