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

Save & Continue bypasses live validation

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      You can reproduce this issue on XWiki 8.2RC1 by following this steps:

      1. Go to Administration > Content > Templates
      2. Enter the name of a new template provider and click Create. This takes you to the edit mode for the new template provider
      3. Click Save without filling any field
        • You will notice for a second that there is a validation error on the template name, which is mandatory, but the template provider is still saved nevertheless.
      4. Edit the template provider
      5. Click Save
        • You get the live validation message and the save operation is stopped
      6. Click Save & Continue
        • The template provider is saved as indicated by the notification messages

      Note that in step 3 the template provider is actually saved using Save & Continue operation (see XWIKI-12775) because there is a template specified on the URL and copying the template is done in a job so we show the progress while waiting for the create job to finish.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: