-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 DXP SP2, Master
-
Fix Version/s: 7.0.0 DXP SP2, 7.0.0 DXP FP13, 7.0.0 DXP SP3, 7.0.3 CE GA4, 7.1.X, Master
-
Component/s: Workflow, ~[Archived] WCM
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:4
-
Git Pull Request:
Issue
When copying a Web Content article that has been approved through the workflow, it is copied with Approved status and bypasses the approval process.
When we copy a Web Content article that is subject to the workflow process and has not yet been approved, it is in the Pending status. However, when we copy it, it is copied with Draft status.
Steps to reproduce
- Start DXP + FP11
- Sign In with test@liferay.com
- Go into Liferay DXP site > Content > Web Content
- In the Web Content panel, click on
to open info sidebar > click on ⋮ > Edit
- Select Single Approver (Version 1) to Default Workflow for All Structures, and Save it
- Add a new user User1
- Add the user to Site Memberships of Liferay DXP site, and assign "Site Owner" site role to it
- In a separate browser sign in with User1
- As User1, go into Web Content panel of Liferay DXP site
- Click on the
button to Add a Basic Web Content > create an article called EXAMPLE, and click Submit for Publication
> Note that the web content article EXAMPLE is created with Pending status - In the browser where we are signed in with test@liferay.com, approve the EXAMPLE article created by User1
- In the browser where we are signed in with User1 go into Liferay DXP site > Content > Web Content
- Locate the EXAMPLE article, then click on the hamburger menu next to it (⋮), then Copy the web content
Actual result
The content is copied as Approved content. Looks like bypass the approval process.
Expected result
The content should be copied as Draft or Pending status because it need to through the approval process. The copied content should enter a workflow administrator's task queue as a new article.
Reproduced in
DXP + FP11
ee-7.0.x (62986c0b62b29c09738c1e5f20a8a29ad79e4b85)
master (33def4dcab6cb387d1110b93cd703a5e4cc2c941)
Note
I found LPS-35186 and it fixes the issue for 6.1.x but does not fix dxp. So I'm creating this LPP for DXP.