Ticket #10943 (closed Bug: invalid)
Integrate plone.app.drafts with Dexterity
|Reported by:||dukebody||Owned by:||dukebody|
This is not exactly a Deco/Tiles/Blocks bug/feature request, but it's vital to get the whole system working.
Persistent tiles store their data as annotations in the context object. When using dexterity to create a content object, the object is not created until saved for first time, so the data of any persistent tile inserted in the content object while creating it is annotated in the parent folder instead. After the content object is created, the tiles try to get their data from the object annotations and fail, since it's in the parent folder.
plone.app.drafts already have hooks to save the persistent tile data to a draft while adding/editing, but p.a.drafts needs to be integrated with Dexterity for this to work. Jason Mehring has already worked on this, but the code needs to be cleaned up and tests written.