#588: Integrate duplicate relations to ticket workflow
--------------------------+-----------------------
  Reporter:  astaric      |      Owner:  astaric
      Type:  enhancement  |     Status:  accepted
  Priority:  major        |  Milestone:  Release 7
 Component:  relations    |    Version:
Resolution:               |   Keywords:
--------------------------+-----------------------

Comment (by rjollos):

 I'm seeing the following traceback when navigating to the //Source// tab
 on the mainnav, for the case that the repository hasn't been configured
 and the user has `TRAC_ADMIN` permission, resulting in the tab directing
 to `/wiki/Guide/RepositoryAdmin`.

 {{{#!python
 ----------------------------------------
 Exception happened during processing of request from ('127.0.0.1', 46427)
 Traceback (most recent call last):
   File "/usr/lib/python2.6/SocketServer.py", line 560, in
 process_request_thread
     self.finish_request(request, client_address)
   File "/usr/lib/python2.6/SocketServer.py", line 322, in finish_request
     self.RequestHandlerClass(request, client_address, self)
   File "/usr/lib/python2.6/SocketServer.py", line 617, in __init__
     self.handle()
   File "/usr/lib/python2.6/BaseHTTPServer.py", line 331, in handle
     self.handle_one_request()
   File "/home/user/Workspace/bh585/bloodhound/trac/trac/web/wsgi.py", line
 191, in handle_one_request
     gateway.run(self.server.application)
   File "/home/user/Workspace/bh585/bloodhound/trac/trac/web/wsgi.py", line
 91, in run
     response = application(self.environ, self._start_response)
   File
 "/home/user/Workspace/bh585/bloodhound/trac/trac/web/standalone.py", line
 117, in __call__
     return self.application(environ, start_response)
   File "/home/user/Workspace/bh585/bloodhound/trac/trac/web/main.py", line
 445, in dispatch_request
     return _dispatch_request(req, env, env_error)
   File "/home/user/Workspace/bh585/bloodhound/trac/trac/web/main.py", line
 484, in _dispatch_request
     send_internal_error(env, req, sys.exc_info())
   File "/home/user/Workspace/bh585/bloodhound/trac/trac/web/main.py", line
 615, in send_internal_error
     req.send_error(exc_info, status=500, env=env, data=data)
   File "/home/user/Workspace/bh585/bloodhound/trac/trac/web/api.py", line
 536, in send_error
     exc_info)
   File "/home/user/Workspace/bh585/bloodhound/trac/trac/web/main.py", line
 477, in _dispatch_request
     dispatcher.dispatch(req)
   File "/home/user/Workspace/bh585/bloodhound/trac/trac/web/main.py", line
 236, in dispatch
     self._post_process_request(req)
   File "/home/user/Workspace/bh585/bloodhound/trac/trac/web/main.py", line
 340, in _post_process_request
     f.post_process_request(req, *(None,)*extra_arg_count)
   File
 
"/home/user/Workspace/bh585/bloodhound/bloodhound_relations/bhrelations/web_ui.py",
 line 134, in post_process_request
     if 'ticket' in data:
 TypeError: argument of type 'NoneType' is not iterable
 ----------------------------------------
 }}}

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/588#comment:7>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to