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

Macro editor allows to fill both parameters of a feature

    XMLWordPrintable

Details

    • Unknown

    Description

      Reproduction steps:

      • Create a macro with two parameters "feat1" and "feat2" bound to same features "myfeat"
      • Edit a new page and insert the macro
      • Click on the radio button to select "feat1" and fill the value for it
      • Click on the radio button to select "feat2" and fill the value for it
      • Submit the form

      Obtained result:

      • the macro is inserted with both values for feat1 and feat2

      Expected result:

      • the form shouldn't be submitted, an error should be displayed indicating that a choice should be made. Or we could clear the value when switching the radio button

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: