Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, 7.1.X, 7.2.X, Master
-
7.2.x, 7.1.x, 7.0.x
-
Committed
-
3
-
Regression Bug
Description
With the inclusion of LPS-114855, if you have an Asset Publisher portlet displaying a web content and create a draft article, it will cause the content in the Asset Publisher to disappear. Deleting the draft does not fix this.
This is because instead of creating a new assetEntry, we are updating the existing entry. The changes in LPS-114855 introduced this change by including an incorrect check.
Steps to reproduce
1. Start with a clean bundle at patch level DXP 7.2 fixpack 6.
2. Create a basic web content article.
3. Place an asset publisher on the home page. Verify that the asset publisher displays the article.
4. Edit the article and save a new version as a draft.
Expected: asset publisher displays the published version.
Observed: asset publisher displays nothing.
5. Go into the article's version history and delete the draft article.
Expected: asset publisher displays the only, published version remaining.
Observed: asset publisher displays nothing.
Errors
None
Testing
Not reproduced in DXP-5
Reproduced in 7.2 DXP-6
Reproduced in 72x-20200708
Reproduced in master-20200708
Attachments
Issue Links
- is caused by
-
LPS-114855 AssetEntry is not correctly created when importing a LAR with a expired webcontent that doesn't have 1.0 version
- Closed