Skip to content

[5.x]: Element chips and cards show other users' provisional drafts #15208

@mmikkel

Description

@mmikkel

What happened?

Description

If there's a provisional draft for an entry, that provisional draft is exposed to other users in chips and cards for that entry:

CleanShot 2024-06-15 at 20 26 08@2x

Steps to reproduce

  1. Have two different users
  2. Log in as user 1, and edit an existing entry. Don't "Save" the edits, i.e. leave it as a provisional draft
  3. Log in as user 2. Confirm that edits made in user 1's provisional draft, as well as the "Edited" tag, displays in element chips and cards for that entry.

Expected behavior

Actual behavior

Craft CMS version

5.2.0

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions