jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aleamb <aamb...@albaelectronica.com>
Subject Re: get user who created the version
Date Thu, 10 Jan 2013 15:27:11 GMT
Thanks Alex. 

Then I have no choice that manage those attributes with my code. It is
tedious.

I don't understand why JSR-282 orjackrabbit do not consider an attribute for
storing user id for a nt:version node. It is very useful for version
management.



Alexander Klimetschek-2 wrote
> On 10.01.2013, at 13:05, aleamb &lt;

> aambroa@

> &gt; wrote:
> 
>> ┬┐Can be get the user who created a specific version of a node?
>> 
>> I have tried to add mix:lastModified mixin for to read the last user who
>> modified a node through of jcr:lastModifiedBy attribute, but it does not
>> work; ie, adding mixin to node is ok, but jcr:lastModifiedBy value is
>> always
>> the user who created the node.
> 
> jcr:lastModified/By are not set automatically. You need to make sure to
> set them on modification.
> 
> Cheers,
> Alex





--
View this message in context: http://jackrabbit.510166.n4.nabble.com/get-user-who-created-the-version-tp4657322p4657325.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message