[opencms-dev] CmsResource setUserLastmodified() method has no effect

Arturo Martín Lladó arturo.martin.llado at gmail.com
Mon May 20 13:16:04 CEST 2013


Hi, list:

I was trying the folling:

--------------------------------------------------

CmsResource r = cmso.readResource(...);
cmso.lockResource(r);

// Do stuff with the resource as Admin user

r.setUserLastModified(userId); // The CmsUUID of another user.
cmso.unlockResource(r);

--------------------------------------------------

But when I check the history of the affected resource, the last entry
always shows a modification made by the Admin user.

Am I doing anything wrong? Is this a bug?

I'm kind of desperate about this...

Regards,

--
Arturo Martín Lladó
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130520/1ea059fc/attachment.htm>


More information about the opencms-dev mailing list