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

editor and content type properties from TextArea xclass are not reset if initializer set a null value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 11.10.8
    • Old Core
    • None
    • Unknown

    Description

      Calling BaseClass#addTextAreaField with null values (or no values) for editor or contentType properties does not lead to a reset of those properties.

      This might be a problem, for example we recently change initializer of XWikiComments to not use Text editor by default, but to leave the editor property unset so that it can fallback on user value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: