#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):
Here is an issue that has been introduced in [1501152]. Requests to
`/newticket` fail with:
----
==== How to Reproduce ====
While doing a GET operation on `/newticket`, Trac issued an internal
error.
''(please provide additional details here)''
Request parameters:
{{{
{}
}}}
User agent: `Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Ubuntu Chromium/28.0.1500.52 Chrome/28.0.1500.52
Safari/537.36`
==== System Information ====
|| '''`Trac`''' || `1.0.1` [[br]] `` ||
|| '''`Babel`''' || `0.9.6` ||
|| '''`Bloodhound Trac`''' || `1.0.1` ||
|| '''`Genshi`''' || `0.7 (with speedups)` ||
|| '''`Pygments`''' || `1.6` ||
|| '''`pysqlite`''' || `2.4.1` ||
|| '''`Python`''' || `2.6.8 (default, Apr 26 2013, 17:05:01) ` [[br]]
`[GCC 4.7.3]` ||
|| '''`pytz`''' || `2013b` ||
|| '''`setuptools`''' || `0.6` ||
|| '''`SQLite`''' || `3.7.15.2` ||
|| '''`jQuery`''' || `1.7.2` ||
==== Enabled Plugins ====
|| '''`bhrelations.widgets.relations`''' || `N/A` ||
|| '''`BloodhoundDashboardPlugin`''' || `0.7.0dev` ||
|| '''`BloodhoundMultiProduct`''' || `0.7.0dev` ||
|| '''`BloodhoundRelationsPlugin`''' || `0.7.0dev` ||
|| '''`BloodhoundSearchPlugin`''' || `0.7.0dev` ||
|| '''`BloodhoundTheme`''' || `0.7.0dev` ||
|| '''`TracAccountManager`''' || `0.4.3` ||
|| '''`TracPermRedirect`''' || `3.0` ||
|| '''`TracThemeEngine`''' || `2.2.0` ||
==== Python Traceback ====
{{{
Traceback (most recent call last):
File "/home/user/Workspace/bh586/bloodhound/trac/trac/web/main.py", line
477, in _dispatch_request
dispatcher.dispatch(req)
File "/home/user/Workspace/bh586/bloodhound/trac/trac/web/main.py", line
224, in dispatch
self._post_process_request(req, *resp)
File "/home/user/Workspace/bh586/bloodhound/trac/trac/web/main.py", line
338, in _post_process_request
resp = f.post_process_request(req, *resp)
File
"/home/user/Workspace/bh586/bloodhound/bloodhound_relations/bhrelations/web_ui.py",
line 138, in post_process_request
self.env, ticket)
File
"/home/user/Workspace/bh586/bloodhound/bloodhound_relations/bhrelations/api.py",
line 451, in get_resource_id_from_instance
(nbhprefix, resource.realm, unicode(resource.id))
TypeError: sequence item 0: expected string or Unicode, NoneType found
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/588#comment:2>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker