[PR #8109] Add alert to "avoid persisting detached entities" #10811

Closed
opened 2026-01-22 16:08:46 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/8109

State: closed
Merged: Yes


The alert is hidden into the code

8c259ea5cb/lib/Doctrine/ORM/EntityManager.php (L619-L620)

while it's useful to be mentioned in the documentation, the same way it is done for the documentation from Doctrine ODM, as caution alert at the end of the section.

**Original Pull Request:** https://github.com/doctrine/orm/pull/8109 **State:** closed **Merged:** Yes --- The alert is hidden into the code https://github.com/doctrine/orm/blob/8c259ea5cb632dbb57001b2262048ae7fa52b102/lib/Doctrine/ORM/EntityManager.php#L619-L620 while it's useful to be mentioned in the documentation, the same way it is done for the [documentation from Doctrine ODM](https://github.com/doctrine/mongodb-odm/blob/2.0.x/docs/en/reference/working-with-objects.rst#persisting-documents), as caution alert at the end of the section.
admin added the pull-request label 2026-01-22 16:08:46 +01:00
admin closed this issue 2026-01-22 16:08:47 +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#10811