mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #12297] test persist an uninitialized lazy ghost #13665
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/12297
Author: @soyuka
Created: 11/29/2025
Status: 🔄 Open
Base:
3.6.x← Head:test📝 Commits (1)
fa61d56test persist an uninitialized lazy ghost📊 Changes
1 file changed (+24 additions, -0 deletions)
View changed files
📝
tests/Tests/ORM/Functional/StandardEntityPersisterTest.php(+24 -0)📄 Description
We've the use case inside API Platform where the JsonStreamer deserializes a JSON into a Lazy Ghost as while its not consumed (streaming) we don't need to initialize this object. Therefore at some point we try to persist an uninitialized lazy ghost and it'll likely throw "column title must not be null".
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.