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

Groovy Macro Content field appears to be mandatory only on CKEditor UI edit mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 13.4.3, 13.8, 12.10.10
    • None
    • None
    • Windows 10 Pro 64 bit, Edge 94, using a local instance XWiki 13.8, 13.4.3 and 12.10.10 on Jetty/HSQL
    • Unknown

    Description

      STEPS TO REPRODUCE

      1. Edit a page in CKEditor mode
      2. Click on Insert > Other Macros > Groovy
      3. Click 'Submit' without filling the content
      4. Go to Source
      5. PasteĀ 
        {{groovy}}{{/groovy}}
      1. Click on Source again
      2. Save the page

      EXPECTED RESULTS

      In CKEditor edit mode as well as editing the page in Source mode, the Content field is mandatory.

      ACTUAL RESULTS

      In CKEditor edit mode if the content it's empty (UI box), the Macro cannot be submitted into the page, but when inserting the macro from Source, it's being inserted with no content.

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: