#529: Error dispatching web request to URL matching non-existing product
---------------------+---------------
Reporter: olemis | Owner:
Type: defect | Status: new
Priority: major | Version:
Resolution: |
---------------------+---------------
Details reported by TracStandalone
{{{#!py
Traceback (most recent call last):
File "/usr/lib/python2.6/SocketServer.py", line 558, in
process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.6/SocketServer.py", line 320, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.6/SocketServer.py", line 615, in __init__
self.handle()
File "/usr/lib/python2.6/BaseHTTPServer.py", line 329, in handle
self.handle_one_request()
File "/path/to/bloodhound/trac/trac/web/wsgi.py", line 191, in
handle_one_request
gateway.run(self.server.application)
File "/path/to/bloodhound/trac/trac/web/wsgi.py", line 91, in run
response = application(self.environ, self._start_response)
File "/path/to/bloodhound/trac/trac/web/standalone.py", line 91, in
__call__
return self.application(environ, start_response)
File "/path/to/bloodhound/trac/trac/web/main.py", line 439, in
dispatch_request
req = bootstrap.create_request(env, environ, start_response)
File "/path/to/bloodhound/trac/trac/hooks.py", line 220, in
create_request
return factory().create_request(env, environ, start_response) if
factory \
File
"/path/to/bloodhound/bloodhound_multiproduct/multiproduct/hooks.py", line
110, in create_request
return ProductRequestWithSession(env, environ, start_response)
File
"/path/to/bloodhound/bloodhound_multiproduct/multiproduct/hooks.py", line
102, in __init__
self.base_url = env.base_url
AttributeError: 'NoneType' object has no attribute 'base_url'
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/529>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker