-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

PageTemplateFiles don't have an "id" attribute set when they're created - - they have a __name__ instead. This causes functions like getPhysicalPath (and the related absolute_url) to break in fun ways :)

The SimpleItem.Item_w__name__ mixin was created for pretty much this situation. Any objections to adding that mixin to PageTemplateFile by default instead of the vanilla SimpleItem.Item?

Also, is there a reason why Item_w__name__ doesn't define getId() when it does define _setId()?


Richard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin)

iD8DBQE/AOgYrGisBEHG6TARAi6NAJ9MUwVfWo4p0tCRQd2TviUHGGV7xACfW+Vq
dewj4ut3nC7HXx3hp83A2HQ=
=chPE
-----END PGP SIGNATURE-----


_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to