Re: Patch: HistoricalRevisions, atct_history support for annotation storage (used by newer ATCT)
Martin Aspeli <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <[email protected]> |
Matt Hahnfeld <matth@...> writes: > > New versions of ATContentTypes use Archetypes' annotation storage > (Storage/annotation.py, annotations.py) for some fields. Annotation > storage was not supported by Zope's built in history feature, making it > impossible to use a number of cool features that used to be standard, like > the "history" tab mixin for ATCT, and Plone's history_form (still > included, but broken, in 2.1.2). Hi Matt, This is very cool! :-) Does this mean that the history tab starts working again for ATDocument (Page), event, news etc. types? Does it have tests? > This is technically a patch to Zope (not Plone or ATCT), but since it > directly relates to Archetypes/ATContentTypes I figured it would be best > to post here. If there is some way this could be added to the AT code > instead of Zope code, that might be preferable -- but at this point it > seems like the best file to patch is zope's OFS/History. Understandable. Perhaps it can be put into Zope, or at least distributed as a monkey patch. Andreas? Jensens? Martin ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642