[Product-Developers] New style collections: migration, sub collections?

Alex Clark aclark at aclark.net
Thu Nov 1 18:38:42 UTC 2012


On 2012-11-01 17:29:20 +0000, Maurits van Rees said:

> Hi,
> 
> A few quick questions about the new style collections in Plone 4.2, to
> check that I understand them correctly.
> 
> Unless I have missed something, old style collections are not migrated
> to new style when migrating to Plone 4.2.  Does someone have code that
> would do that?  Perhaps an add-on that I missed?  If not, then I might
> want to create a package for that.


There is no code that I am aware of


> 
> Sub collections are not possible in the new style.  I guess this is
> because the UI and the logic can quickly get confusing and you do not
> win much over creating a second, separate collection.
> 
> I am guessing that creating a folderish version of the new style
> collections should work though, allowing you to nest them.  Some logic
> would be needed that looks for a parent collection and combine the two
> queries.  That may not be good for Plone core, but are there technical
> reasons why this would not be possible?


Don't know about technical reasons, but what are the use cases for "sub 
collections"?


> 
> Thanks,


-- 
Alex Clark · https://www.gittip.com/aclark4life/




More information about the Product-Developers mailing list