[z3-five] problems with views

Martijn Faassen faassen at infrae.com
Tue Sep 14 19:41:09 MEST 2004


Sidnei da Silva wrote:
> On Tue, Sep 14, 2004 at 06:32:05PM +0200, Martijn Faassen wrote:

> | This is a rather serious problem and I'm really baffled about the tests 
> | not catching this. Anyone have any idea about what could've happened?
> 
> I have a guess. Somehow, after I changed the traversal code to return
> None instead of raising a notFoundError, depending on your
> configuration, if the view is not found you get that a error about a
> missing docstring. I traced it to ZPublisher trying to publish
> None.
> 
> So, the directive still works, however if it's not found, depending on
> your setup you may get a None instead of a NotFoundError.

How does the setup influence this?

Regards,

Martijn





More information about the z3-five mailing list