DDC-1454: SQL error when requesting state for unknown joined inheritance entity with natural identifier #1822

Open
opened 2026-01-22 13:27:09 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 25, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user gedrox:

When having unknown (not cached by UnitOfWork) joined inheritance entity with natural identifier (GENERATOR_TYPE_NONE), method UnitOfWork::getEntityState() fails with SQL error:

Column not found: 1054 Unknown column 't1.file_id' in 'where clause'

Will attach testcase right after creating the issue.

Originally created by @doctrinebot on GitHub (Oct 25, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user gedrox: When having unknown (not cached by UnitOfWork) joined inheritance entity with natural identifier (GENERATOR_TYPE_NONE), method UnitOfWork::getEntityState() fails with SQL error: ``` Column not found: 1054 Unknown column 't1.file_id' in 'where clause' ``` Will attach testcase right after creating the issue.
admin added the Bug label 2026-01-22 13:27:09 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1822