Skip to content

Approved entries showing as pending and preview is not working for entries to see the changes #197

@azad6026

Description

@azad6026

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions