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


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


      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.




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


              • Created:
                Days since last comment:
                8 years, 6 days ago


                Version Package