Cloned entity are not set to published even if save as published box is checked.

Created on 9 October 2024, 7 months ago

Problem/Motivation

Save as published is not working as designed

Steps to reproduce

  • Clone an entity
  • Set save entity as published to true
  • Save cloned entity
  • Cloned entity takes default moderation state not published

Proposed resolution

After I checked the module set status of the cloned entity to 1 without also making sure moderation state is set to published based on the save as published checkbox so we need to do that.

Note: for me it checks for moderation state in $properties['moderation_state'] but there is no moderation state there it also doesn't take the save as published result in consideration.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇯🇴Jordan Ibrahim Tameme

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024