Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.1.X EE, 6.2.0 CE M4
-
Component/s: DM, DM > Document Library Display
-
Labels:
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Similar Issues:
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
- causes
-
LPS-32710
Publish to live cause NullPointerException.
-

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.