Modify

Opened 6 years ago

Closed 6 years ago

#9056 closed defect (duplicate)

TagsPlugin: Renamed tagged pages are not handled correctly

Reported by: anonymous Owned by: Steffen Hoffmann
Priority: normal Component: TagsPlugin
Severity: normal Keywords: wiki rename IWikiChangeListener
Cc: Ryan J Ollos, Michael Renzmann Trac Release: 0.12

Description

If a tagged page is renamed, the tags are no longer shown under the page with the new name and clicking on the tags in the tag cloud leads to the old page name.

Attachments (0)

Change History (4)

comment:1 in reply to:  description Changed 6 years ago by Steffen Hoffmann

Cc: Ryan J Ollos Michael Renzmann added; anonymous removed
Keywords: wiki rename IWikiChangeListener added
Status: newassigned

Replying to anonymous:

If a tagged page is renamed, the tags are no longer shown under the page with the new name and clicking on the tags in the tag cloud leads to the old page name.

Sure, this is much less than optimal. In fact, with wiki rename functionality there has been a new interface trac.wiki.api.IWikiChangeListener defined to handle just that. So this is the underlying task. Patch welcome.

comment:2 Changed 6 years ago by Steffen Hoffmann

Trac Release: 0.110.12

This is definitive a Trac 0.12 feature.

comment:3 Changed 6 years ago by Steffen Hoffmann

Regarding IWikiChangeListener my assertions have been plain wrong, sorry.

In fact it is there for ages (seen in the wiki system rework more than 6 years ago), while the new method wiki_page_renamed(page, old_name) has been added with t:r9362 more recently.

This method is what is missing from the IWikiChangeListener implementation and has to be added.

comment:4 Changed 6 years ago by Steffen Hoffmann

Resolution: duplicate
Status: assignedclosed

Despite looking for duplicates I've noticed only now, there is #8638, sorry. Please follow-up there.

Modify Ticket

Action
as closed The owner will remain Steffen Hoffmann.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.