Skip to content

Loading…

DDC-1856: [GH-364] set initialized => true only after actually initializing #2517

Closed
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of Burgov:

Url: #364

Message:

I have a situation where I run into the EntityNotFound exception because of a filter which filters out entities with "deleted = 1". I catch this exception and display an error. However, in the next loop, when I try to catch the error again, it is not thrown, as initialized is already set to true. The entity, however, is not in fact initialized

@doctrinebot

Issue was closed with resolution "Invalid"

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-364] was closed:
doctrine/dbal#364

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.