Skip to content

[5.x]: incorrectly shows red warning sign after save draft (in conjunction with the workflow plugin) #19035

@HoppC

Description

@HoppC

What happened?

Image

Description

We have observed the following behavior:

In one of our projects, we are utilizing the Workflow plugin. A project user creates a new draft, incorporates their changes into an entry, and subsequently submits these changes for review. The draft is saved correctly; however, Craft then displays a warning indicating that the draft could not be saved. From a functional standpoint, everything appears to be working correctly; however, in terms of usability, this is confusing and suboptimal for the user. We suspect this issue lies with Craft itself, rather than with the plugin.

Thank you for looking into this!

Steps to reproduce

  1. Open an entry
  2. Create Draft
  3. Change something
  4. save draft / Send workflow review request

Expected behavior

no red warning sign, just show the green checkmark

Actual behavior

show green checkmark, after some seconds (and in our opinion after a js request) - the red warning sign be shown -> see screenshot above

Craft CMS version

5.10.2

PHP version

8.2.26

Operating system and version

linux

Database type and version

PostgreSQL 16.14

Image driver and version

Imagick 3.7.0

Installed plugins and versions

-Workflow v3.0.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions