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

[5.x]: Entry ID's changing upon saving matrix field #15874

Open
iwingate-digistorm opened this issue Oct 10, 2024 · 0 comments
Open

[5.x]: Entry ID's changing upon saving matrix field #15874

iwingate-digistorm opened this issue Oct 10, 2024 · 0 comments
Labels

Comments

@iwingate-digistorm
Copy link

iwingate-digistorm commented Oct 10, 2024

Description

When adding two or more entries to a matrix field, the entry IDs and UIDs change upon saving the matrix. This only happens once after saving a matrix with newly added entries.

Steps to reproduce

  1. Create a matrix field (card view mode, I haven't tested others).
  2. Add two or more entries to the matrix and take note of their IDs.
  3. Save the matrix.
  4. Check the entries in the matrix; their IDs and UIDs will have changed.

Expected behavior

The entry IDs and UIDs should remain consistent after saving the matrix.

Actual behavior

The entry IDs and UIDs change after saving the matrix.

Craft CMS version

5.4.4

PHP version

8.3

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

1 participant