[Zope3-dev] Fix for request retry on ConflictError

2006-07-18 Thread Sven Schomaker
Hi all, the retry of a request in case of a ConflictError in Zope 3.2.1 fails with a NotFound error, while looking up the requested view in zope/app/traversing/namespace.py (line 362). It seems as the newly created request (in request.retry()) does somehow not satisfy the adapter prerequisites

Re: [Zope3-dev] Fix for request retry on ConflictError

2006-07-18 Thread Jim Fulton
PLease submit a collector issue at: http://www.zope.org/Collectors/Zope3-dev A test would be especially helpful. Jim On Jul 18, 2006, at 4:28 AM, Sven Schomaker wrote: Hi all, the retry of a request in case of a ConflictError in Zope 3.2.1 fails with a NotFound error, while looking up

Re: [Zope3-dev] Fix for request retry on ConflictError

2006-07-18 Thread Sven Schomaker
Jim Fulton wrote: PLease submit a collector issue at: http://www.zope.org/Collectors/Zope3-dev A test would be especially helpful. Yeehaw, I was afraid someone would ask for such a thing. I must admit I actually wasn't able to write it up to now, since I'm not too familiar with all the

Re: [Zope3-dev] Fix for request retry on ConflictError

2006-07-18 Thread Jim Fulton
A test is not required, although it would be helpful. There may, possibly, be existing tests that you could extend. Also, you shouldn't generate a real ZODB conflict error to test this. Rather, you should generate a conflict error in your test directly. Jim On Jul 18, 2006, at 9:46 AM, Sven