Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Approved Submission drafts not being applied #224

Open
chuckneely opened this issue Feb 19, 2025 · 2 comments
Open

Approved Submission drafts not being applied #224

chuckneely opened this issue Feb 19, 2025 · 2 comments

Comments

@chuckneely
Copy link

Describe the bug

We have an issue where an editor submits a draft, and then a publisher approves that draft however the draft doesn't get applied to the entry (even though it's approved).

Image

Steps to reproduce

  1. A user with editor workflow privileges makes a new draft, changes content and submits for approval
  2. A user with publisher workflow privileges approves the submission and hits Save
  3. Visit the entry, the approved draft has not been applied

Expected behaviour:

The approved draft should be applied to the entry.

Craft CMS version

Craft Pro 5.6.5.1

Plugin version

3.0.6

Multi-site?

Yes

Additional context

Happens on both production and local. Current workaround is for the publisher to manually edit the entry after approving and finding the draft they just approved, then "Apply Draft" manually.

@engram-design
Copy link
Member

engram-design commented Feb 20, 2025

Quick one - is this for any or all content? Your example uses Matrix and a translated Plain Text field, which might be factored into this. I can see the Background Image asset field has also changed - did that change? What about any content outside the Matrix field?

@chuckneely
Copy link
Author

It appears to be all content, I've attached another screenshot with Craft's native "Title" field changed with the text "[TEST]" added (as well as a few other fields below). The "Header Blocks" field is a matrix field block. Interestingly you can see the orange bar to the left of the Title field in the comparison indicating that it has been changed but not the matrix block. But still, the "[TEST]" text doesn't show in either the Title field or the matrix blocks fields after the submission has been approved.

Please let me know if any other detailed info would be helpful for you

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants