Re: Silva Metadata: support for delegates?
Jan-Wijbrand Kolman <[email protected]>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Organization | Infrae |
| Message-ID | <[email protected]> |
Jan-Wijbrand Kolman wrote: > I will also have a look at you patch, mainly to have a better > understanding about delegates and there purpose. I'll get back to you on > this! If I understand SilvaMetadata/Binding.py's get/setObjectDelegator methods (and I'm not sure I do..), this delegation enables you to retrieve and set metadata for a content object Foo, on a different object Bar. In other words, Bar is assigned, or delegated, to handle/contain the metadata of Foo. This, AFAIK is indeed not used in Silva. If at all. Still, if delegates are used in some application, then indeed the getMetadataValue() method on the Metadata service does not regard it, which, in that specific application, might actually be a bug. With this new insight I will have another look at your patch :) regards, jw -- Jan-Wijbrand Kolman [email protected]