[PHPCR-100] The mixin `jcr:lastModified` is not updated Created: 01/Mar/13  Updated: 24/Aug/13  Resolved: 24/Aug/13

Status: Resolved
Project: Doctrine PHPCR
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Pierre-Louis LAUNAY Assignee: Lukas Kahwe
Resolution: Fixed Votes: 0
Labels: None


 Description   

If the document have `jcr:lastModified`, this attribute is filled on create but not updated when a document is modified.

I tried to set manually this attribute and it is not updated too.



 Comments   
Comment by David Buchmann [ 18/Apr/13 ]

jackrabbit for example does not automatically update this field. but setting it manually should work, so this could be a bug of phpcr-odm

Comment by David Buchmann [ 19/Apr/13 ]

Pierre-Louis LAUNAY could you investigate why manually setting the field does not work? it could be that the phpcr-odm UnitOfWork ignores the field, or also that jackalope ignores changes to the field...

Comment by Lukas Kahwe [ 24/Aug/13 ]

this issue appears to have been fixed:
https://github.com/doctrine/phpcr-odm/commit/d0a2a2ec22f5b4dba4db5704905a958ab75ce718

Generated at Sun Sep 21 02:03:40 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.