Skip to content

[5.x]: Unexpected ID column value for entries with edits #17153

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

Closed
gregorterrill opened this issue Apr 22, 2025 · 1 comment
Closed

[5.x]: Unexpected ID column value for entries with edits #17153

gregorterrill opened this issue Apr 22, 2025 · 1 comment
Labels

Comments

@gregorterrill
Copy link

What happened?

Description

When I have an ID column on a section view, it's not showing what I would expect when an entry has unsaved changes. Here, the entry ID for the live Our History page is 990 (when I click into the edit screen, the URL is https://sitename.test/admin/entries/pages/990-our-history?site=default). However, the column is showing 1066, which I think is the unsaved draft ID. I would expect to always see 990 listed as the ID here.

Image

Steps to reproduce

  1. Make the ID column visible on an entry index.
  2. Edit an entry and make some changes without saving.
  3. Reload the entry index. Note the ID has changed.

Craft CMS version

5.7.1.1

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

@brandonkelly
Copy link
Member

Thanks for reporting that! Craft 5.7.2 is out with a fix.

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

No branches or pull requests

2 participants