This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-9d3afa8b-2b75-4c32-9e4b-2e54bc5dd743 XWIKI-24628 Open

Naming strategy not applied when renaming a page

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-c5bb67b4-1d54-41cc-a421-3f4db1721e3d Andreea Bran created this issue on 28/Jul/26 10:16
 
Summary: Naming strategy not applied when renaming a page
Issue Type: cid:jira-generated-image-avatar-9d3afa8b-2b75-4c32-9e4b-2e54bc5dd743 Bug
Affects Versions: 14.10.20
Assignee: Unassigned
Created: 28/Jul/26 10:16
Priority: cid:jira-generated-image-static-major-682aa0c9-54f7-4008-889c-527a14388e08 Major
Reporter: Andreea Bran
Description:

Steps to reproduce:
1. On a 14.10.20 instance, install https://extensions.xwiki.org/xwiki/bin/view/Extension/Random%20Page%20Naming%20Strategy/
2. Try to rename a page with a name not following the naming strategy

A. I did the following steps to reproduce the issue with the "Preformatted names":
1. Selected the Preformatted names without special characters as a Name strategy
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 Test-6A&*
Expected result: a name respecting the name strategy
Actual result: Test-6A%26*, thus the name strategy was not kept.

B. And the "Randomly generated unique names" name strategies rename test:
1. Selected the "Randomly generated unique names" without special characters as a Name strategy
2. I created a page with the name "NewPage" and the URL name was ea49f178-8a5a-11f1-be76-f0b61e7d152c. It respected the chosen name strategy.
3. I renamed the page TestRenameRandomStrategy

Expected result: a random, unique alphanumerical URL
Actual result: the name strategy was not kept, TestRenameRandomStrategy is shown

 
 

1 update

 
cid:jira-generated-image-avatar-c5bb67b4-1d54-41cc-a421-3f4db1721e3d Changes by Andreea Bran on 28/Jul/26 10:22
 
Description: Steps to reproduce:
1. On a 14.10.20 instance, install https://extensions.xwiki.org/xwiki/bin/view/Extension/Random%20Page%20Naming%20Strategy/
2. Try to rename a page
It reproduces with a name not following the naming standard "Preformatted names" strategy :

A. I did the following steps to reproduce the issue with the "Preformatted names":
1. Selected the Preformatted names without special characters as a Name strategy
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 Test-6A&*
Expected result: a name respecting the name strategy
Actual result: Test-6A%26*, thus the name strategy was not kept.

But also with the "Randomly generated unique names" strategy. Prerequisite to test with the "Randomly generated unique names" strategy: install https://extensions.xwiki.org/xwiki/bin/view/Extension/Random%20Page%20Naming%20Strategy/

B. And the "Randomly generated unique names" name strategies rename test:
1. Selected the "Randomly generated unique names" without special characters as a Name strategy
2. I created a page with the name "NewPage" and the URL name was ea49f178-8a5a-11f1-be76-f0b61e7d152c. It respected the chosen name strategy.
3. I renamed the page TestRenameRandomStrategy

Expected result: a random, unique alphanumerical URL
Actual result: the name strategy was not kept, TestRenameRandomStrategy is shown