MasterTicketsPlugin conflicts with other plugins
|Reported by:||fgutierrez@…||Owned by:||coderanger|
In the file web_ui.py line 43 the plugin checks for "ticket" in the path, then it assumes that there is going to be a key "ticket" in the data dictionary. Other plugins like the CustomFieldAdmin use URL like /admin/ticket/customfields so then an exception is generated.
If the if condition is changed to:
def post_process_request(self, req, template, data, content_type): if req.path_info.startswith('/ticket/') and 'ticket' in data: tkt = data['ticket'] links = TicketLinks(self.env, tkt)
the other plugins can include "ticket" in their url.