Documents & Media missing delete/revert version in Version History
Description
Environment
Attachments
is related to
relates
Activity

Paul PiaoMay 6, 2012 at 11:23 PMEdited
PASSED Manual Testing following the steps in the Timothy comment.
1. Go to Control Panel > Documents and Media
2. Click Add > Basic Document
3. Browse for file "Title: Liferay.odt"
4. Click Publish
5. Click Liferay.odt
6. Click Edit
7. Browse for file
8. Click Publish
9. Click drop down arrow > Revert in 1.0 row under Version History
10. Assert that Version 2.0 displays
11. Click drop down arrow > Delete Version in 1.0 row under Version History
12. Click OK
13. Assert that Version 1.0 no longer displays, but Version 1.1 and Version 2.0 still display
Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.0 CE GA1.
No drop down arrow displays under Version History, only Download and View icons.
Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 55b6c71fde77a8d3a42e6da8f7b38dfc77686d33.
Tomcat 7.0 + MySQL 5. Portal 6.1.x CE GIT ID: d1c45e98937e09b8ccf6974c6f5a86fcf87325e4.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: b8baaee26d622ffb65065f96168983d301b9e350.
I can see the drop down arrow displays under Version History, and can delete/revert version in version history.

Timothy HsuApril 27, 2012 at 4:38 PM
PASSED Manual Testing following the steps in the previous comment.
Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x CE GIT ID: fd5c09985cbdc468be2c02fa62ac87a4d0e8f4ba.

Timothy HsuApril 27, 2012 at 10:41 AM
PASSED Manual Testing using the following steps:
Go to Control Panel > Documents and Media
Click Add > Basic Document
Browse for file
Title: Liferay.odt
Click Publish
Click Liferay.odt
Click Edit
Browse for file
Click Publish
Click drop down arrow > Revert in 1.0 row under Version History
Assert that Version 2.0 displays
Click drop down arrow > Delete Version in 1.0 row under Version History
Click OK
Assert that Version 1.0 no longer displays, but Version 1.1 and Version 2.0 still display
Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 0b21e7f2e3270424c8d0e1ba48644939660ad187.
No drop down arrow displays under Version History, only Download and View icons.
Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 6613343c0366f70019c6139167223e3679f53a71.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 9872fe8e313d12b2ead145a62b0eca34160f0937.

Michael SaechangApril 26, 2012 at 2:32 PM
Committed on:
Portal 6.2.x GIT ID: f59bac69627eb1bf39c0b0c06d0fe1abd9e46fed.
Details
Assignee
Steven TabeshSteven Tabesh(Deactivated)Reporter
Davide Nicola Paolo RossiDavide Nicola Paolo RossiLabels
Branch Version/s
6.1.xBackported to Branch
CommittedFix Priority
3Git Pull Request
Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Branch Version/s
Backported to Branch
Fix Priority
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Hi to all,
In liferay 6.0.x and previous versions, in Document Library one could navigate through Version History select a Version, maybe an old useless one and delete it. This functionality seems not to exist or work in 6.1.x version.
In 6.0 there is a delete bin button on the right to delete version.
In 6.1 there is no delete button.
Clicking on the lens button you select the version that will appear as eg Lifery.odt (Version 1.1)
Clicking the delete button will delete the whole document and not just the selected Version.
Added image attacments for reference.
6.0 version with delete button
6.1 version with lens for version selection
6.1 Lifery.odt (Version 1.1) selected and pressed delete button. WHOLE DOC WAS DELETED
See discussion here: http://www.liferay.com/community/forums/-/message_boards/message/13529800