[
https://issues.apache.org/jira/browse/JSPWIKI-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683613#action_12683613
]
Wouter Van daele commented on JSPWIKI-487:
------------------------------------------
Harry,
I applied your patch to a version of 2.8.2. Renaming is OK, but 'Delete.jsp'
needs a little adjustment to be effective: replace this line 51
response.sendRedirect(wiki.getViewURL(redirTo));
by this line
response.sendRedirect( wikiContext.getURL( WikiContext.VIEW, pagereq ) );
and it works - most of the time ;-)
Why the "most of the time"? When having multiple consecutive entries for the
same page in the breadcrumbs trail, not all of them are deleted. Could be a
problem in the 'removeItem' method of the FixedQueue class, but I haven't had
time to figure that out yet...
W.
> Bread crumbs and renamed and deleted pages
> ------------------------------------------
>
> Key: JSPWIKI-487
> URL: https://issues.apache.org/jira/browse/JSPWIKI-487
> Project: JSPWiki
> Issue Type: Bug
> Affects Versions: 2.8.1
> Reporter: Bruno Peeters
> Priority: Minor
> Attachments: JSPWiki-487-2.8.patch, JSPWiki-487-3.0.patch
>
>
> Pages that are renamed or deleted remain in the list of pages visited (the
> bread crumbs).
> If a users clicks on such a page, he receives a message that the page does
> not exists and is asked to create the page.
> It would be more user friendly if renamed and deleted pages would be removed
> from the list of visited sites.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.