[z3-five] Strange problems with Five 1.2.5 and Zope 2.8.6, addform issue?

Alec Mitchell apm13 at columbia.edu
Wed Jul 19 02:54:27 CEST 2006


On 7/18/06, Maciej Wiśniowski <maciej.wisniowski at coig.katowice.pl> wrote:
>
> >Perhaps. It's hard to judge from your code. If you can produce a failing
> >unit test for Five, demonstrating a particular bug in Five, then we can
> >start debugging.
> >
> >
> I didn't manage to write failing test (even thought I tried few
> different variants).
> Even with just two products in instance: Five and ViewsTutorial, and
> folders
> structure in ZMI I've described before I have errors.. but tests are
> passing.
> The good news is that upgrading to Zope 2.8.8 solved this problem :)
> Maybe it was something in my Zope2.8.6 core files but I tried this on
> two different machines with the same effect...
>
> >The root folder (OFS.Application.Application) is not traversable by
> >default. Hence you won't be able to look up Zope3y things there.
> >
> >
> <five:traversable class="OFS.Application.Application"/> did the thing
>
> Thanks for your help!

Ah, this must have been due to the old bug where Five's traversal
machinery was not catching NotFound errors (which were raised by the
OFS.App but not other folders), only AttributeErrors.  This was fixed
in Five a while back, Zope 2.8.7 was the first release to include the
fix IIRC.

Alec


More information about the z3-five mailing list