#588: Integrate duplicate relations to ticket workflow
--------------------------+----------------------
Reporter: astaric | Owner: astaric
Type: enhancement | Status: accepted
Priority: major | Milestone:
Component: relations | Version:
Resolution: | Keywords:
--------------------------+----------------------
Comment (by rjollos):
This change fixes the issue, but I won't commit just yet in case there is
a better fix.
{{{#!diff
Index: bloodhound/bloodhound_relations/bhrelations/web_ui.py
===================================================================
--- bloodhound/bloodhound_relations/bhrelations/web_ui.py (revision
1502387)
+++ bloodhound/bloodhound_relations/bhrelations/web_ui.py (working
copy)
@@ -131,7 +131,7 @@
return handler
def post_process_request(self, req, template, data, content_type):
- if 'ticket' in data:
+ if req.path_info.startswith('/ticket/'):
ticket = data['ticket']
rls = RelationsSystem(self.env)
resid = ResourceIdSerializer.get_resource_id_from_instance(
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/588#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker