DDC-1016: Example code does not reflect real code #1270

Closed
opened 2026-01-22 13:07:50 +01:00 by admin · 1 comment
Owner

Originally created by @doctrinebot on GitHub (Feb 3, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user thoth:

http://www.doctrine-project.org/docs/orm/2.0/en/reference/working-with-objects.html#entity-state

In the switch cases all the UnitOfWork constants are invalid.

Example:
UnitOfWork::NEW instead of being UnitOfWork::STATE_NEW

Originally created by @doctrinebot on GitHub (Feb 3, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user thoth: http://www.doctrine-project.org/docs/orm/2.0/en/reference/working-with-objects.html#entity-state In the switch cases all the UnitOfWork constants are invalid. Example: UnitOfWork::NEW instead of being UnitOfWork::STATE_NEW
admin added the Documentation label 2026-01-22 13:07:50 +01:00
admin closed this issue 2026-01-22 13:07:52 +01:00
Author
Owner

@billschaller commented on GitHub (Jan 5, 2016):

Fixed in 729ad9e

@billschaller commented on GitHub (Jan 5, 2016): Fixed in 729ad9e
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1270