This issue has been created
There are 2 updates.
 
 
Random Page Names API / cid:jira-generated-image-avatar-db5bc6be-ae92-4790-abd4-57c9e2aa8f55 RPN-4 Open

Naming strategy not applied when renaming a page

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b0d7b9d3-0d61-443a-9af4-9b191412f737 Andreea Bran created this issue on 28/Jul/26 10:32
 
Summary: Naming strategy not applied when renaming a page
Issue Type: cid:jira-generated-image-avatar-db5bc6be-ae92-4790-abd4-57c9e2aa8f55 Bug
Assignee: Clemens Robbenhaar
Created: 28/Jul/26 10:32
Priority: cid:jira-generated-image-static-major-5bcdb970-11b1-47bb-a6d9-a32a1e74879c Major
Reporter: Andreea Bran
Description:

It reproduces with both the standard "Preformatted names" 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, Transform names automatically Enabled, Validate names before saving Enabled.
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

 
 

2 updates

 
cid:jira-generated-image-avatar-b0d7b9d3-0d61-443a-9af4-9b191412f737 Changes by Andreea Bran on 28/Jul/26 10:36
 
Version: 1.1
Description: It reproduces with both the standard "Preformatted names" (I [created a ticket|https://jira.xwiki.org/browse/XWIKI-24628] on the platform side for it), and 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 Steps to reproduce :
1. Selected the "Randomly generated unique 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 "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