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

On deletion, last post dates are incorrect in Document Library, Message Boards


    • Fix Priority:


      Steps to reproduce
      1. Admin > Site Administration > Content > Documents and Media
      2. Add folder named "folder1"
      3. Navigate into 'folder1' and add Basic Document "doc1" - take note of the time when published.
      4. Wait 2 minutes, then publish another Basic Document in 'folder1' called "doc2".
      5. Move 'doc2' to Recycle Bin.
      6. Check last post date value of 'folder1' - found in DLFolder table.
      7. Last post date value reflects the posted date of 'doc2' instead of 'doc1'.

      Expected outcome: The last post date should show the post date for "doc1".

      Actual outcome: The last post date shows the post date for "doc2".

      When an FileEntry/FileVersion or Message is deleted, we do not update the last post date for folder/thread to the proper date. We should set it to the date of the last added/updated entry or message.

      This may require traversing the entire folder/thread, which should be offloaded to a separate thread to reduce overhead from this kind of metadata.


          Issue Links



              • Assignee:
                roberto.diaz Roberto Díaz
                kenneth.chang Kenneth Chang (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                4 Start watching this issue


                • Created:
                  Days since last comment:
                  6 years, 29 weeks, 5 days ago


                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE RC5
                  6.2.0 CE GA1