HTTPRequest.resolve_url has error in raising errors
Bug #143564 reported by
Patrick Gerken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I try to resolve a nonexistent URL with ZPublisher.
This is what happens:
In the line where it wants to raise the error, some arguments got set wrong:
raise rsp.errmsg, sys.exc_info()[1]
rsp.errmsg is a string, and raise will raise now rsp.errmsg.
A Patch is attached.
To apply it, go to the directory where HTTPRequest.py resides and enter
patch HTTPRequest.py < /some/path/
Changed in zope2: | |
assignee: | nobody → Jens Vagelpohl (dataflake) |
Changed in zope2: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Uploaded: testHTTPRequest .py.patch
Now that I have the Issue number, here is the updated test file. testHTTPRequest .py.patch
To apply the patch, please go to the directory of the file testHTTPRequest.py and enter
patch testHTTPRequest.py < /some/path/