Re: [Archetypes-users] [Product-Developers] no version diffs for folderish content types?

3 views
Skip to first unread message

Christoph Pingel

unread,
Oct 14, 2011, 6:28:43 AM10/14/11
to product-d...@lists.plone.org, archetyp...@lists.sourceforge.net
Can someone from the versioning team confirm that this is true?

> it's a limitation of CMFEditions that prevents fields using
> AnnotationStorage from beeing versioned properly.

I developed a product for the Plone 4 platform using AnnotationStorage all over the place, and I'm in major trouble making versioning work.

I'm using archetpyes, and according to my observations, CMFEditions behaves like this:

Folderish types:
Versioning only works with AttributeStorage

Non-Folderish types:
Versioning work on fields with AnnotationStorage as far as I didn't declare AnnotationStorage on inherited fields, like in
#VersionstestFolderSchema['title'].storage = atapi.AnnotationStorage()

Otherwise, only AttributeStorage works.

This seems to be a major issue, esp. since with the paster scripts, AnnotationStorage is considered the default.

My question is:
If I want CMFEditions to be usable for my product, would I rather
- user AttributeStorage throughout
- try to make CMFEditions work with AnnotationStorage somehow (I already had some success with that)

Thanks for any input,
best regards,
Christoph Pingel

Am 03.06.2011 um 15:08 schrieb Harald Friessnegger:

> finally and thanks to alec I found out whats wrong:
>
> it's a limitation of CMFEditions that prevents fields using
> AnnotationStorage from beeing versioned properly.
>
> fields using AttributeStorage work perfecly fine out of the box.
>
> bugreport: https://dev.plone.org/plone/ticket/11887
>
> regards, fRiSi
>


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Archetypes-users mailing list
Archetyp...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/archetypes-users

Reply all
Reply to author
Forward
0 new messages