--On 28. August 2008 04:46:18 -0700 Rizwan <
rijvan@...> wrote:
>
>
> I am creating new version of object and when this newly created object
> publish i will delete old object
What is a "new version of object". A new instance? A new object in the
context of the Plone versioning system? A copy of an object?
>. In this process there is nothing
> happening with catalog so what i would like to from transaction history i
> am fetching last modified user and like to set creator of newly created
> object.
>
> so i would like to do something like obj.setCreator(last_modified_author)
> in my code is any other way to do? as this seem to be not working..:-/
>
No idea what this has to do with the catalog. You access the creator of the
old object through the accessor method of the old object and assign it to
the new object using setCreator(). What's wrong with this approach?
-aj
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users