Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-5416

WEBDAV GetLastModified is not updated when you change a file

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 5.2.3
    • Fix Version/s: 5.2.3
    • Component/s: DM
    • Labels:
      None
    • Environment:
      Liferay 5.2.2 Augustine / Build 5202 / February 20, 2009)

      Description

      The modified date that is returned to webdav from liferay is always the creationdate and does not change.
      This behavior prevents our webdav client from updating a file (without using cache) when somebody changes a file.

      To reproduce:
      1.When you save a word document to webdav, this file will get an equal createdate and lastmodifieddate. Lets say at 19.53.
      2. Then you open the file again via WEBDAV, and change some text and save it again letrs say at 19.57. The file will now have a lastmodified time and creation time.
      3. The createdate and modify date will both be 19:53, while we would expect the modifydate to be 19:57.

      The same times are shown when we use a packetsniffer to look at the webdav packets. Another thing we noticed is that creationdate is in this format: 2009-10-15T11:22:09Z and getlastmodified is in this format: Thu, 15 Oct 2009 11:22:09 CEST. Maybe thats according to spec, but it might also cause problems?

      It would be great if somebody could take a look at the WEBDRIVE implementation.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 35 weeks, 2 days ago

                Packages

                Version Package
                5.2.3