PlonePAS and MutablePropertySheet
Wichert Akkerman
wichert at wiggy.net
Tue Jun 12 10:21:23 UTC 2007
Previously Miles wrote:
> Hi,
>
> I'm working on incorporating some additions to the SQLPASPlugin that
> we're using here, which allow it to work with plain PAS, and also
> provide generic setup support etc...
>
> There's one item that is preventing this from working "as planned": the
> way the PropertyProvider plugin returns a property sheet rather than
> just a dict of data (plain PAS explicitly requires the plugin to return
> a dict).
Why is that? That sounds like a PAS bug.
> I think this can be avoided if the sheet type is determined in the
> userfactory plugin (PlonePAS/plugins/ufactory.py) rather than directly
> in the plugin.
That is certainly the wrong approach. User factories do not know
anything about properties and should not know anything about them.
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Product-Developers
mailing list