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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.10.8
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

            • Assignee:
              Unassigned
              Reporter:
              surli Simon Urli
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: