id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
8755	Using id="attachments" causes problems with other plugins	natvincent	walnut	When I have ChildTicketsPlugin installed with then TracTicketChangesetsPlugin, the changesets generated by TracTicketChangesetsPlugin for the ticket appear twice.\r\n\r\nThis 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.\r\n\r\nObviously, TracTicketChangesetsPlugin needs to be fixed as well, but ChildTicketsPlugin should use something unique for it's section id, like "childtickets" (line 135 or [10110]):\r\n\r\n{{{\r\n  snippet = tag.div(id="childtickets")\r\n}}}\r\n\r\nYou can get the same effect by using the "changelog" id (line 211 of [10110]):\r\n\r\n{{{\r\n  snippet.append(tag.div(tablediv, buttondiv, id="changelog"))\r\n}}}\r\n\r\nMind you, this could end up having the same effect if someone filters the stream on "changelog"! So, maybe you could create your own id instead?\r\n\r\nUltimately, some of these styles that people are going to want to use should be moved from CSS ids to classes, but this is obviously out of your control. :)\r\n\r\nI'm also going to put a bug against TracTicketChangesetsPlugin.	defect	closed	normal	ChildTicketsPlugin	normal	fixed			0.12
