Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-100

The mixin `jcr:lastModified` is not updated

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • 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.

        Activity

        Hide
        Lukas Kahwe added a comment -
        Show
        Lukas Kahwe added a comment - this issue appears to have been fixed: https://github.com/doctrine/phpcr-odm/commit/d0a2a2ec22f5b4dba4db5704905a958ab75ce718
        Hide
        David Buchmann added a comment -

        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...

        Show
        David Buchmann added a comment - 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...
        Hide
        David Buchmann added a comment -

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

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

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            Pierre-Louis LAUNAY
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: