[
https://issues.apache.org/jira/browse/JSPWIKI-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18143199#comment-18143199
]
ASF subversion and git services commented on JSPWIKI-521:
---------------------------------------------------------
Commit d8a9b2cb90f3a573011179f8ad0d8b04fb43bc6e in jspwiki's branch
refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=d8a9b2cb9 ]
JSPWIKI-656 JSPWIKI-521 Update InsertPage and alias parameters when renaming a
page
Renaming a page with "update referrers" only rewrote [links]. A page that
includes the renamed one with [{InsertPage page='X'}], or that is an alias of
it with [{SET alias='X'}], kept the old name and ended up showing "There is
no page called X". The ReferenceManager has no record of such parameters,
so the renamer now looks for them in the text of every page and rewrites the
ones that name the renamed page, keeping the quoting of the original.
Escaped invocations are left alone.
> Rename does not affect [{SET alias='PageName'}]
> -----------------------------------------------
>
> Key: JSPWIKI-521
> URL: https://issues.apache.org/jira/browse/JSPWIKI-521
> Project: JSPWiki
> Issue Type: Bug
> Affects Versions: 2.8.1
> Environment: Red Hat Linux, Sun JDK 1.6.0_07
> Reporter: Stefan Bohn
> Priority: Minor
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> http://www.jspwiki.org/wiki/PageAlias
> If you rename the page PageName, pages with [{SET alias='PageName'}] are not
> changed.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)