List Info

Thread: "Last modified by"




"Last modified by"
user name
2006-08-07 18:11:58
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
mattheverysoft.com

On 8/7/06, Jonas Nielsen <jonasnmail.tele.dk> 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-devellists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/archet
ypes-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
_______________________________________________
Archetypes-devel mailing list
Archetypes-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/archet
ypes-devel
"Last modified by"
user name
2006-08-07 18:20:57
By the way, here is more information on our implementation
and the
issues we faced, if you're interested:

http://comments.gmane.org/gmane.comp.web.zope.
plone.versioning/445

On 8/7/06, Matt Hahnfeld <mattheverysoft.com> wrote:
> 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
> mattheverysoft.com
>
> On 8/7/06, Jonas Nielsen <jonasnmail.tele.dk> 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-devellists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/archet
ypes-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
_______________________________________________
Archetypes-devel mailing list
Archetypes-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/archet
ypes-devel
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )