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

Nathan Van Gheem vangheem at gmail.com
Thu Nov 1 20:04:05 UTC 2012


On Thu, Nov 1, 2012 at 1:38 PM, Alex Clark <aclark at aclark.net> wrote:

> 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"?
>
There's already a branch for this:
https://github.com/plone/plone.app.collection/tree/2.x-folderish-collection

I don't recall the current status or discussion for this being merged to
core.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20121101/17ccca8a/attachment.html>


More information about the Product-Developers mailing list