[Zope-dev] PageTemplateFiles considered anonymous?

Richard Jones richard@commonground.com.au
Tue, 1 Jul 2003 11:47:03 +1000


-----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-----