incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <>
Subject [jira] [Commented] (JSPWIKI-663) Rename page - page index still shows attachment with old page name
Date Tue, 25 Dec 2012 20:20:12 GMT


Glen Mazza commented on JSPWIKI-663:

Attached patch appears to fix this problem.

1.) On the Main page, add [{IndexPlugin}].
2.) Create a Page1 with an attachment foo.png, you'll see both Page1 and Page1/foo.png listed
on the Main Page (due to the Index Plugin).
3.) Rename Page1 to Page2 and go back to the Main Page, you'll see Page2 and Page1/foo.png
listed (bad: should be Page2/foo.png).

After applying patch, you'll correctly see Page2 and Page2/foo.png listed.

> Rename page - page index still shows attachment with old page name
> ------------------------------------------------------------------
>                 Key: JSPWIKI-663
>                 URL:
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.8.4
>         Environment: Websphere
>            Reporter: Bruno Peeters
>         Attachments: JSPWIKI663.patch, rename page - name attachment.gif
> After renaming a page with an attachment, there is still a link in the page index to
the attachment with the old name. Clicking on the link in the page index does not have sense,
it will lead to the creation of a new page.
> Scenario
> - create new page "Q new page"
> - add attachment "attachment.jpg"
> - rename page "Q new page" to ""Q new page new name"
> - result : page index contains for letter Q : "Q new page new name, Q new page/attachment.jpg"

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message