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

Rename of page should be blocked when name strategy validation is enabled and not complied with

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 14.10.20, 17.10.10
    • Model - Validation
    • None
    • Unknown

    Description

      It reproduces with the standard "Preformatted names" strategy, with or without the Randomly generated unique names extension installed:

      I did the following steps to reproduce the issue with the "Preformatted names", with an Advanced user:
      1. Selected the Preformatted names without special characters as a Name strategy , Transform names automatically - Enabled, Validate names before saving - Enabled
      2. I created a page with the name Test*&6A and the saved name was Test-6A. It respected the chosen name strategy.
      3. I renamed the page by expanding the New location and replacing the Name field from Test-6A into Test-6A&*
      Expected result: a name respecting the name strategy
      Actual result: Test-6A%26*, thus the name strategy was not kept.

      Attachments

        Activity

          People

            Unassigned Unassigned
            AndreeaChirica Andreea Bran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: