[ 
https://issues.apache.org/jira/browse/JSPWIKI-347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623147#action_12623147
 ] 

Florian Holeczek commented on JSPWIKI-347:
------------------------------------------

Well, I can imagine that it isn't trivial.

Don't know the PageRenamer, but I think what's lacking in general (and what 
could be a thing for 3.0) is a "normal form" of page names. this way, e.g. the 
page renamer (but also other components) could normalize a newly given page 
name and then check reliably for existence and equality.
Defining such a normal form means first thinking about which names should be 
considered equal. For example, spaces in a page name could be generally seen as 
being irrelevant, meaning "Bla & Blubb" is the same as "Bla& Blubb" or 
"Bla&Blubb".

WDYT?

> page renamer's page name equality detection is wrong
> ----------------------------------------------------
>
>                 Key: JSPWIKI-347
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-347
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.7.x
>         Environment: JSPWiki v2.7.0-alpha-19  
>            Reporter: Florian Holeczek
>            Priority: Minor
>
> * Create a page via the SandBox named "Blubb & Bla"
> * Rename this page to "Blubb& Bla" with update references checked
> The page renamer then changes the link in the SandBox to "[Blubb & Bla|Blubb& 
> Bla]". Obviously it can't detect the equality correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to