Re: [Zope-dev] SVN: zope.app.publisher/trunk/ - Menu items registered with <browser:page/> were not re-registered after the
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Christian Zagrodnick wrote:
Log message for revision 93600: - Menu items registered with <browser:page/> were not re-registered after the first functional test layer ran. In any subsequent functional test layer the items where not availabe (introduced in 3.5.0a3).
I removed the "transient registry" for menuitems registered with the page directives. Since no test fails without it and I have a test which fails with it I feel quite comfortable. If this code is still required add a test case and proper clean up code.
Changed: U zope.app.publisher/trunk/CHANGES.txt A zope.app.publisher/trunk/src/zope/app/publisher/browser/tests/menutestlayer.zcml A zope.app.publisher/trunk/src/zope/app/publisher/browser/tests/test_menutestlayer.py U zope.app.publisher/trunk/src/zope/app/publisher/browser/viewmeta.py
-=- Modified: zope.app.publisher/trunk/CHANGES.txt =================================================================== --- zope.app.publisher/trunk/CHANGES.txt 2008-12-04 05:11:53 UTC (rev 93599) +++ zope.app.publisher/trunk/CHANGES.txt 2008-12-04 07:19:40 UTC (rev 93600) @@ -8,6 +8,10 @@ - Added possibility to specify custom item class in menuItem, subMenuItem and addMenuItem directives using the ``item_class`` argument (LP #291865).
+- Menu items registered with <browser:page/> were not re-registered after the + first functional test layer ran. In any subsequent functional test layer the + items where not availabe (introduced in 3.5.0a3). + 3.5.2a1 (2008-10-23) ====================
That CHANGES.txt is out of whack: there is no 3.5.2a1 tag in SVN (nor should there be: we don't do alphas for bugfix-only micro-releases). Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJN9kV+gerLs4ltQ4RAvKCAJ9KuilO6CBxKjlVfQPDYpX/hMio7QCfQ/Ns Vwefmd1DgxW1xjPHxDX31fk= =vklM -----END PGP SIGNATURE-----
participants (1)
-
Tres Seaver