Mix:lastModified behaviour

2015-02-19 Thread Raymond Boswel
Hi devs, I'm using the following code snippet to update the content of a node: vm.checkout(fileNode.getPath()); Binary binary = session.getValueFactory().createBinary(new ByteArrayInputStream(data)); content.setProperty("jcr:data", binary); session.save(); Version newVersion = vm.checkin(fileNode

Re: Mix:lastModified behaviour

2015-02-20 Thread Alexander Klimetschek
On 19.02.2015, at 23:23, Raymond Boswel wrote: > Is there something special I have to do to get the lastModifiedBy property > updated? This is not automatically set by the repository, neither in Jackrabbit 2 nor in Oak. See this old issue about some history: https://issues.apache.org/jira/brow

Re: Mix:lastModified behaviour

2015-02-20 Thread Raymond Boswel
Ok, that clarifies it. Thanks Alex! On 21 Feb 2015 01:10, "Alexander Klimetschek" wrote: On 19.02.2015, at 23:23, Raymond Boswel wrote: > Is there something special I have to do to get the lastModifiedBy property > updated? This is not automatically set by the repository, neither in Jackrabbit

Re: Mix:lastModified behaviour

2015-02-21 Thread Michael Dürig
On the Oak side there is also https://issues.apache.org/jira/browse/OAK-533, which is still unresolved. Michael On 21.2.15 12:09 , Alexander Klimetschek wrote: On 19.02.2015, at 23:23, Raymond Boswel wrote: Is there something special I have to do to get the lastModifiedBy property updated