Retrying request with Retry exception doesn't work with views
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Zope 3 | Status tracked in 3.4 | |||||
3.2 |
Confirmed
|
Critical
|
Unassigned | |||
3.3 |
Confirmed
|
Critical
|
Unassigned | |||
3.4 |
Confirmed
|
Critical
|
Unassigned |
Bug Description
When Retry (or ConflictError) exception is raised while visiting url which is a view like: http://
This was first reported by Sven Schomaker:
http://
Under above link there is also a quick fix that solves the problem but as Sven said it is possibly not the best solution.
I've written a test that exposes this bug. I'll attach it to this bug report.
Test is not perfect so somebody possibly can refactor this. I was not sure how this kind of test should look so
I've created this as a standalone module. To execute test
just extract attached archive to lib/python, set zope3 environment variables and execute python ftests.py.
One important thing is that test first fails because of a bug in functional.py, so to see above bug with Retry exception
it is necessary to first resolve a bug from functional.py. It is described at:
http://
Test attached