Ticket #8756 (closed defect: worksforme)

Opened 2 years ago

Last modified 9 months ago

Changesets section appearing twice when other plugin uses id="attachments"

Reported by: natvincent Assigned to: mrelbe
Priority: normal Component: TracTicketChangesetsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

When I have TracTicketChangesetsPlugin installed with ChildTicketsPlugin, the changesets generated by TracTicketChangesetsPlugin for the ticket appear twice.

This is because the ChildTicketsPlugin is using the "attachments" id for it's div tag. The TracTicketChangesetsPlugin is filtering the template stream looking for this ID so it knows when to insert it's section, sees "attachments" twice, and inserts it's section twice.

TracTicketChangesetsPlugin needs to either find some other way to find where to insert itself or it needs to make sure it doesn't insert it's section twice.

I have also created ticket #8755 against ChildTicketsPlugin.

Attachments

Change History

05/05/11 02:00:38 changed by helend

I have the same problem. See #8757

(follow-up: ↓ 3 ) 09/08/12 23:48:25 changed by rjollos

Following [10179], it seems like this ticket could be closed. We may want to add a note to the TracTicketChangesetsPlugin page to suggest using 2.4.2 or later of the ChildTicketsPlugin.

(in reply to: ↑ 2 ) 09/08/12 23:51:21 changed by rjollos

  • status changed from new to closed.
  • resolution set to worksforme.

Replying to rjollos:

We may want to add a note to the TracTicketChangesetsPlugin page to suggest using 2.4.2 or later of the ChildTicketsPlugin.

Done in /wiki/TracTicketChangesetsPlugin?action=diff&version=21.

I hope you don't mind that I take the liberty to close this now.


Add/Change #8756 (Changesets section appearing twice when other plugin uses id="attachments")




Change Properties
Action