PropertyFolder and PropertyObject in Zope 2.5.1
Hi all, I just developed an application on a Zope 2.6 machine with PropertyObject and PropertyFolders - and exported it to 2.5.1 machine. I noticed that strangely enough on 2.5.1 PropertyObject's behaviour changed. If I had in object object_type and a page template of same name, Zope did not call the pagetemplate to show the object - which was the behaviour in Zope 2.6. Tested on both windows and linux 2.6 - and on Linux 2.5.1. Versions of PropertyObject / Folder are 1.2.1 Does anyone have an idea on what is causing this? -huima
Heimo Laukkanen wrote:
Hi all,
I just developed an application on a Zope 2.6 machine with PropertyObject and PropertyFolders - and exported it to 2.5.1 machine. I noticed that strangely enough on 2.5.1 PropertyObject's behaviour changed.
If I had in object object_type and a page template of same name, Zope did not call the pagetemplate to show the object - which was the behaviour in Zope 2.6. Tested on both windows and linux 2.6 - and on Linux 2.5.1.
Versions of PropertyObject / Folder are 1.2.1
Does anyone have an idea on what is causing this?
Hi, PropertyObject should work with Zope 2.5.1 (I haven't tested it, but I didn't use any 'new' Zope-features for that code), PropertyFolder will definitively not, because it makes use of things like __browser_default__ (introduced in 2.6). -mj
participants (2)
-
Heimo Laukkanen -
Maik Jablonski