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

        Pierre-Louis LAUNAY created issue -
        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
        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
        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
        Lukas Kahwe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=PHPCR-100, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: