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
> 

_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to