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 entries showing as pending and preview is not working for entries to see the changes #197

Open
azad6026 opened this issue Dec 14, 2023 · 2 comments

Comments

@azad6026
Copy link

Describe the bug

The below issues are happening for existing entries that are frequently edited (like events and resources):
First issue:
Even though the entry is approved and published , the status of it remains as pending and not approved and it is confusing. Then when we go into the entry again to approve it once more, there is nothing to approve and the entry is in live status.

Second issue:
Once clicking on the entries from the workflow dashboard or from the publisher emails to check the entry for changes, it shows up as a revision and the preview button is not available on the page to preview changes. Only option is to revert it to that revision which is not correct. Also in this case, once clicking on the approve and publish button, a 400 error appears and says there is no draft and the entry cannot be approved.
Screen Shot 2023-12-14 at 11 59 50 am

Steps to reproduce

The below issues are happening for existing entries that are frequently edited (like events and resources):
First issue:
Even though the entry is approved and published , the status of it remains as pending and not approved and it is confusing. Then when we go into the entry again to approve it once more, there is nothing to approve and the entry is in live status.

Second issue:
Once clicking on the entries from the workflow dashboard or from the publisher emails to check the entry for changes, it shows up as a revision and the preview button is not available on the page to preview changes. Only option is to revert it to that revision which is not correct. Also in this case, once clicking on the approve and publish button, a 400 error appears and says there is no draft and the entry cannot be approved.
Screen Shot 2023-12-14 at 11 59 50 am

Craft CMS version

4.5.11.1

Plugin version

2.0.7

Multi-site?

No

Additional context

This is happening in production environment.

@engram-design
Copy link
Member

I can't seem to replicate either issue at the moment. I'm not sure how the approved submission isn't being marked as such, as that's pretty intrinsic to the approve behaviour to set that setting. Unless it's maybe something else you're looking at?

I will note that if you're editing an existing entry by creating a submission on that, it'll create a draft, which once approved, it'll be deleted. Just in case that's part of the confusion.

If you're able to, it might be worth sending through a screen recording detailing the journey from start to finish. You're welcome to send through to [email protected] if that's easier.

@azad6026
Copy link
Author

azad6026 commented Dec 14, 2023

Thank you for coming back to this. I have asked the client to send through a recording and will let you know once got them and will share it. Cheers.

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