Modify

Opened 3 years ago

Closed 2 years ago

#8756 closed defect (worksforme)

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

Reported by: natvincent Owned by: 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 (0)

Change History (3)

comment:1 Changed 3 years ago by helend

I have the same problem. See #8757

comment:2 follow-up: Changed 2 years ago 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.

comment:3 in reply to: ↑ 2 Changed 2 years ago by rjollos

  • Resolution set to worksforme
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain mrelbe.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.