mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #1006] [MERGED] Handling invalid discriminator values #9023
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/1006
Author: @Trainmaster
Created: 4/9/2014
Status: ✅ Merged
Merged: 4/15/2014
Merged by: @guilhermeblanco
Base:
master← Head:master📝 Commits (5)
f7b95c1Add: invalidDiscriminatorValue methodd1c722cFix: handle invalid discriminator valuea054b59[DDC-3076] Add testdf020e0[DDC-3076] Fix ObjectHydrator8740d54[DDC-3076] Add/Improve tests📊 Changes
5 files changed (+88 additions, -2 deletions)
View changed files
📝
lib/Doctrine/ORM/Internal/Hydration/HydrationException.php(+14 -0)📝
lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(+7 -1)📝
lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php(+7 -1)📝
tests/Doctrine/Tests/ORM/Hydration/ObjectHydratorTest.php(+30 -0)📝
tests/Doctrine/Tests/ORM/Hydration/SimpleObjectHydratorTest.php(+30 -0)📄 Description
Two scenarios:
Notice: Undefined index ... on line 102andexception 'Doctrine\Common\Persistence\Mapping\MappingException' with message 'Class '' does not exist' in. The proposed changes deal with this.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.