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

Page naming strategy is blocking creation of pages not respecting it

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Reproduction steps:

      • Go in Administration > Editing > Name Strategies
      • Select "Preformatted names" strategy
      • Enable "Validate names before saving" and check that "Transform names automatically" is also enabled then save changes
      • Create a page Test with the exact following content:
        A link to [[a page>>Space.Page A B C D.WebHome]]
      • Click on the link that should lead to a page creation
      • Click on create

      Obtained result:

      • The displayed UI contains the following and the page can never be created, clicking create always lead to the same UI and we cannot change the reference from the UI

      Expected result:

      • At this point I'm not sure what should be the expected result: if we allow to transform the reference in the UI, then we break the link. Unless we find a way to refactor the link afterwards. Another solution would be to check that the strategy is respected when the link is created but that sounds very expensive.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: