You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2012/12/26 12:22:12 UTC

[jira] [Resolved] (JSPWIKI-663) Rename page - page index still shows attachment with old page name

     [ https://issues.apache.org/jira/browse/JSPWIKI-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske resolved JSPWIKI-663.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9.1

Fixed in 2.9.1-svn-7.
Also patched the PageViewPlugin, which handles the WikiPageRenameEvent and tries to unconditionally "rollover" pagecounts from the fromPage to the toPage, which fails if the page has no pageviews at all.

thanks Glenn.

regards,
Harry

                
> Rename page - page index still shows attachment with old page name
> ------------------------------------------------------------------
>
>                 Key: JSPWIKI-663
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-663
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.8.4
>         Environment: Websphere
>            Reporter: Bruno Peeters
>            Assignee: Harry Metske
>             Fix For: 2.9.1
>
>         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: http://www.atlassian.com/software/jira