mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #146] [MERGED] Improve Error Messages in ClassMetadata and UnitOfWork #7773
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/146
Author: @beberlei
Created: 10/15/2011
Status: ✅ Merged
Merged: 12/21/2011
Merged by: @beberlei
Base:
master← Head:ImproveErrorMessages📝 Commits (6)
cb28bfdImprove Error Messages in ClassMetadata and UnitOfWorkdba8360Merge master into ImproveErrorMessages3aea203Throw exception if target entity is not found.5392737Improved and extracted UnitOfWork error messagesa8906ceStringify entity in all UnitOfWork exceptions719e05eExtract more messages into ORMInvalidArgumentException📊 Changes
11 files changed (+260 additions, -39 deletions)
View changed files
📝
lib/Doctrine/ORM/Mapping/ClassMetadata.php(+19 -0)📝
lib/Doctrine/ORM/Mapping/MappingException.php(+5 -0)➕
lib/Doctrine/ORM/ORMInvalidArgumentException.php(+107 -0)📝
lib/Doctrine/ORM/UnitOfWork.php(+22 -32)📝
tests/Doctrine/Tests/ORM/Functional/Locking/LockTest.php(+1 -1)➕
tests/Doctrine/Tests/ORM/Functional/UnitOfWorkLifecycleTest.php(+71 -0)📝
tests/Doctrine/Tests/ORM/Mapping/AbstractMappingDriverTest.php(+5 -1)📝
tests/Doctrine/Tests/ORM/Mapping/BasicInheritanceMappingTest.php(+1 -0)📝
tests/Doctrine/Tests/ORM/Mapping/ClassMetadataFactoryTest.php(+2 -2)📝
tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php(+13 -2)📝
tests/Doctrine/Tests/ORM/Tools/Export/AbstractClassMetadataExporterTest.php(+14 -1)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.