Re: Folderish + Behavior + NameChooser = oddness
Wichert Akkerman <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
> On 19 Mar 2015, at 12:18, Jens W. Klein <[email protected]> wrote: > > Agreed. But it need to be documented - both the reason for *-1 names and > best practice for field naming. It’s a pretty well known rule though: the Zope publisher will traverse over both attributes and dictionary items equally, just like TALES expressions. Effectively they share the same namespace That is why the OFS object manager makes sure you do not have a conflict between the two, since that could very well make existing content unreachable. Changing that means changing standard Zope behaviour and has a high likelihood of breaking existing systems. In hindsight that is a bit of a design wart in Zope. Now this might be possible to fix: you can change (or replace) the Zope publisher to never traverse over attributes, and modify the TALES handler similarly. It might be an interesting experiment to do. This is perhaps a good point to mention that Zope still needs a new release manager: this might be interesting for Zope 4. Wichert. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plone-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-developers