Skip to content

Entity is not being updated in a long-running process #9030

Discussion options

You must be logged in to vote

Solved: The entity has another repository to handle only-read versions of it. What happened was an event that called that read-only repository and then set the class metadata to read-only. As that metadata is shared, Doctrine stopped tracking changes on all my entities (of that class).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gnumoksha
Comment options

Answer selected by gnumoksha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant