PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32018

DL folder's last post date does not change when adding or editing files

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 5 results 

      Description

      1) Upload documents to any folder
      2) Change the last post date of the folder earlier to start date(for ex. 16th Dec 2012)
      3) Add another file to the folder or modify the file inside of the folder
      3) Look inside the database and the last post date has not changed

        Issue Links

          Activity

          Hide
          Ginson Ren added a comment -

          PASSED Manual Testing using the following steps:

          1. Add Documents and Media portlet.
          2. Add a folder "test".
          3. Add some ducuments to the folder.
          4. Shut down the server.
          5. Update the table "dlfolder" in the database with following command:
          update dlfolder set createDate='2013-01-18 02:00:29' where uuid_='b2729d59-7f8e-4816-9193-a53df914e505';
          update dlfolder set modifiedDate='2013-01-17 04:00:29' where uuid_='78930d31-1398-4af6-9a85-a398b9df5835';
          update dlfolder set lastPostDate='2013-01-17 02:55:29' where uuid_='b2729d59-7f8e-4816-9193-a53df914e505';
          6. Restart the server.
          7. Upload a new document to folder "test".
          8. Check the lastPostDate of table "folder".

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          The lastPostDate will not be updated.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: c471b4aa59b5ffa95295287166f18fbfbc94137a.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0041ab8bcf9a1af0d7e93ca0864e434054636250.

          The lastPostDate will be updated.

          Show
          Ginson Ren added a comment - PASSED Manual Testing using the following steps: 1. Add Documents and Media portlet. 2. Add a folder "test". 3. Add some ducuments to the folder. 4. Shut down the server. 5. Update the table "dlfolder" in the database with following command: update dlfolder set createDate='2013-01-18 02:00:29' where uuid_='b2729d59-7f8e-4816-9193-a53df914e505'; update dlfolder set modifiedDate='2013-01-17 04:00:29' where uuid_='78930d31-1398-4af6-9a85-a398b9df5835'; update dlfolder set lastPostDate='2013-01-17 02:55:29' where uuid_='b2729d59-7f8e-4816-9193-a53df914e505'; 6. Restart the server. 7. Upload a new document to folder "test". 8. Check the lastPostDate of table "folder". Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. The lastPostDate will not be updated. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: c471b4aa59b5ffa95295287166f18fbfbc94137a. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0041ab8bcf9a1af0d7e93ca0864e434054636250. The lastPostDate will be updated.

            People

            • Assignee:
              Ginson Ren
              Reporter:
              Joshua Rodriguez (Inactive)
              Recent user:
              Joshua Gok
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 27 weeks, 5 days ago

                Development

                  Structure Helper Panel