UnitOfWork does not distinguish between ['', ' '] and [' ', ''] when hashing identifiers #5182

Open
opened 2026-01-22 15:00:55 +01:00 by admin · 0 comments
Owner

Originally created by @deeky666 on GitHub (Jul 7, 2016).

Originally assigned to: @Ocramius on GitHub.

I haz zeh perfect database table that haz 1 composite identifier and contains zeh values ['', ' '] and [' ', ''] and now Doctrine explodes cause it cannot generate different identifier hashes for dat :((((

Simply another edge case for #5922.

Originally created by @deeky666 on GitHub (Jul 7, 2016). Originally assigned to: @Ocramius on GitHub. I haz zeh perfect database table that haz 1 composite identifier and contains zeh values `['', ' ']` and `[' ', '']` and now Doctrine explodes cause it cannot generate different identifier hashes for dat :(((( Simply another edge case for #5922.
admin added the Bug label 2026-01-22 15:00:55 +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#5182