There are 3 updates, 5 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b9714765-39c1-4ec6-8684-5a0d37732641 XWIKI-24628 Open

Apply the name strategy when renaming the Name of a page with Validation enabled

 
View issue   ยท   Add comment
 

3 updates

 
cid:jira-generated-image-avatar-59a9f81a-7dba-4477-8020-54dfe1e404bd Changes by Andreea Bran on 28/Jul/26 11:28
 
Summary: Naming Apply the name strategy not applied when renaming the Name of a page with Validation enabled
Issue Type: Bug Improvement
Description: It reproduces with the standard "Preformatted names" strategy , with or without the Randomly generated unique names extension installed :

A. I did the following steps to reproduce the issue with the "Preformatted names", with an Advanced user:
1. Selected the
* Preformatted 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 Test*&6A and the saved name was Test-6A. It respected the chosen name strategy.
3. I renamed the page by
* expanding the New location * and replacing the * Name * field from Test-6A into 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 (I [created a ticket|https://jira.xwiki.org/browse/RPN-4] on the extension side for it).
 
 

5 comments

 
cid:jira-generated-image-avatar-59a9f81a-7dba-4477-8020-54dfe1e404bd Andreea Bran on 28/Jul/26 11:28
 
I reproduced the issue as well on a fresh 17.10.10, with an Advanced user, without the Randomly generated unique names extension installed :

1
and with Validation disabled . Selected the Preformatted names without special characters as a Name strategy , Transform names automatically Enabled, Validate names before saving - Disabled this time.
2.
I created a page with the name Test^&*A and the saved name was Test-A. It respected the chosen name strategy.
3. I renamed the page by expanding the New location and replacing the Name field from Test-A into Test$%#B
Expected result
ticket for it : a name respecting the name strategy
Actual result
https : Test%24%25%23B, thus the name strategy was not kept //jira . xwiki.org/browse/XWIKI-24630
 
cid:jira-generated-image-avatar-59a9f81a-7dba-4477-8020-54dfe1e404bd Andreea Bran on 28/Jul/26 11:29
 

I reproduced the issue with the chosen "Randomly generated unique names" strategy (I created a ticket on the extension side for it).

 
cid:jira-generated-image-avatar-59a9f81a-7dba-4477-8020-54dfe1e404bd Andreea Bran on 28/Jul/26 11:30
 
I reproduced the issue with the chosen "Randomly generated unique names" strategy ( , while having also its related extension installed. I [created a ticket|https://jira.xwiki.org/browse/RPN-4] on the extension side for it ) .
 
cid:jira-generated-image-avatar-59a9f81a-7dba-4477-8020-54dfe1e404bd Andreea Bran on 28/Jul/26 11:30
 
I reproduced the issue as well with the chosen "Randomly generated unique names" strategy, while having also its related extension installed. I [created a ticket|https://jira.xwiki.org/browse/RPN-4] on the extension side for it.
 
cid:jira-generated-image-avatar-59a9f81a-7dba-4477-8020-54dfe1e404bd Andreea Bran on 28/Jul/26 11:32
 
I reproduced the issue as well on a fresh 17.10.10, with an Advanced user, without the Randomly generated unique names extension installed and with Validation disabled. I [ created a ticket for it : | https://jira.xwiki.org/browse/XWIKI-24630 ]