Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Pani GuiPani Gui(Deactivated)Reporter
Liferay WCMLiferay WCM(Deactivated)Labels
Branch Version/s
6.1.x6.0.xBackported to Branch
CommittedFix Priority
3Git Pull Request
Components
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee
Pani Gui
Pani Gui(Deactivated)Reporter
Liferay WCM
Liferay WCM(Deactivated)Labels
Branch Version/s
6.1.x
6.0.x
Backported to Branch
Committed
Fix Priority
3
Git Pull Request
Components
Fix versions
Affects versions
Priority
Zendesk Support
Zendesk Support
Zendesk Support
Created January 31, 2012 at 9:38 AM
Updated June 24, 2023 at 3:50 PM
Resolved October 3, 2012 at 5:19 PM
Steps to reproduce:
1. Create an structure which contains a Document from Docs and Media
2. Add a new Basic Document in the Document Library.
3. Add a new web content display in a page, and add a new web content using the structure from #1 and the document in #2.
4. Activate Staging --> Check the database, table dlFileVersion, you will have 1 version in live and another in staging
5. Publish to Live again --> still the same, this is ok
6. Edit the document in Staging (now you have version 1.1)
7. Publish to Live --> Now in the database, you have another version in live (2.0)
8. Publish to Live again --> Another version is created (3.0) and so on...
The main issue is that the DLPDataHandler is assuming the version is kept when publishing (see method isDuplicateFileEntry), but the version is not kept when publishing. We should use the dlFileVersion uuid to do this checking.