|Version 3 (modified by kirean@…, 8 years ago) (diff)|
Add support for ticket dependencies to Trac
NOTE: The 0.10 version of this plugin suffers from many systemic design flaws. The 0.11 version has been re-written from the ground up to avoid these, however I do not currently have the time to invest in a backport. Please do not file tickets against the 0.10 version, as I will close all of them as wontfix. Instructions to install the 0.11 version will follow shortly.
NOTE 2 Trac 0.11 revision 5945 currently brakes Trac together with this plugin.
Traceback (most recent call last): File "/misc/svkcheckout/trac/branches/cap-hacks/trac/web/api.py", line 342, in send_error 'text/html') File "/misc/svkcheckout/trac/branches/cap-hacks/trac/web/chrome.py", line 577, in render_template stream |= self._filter_stream(req, method, filename, stream, data) File "/usr/lib/python2.4/site-packages/Genshi-0.5dev_r630-py2.4.egg/genshi/core.py", line 122, in __or__ return Stream(_ensure(function(self))) File "/misc/svkcheckout/trac/branches/cap-hacks/trac/web/chrome.py", line 641, in inner data) File "/usr/lib/python2.4/site-packages/TracMasterTickets-2.0-py2.4.egg/mastertickets/web_ui.py", line 50, in filter_stream for field, value in data['mastertickets']['field_values'].iteritems(): KeyError: 'mastertickets'
Just put the ticket numbers that a given ticket is blocking in the Blocking field. Enter just the number, no leading #. Separate multiple numbers with commas.
Make sure you add the custom field below.
If you have any issues, create a new ticket.
Download the zipped source from here.
[components] mastertickets.* = enabled [ticket-custom] blocking = text blocking.label = Blocking
-  by rjollos on 2015-04-02 08:02:53
4.0.0dev: Avoid traceback when custom field value is None.
Initial patch by leerw@…. Fixes #12180.
-  by rjollos on 2015-04-02 07:19:45
4.0.0dev: Ticket links have consistent title attribute.
Title of ticket link in a "Blocked by" / "Blocking" field is the same as the title of a ticket TracLink. Fixes #11704.
Thanks to RedLion company for the initial patch.
-  by rjollos on 2014-12-14 20:12:31
Untested patch for failure to update field in linked ticket. Fixes #9072.