Skip to content

Resolve unflushed generated ID to null#11

Open
zanbaldwin wants to merge 1 commit into
mainfrom
z/empty-subject-id
Open

Resolve unflushed generated ID to null#11
zanbaldwin wants to merge 1 commit into
mainfrom
z/empty-subject-id

Conversation

@zanbaldwin

@zanbaldwin zanbaldwin commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

SubjectHelper::getObjectIdentifier() returned Doctrine's raw identifier array for an entity whose ID is database-generated but not yet flushed. getIdentifierValues() yields [id => null] (or an empty array) so ID was persisted as the literal string [].

SubjectHelper::getObjectIdentifier() returned Doctrine's raw identifier array for an entity whose id is database-generated but not yet flushed.
getIdentifierValues() yields `[id => null]` (or an empty array) so ID was persisted as the literal string `[]`.
@zanbaldwin zanbaldwin self-assigned this Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant