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

"Preformatted names" strategy thinks single letter words are not valid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 14.2.1
    • Model
    • None
    • Unknown

    Description

      The SlugEntityNameValidation aka "Preformatted names" page naming strategy thinks that several single letters (at least three) connected by hyphens do not form a valid page name, despite of generating such names itself.

      To reproduce, activate that page naming strategy in the wiki admin, and set  both "Transform names automatically" and "Validate names before saving" to "Enabled".

      Then try to create a page with name "a b c". An error message appears that this is not a valid page name.

      Attachments

        Issue Links

          Activity

            People

              camil7 Clemens Robbenhaar
              camil7 Clemens Robbenhaar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: