Modify

Opened 14 years ago

Closed 12 years ago

#8756 closed defect (worksforme)

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

Reported by: N@ Owned by: Mikael Relbe
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 (0)

Change History (3)

comment:1 Changed 14 years ago by Bangyou Zheng

I have the same problem. See #8757

comment:2 Changed 12 years ago by Ryan J Ollos

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.

comment:3 in reply to:  2 Changed 12 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

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.

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Mikael Relbe.
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.