[Zope-dev] Zope Tests: 4 OK, 2 Failed

Tres Seaver tseaver at palladion.com
Sun Jan 4 14:42:40 EST 2009

Hash: SHA1

Zope Tests Summarizer wrote:

> Subject: FAILED (failures=2) : Zope-trunk Python-2.4.5 : Linux
> From: Zope Tests
> Date: Sat Jan  3 20:36:05 EST 2009
> URL: http://mail.zope.org/pipermail/zope-tests/2009-January/010775.html
> Subject: FAILED (failures=2) : Zope-trunk Python-2.5.2 : Linux
> From: Zope Tests
> Date: Sat Jan  3 20:37:35 EST 2009
> URL: http://mail.zope.org/pipermail/zope-tests/2009-January/010776.html

I think I have fixed these failures:  the issue was that somehow, after
Sidnei landed his Python 2.5 / 2.6 changes, the dummy 'Implicit' class
used for the failing views was not supplying an 'index_html', which led
to the one on the application root being acquireable, and therefore
blowing up the publishing traversal.

I don't know why the tests happened to pass before Sidnei's changes, or
whe running only the tests from 'Products.Five'.  The fact is that *any*
Zope2 view class involved in acquisition needs to either have a real
'index_html' method, or else set it to None, in which case its
'__call__' gets used instead.  This constraint has been true for all
"methodish" objects in Zope2 since the dawn of time.

I have checked in a change adding 'index_html = None' to the class, and
all tests now pass on my box.

- --
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Zope-Dev mailing list