Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[GH-8366] Catch additional Persistence MappingException#8370

Merged
beberlei merged 1 commit into
doctrine:2.9.xfrom
beberlei:GH-8366-CatchMappingExceptionBug
Dec 4, 2020
Merged

[GH-8366] Catch additional Persistence MappingException#8370
beberlei merged 1 commit into
doctrine:2.9.xfrom
beberlei:GH-8366-CatchMappingExceptionBug

Conversation

@beberlei
Copy link
Copy Markdown
Member

@beberlei beberlei commented Dec 4, 2020

Depending on the mapping drivers, different kinds of exceptions are thrown. We did not catch this in the testsuite, because we don't have the DriverChain configured when testing parameter type inferring and setting this up is a bit much. The inheritence hierachy here would benefit from an interface.

Fixes #8366

@beberlei beberlei added this to the 2.8.1 milestone Dec 4, 2020
@beberlei beberlei merged commit 3ef5a30 into doctrine:2.9.x Dec 4, 2020
@beberlei beberlei deleted the GH-8366-CatchMappingExceptionBug branch December 4, 2020 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stringable objects are treated like "mapped" in 2.8.0

1 participant