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

Single letter page names should be valid for the "Preformatted names" strategy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 14.4-rc-1, 13.10.6
    • 14.2.1
    • Model
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      The SlugEntityNameValidation aka "Preformatted names" page naming strategy thinks that a page name consisting of only a single letter is not valid.

      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". An error message appears that this is not a valid page name.

      Easy workaround: disable "Validate names before saving".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: