Re: "Last modified by"
"Matt Hahnfeld" <[email protected]> Mon, 7 Aug 2006 14:11:58 -0400
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <[email protected]> |
We implemented a "last modified by" line on our site by using the autoversioning capabilities of CMFEditions. It works reasonably well for our archetypes-based content (without schematas), but it also requires CMFEditions to be installed (which is a bit unstable for production sites right now). It would be great if a history could become a part of the archetype-based content object itself, at least until a versioning product like CMFEditions becomes a Plone standard. Originally, we had thought about using Zope's built in history to determine the last modifier, and this would even work if the DB is packed since the most recent revision is all you need, but it doesn't work if the last "modification" was something like a rename, workflow state change, etc. As soon as you limit your history search to only "edit" actions (which is probably what you want for "last modified", right?), you lose the ability to pack your database and maintain the last modifier. Argh! Matt Hahnfeld [email protected] On 8/7/06, Jonas Nielsen <[email protected]> wrote: > Stefan H. Holek wrote: > > I guess what you are looking for is DC listCreators(). > > Yes it returns a list, but no matter how many different people that has > edited the document, the list returned is always: > > ('name_of_creator',) > > > I mean isn't Plone about people collaborating on publishing documents ? > My experience is that after a couple of days using Plone the first thing > people ask about is "Which person has modified this document last?". > > And, okay, if the database hasn't been packed you can browse through the > undo log to find it, but doesn't people agree that this information > needs to be stored in the object itself? Particularly when Dublin Core > already has a Contributors attribute. > > > (Strictly speaking my feature request is for ATContentTypes and not > archetypes, so please direct me to another list if necessary) > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Archetypes-devel mailing list > Archetypes-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/archetypes-devel > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642