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

Cannot cancel editing an empty document when using the WYSIWYG editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.0 B6
    • 1.0 B2, 1.0 B3, 1.0 B4, 1.0 B5
    • None

    Description

      When editing a document with no content (either new, or containing only objects) using the WYSIWYG editor, pressing Cancel will display a message that the document content cannot be null.

      This is caused by a copy/paste error, the checkDocumentContent() function is called for cancel, too, although it should not.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: