mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #626] [CLOSED] default discriminator map - full namespace #8468
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/626
Author: @Padam87
Created: 3/22/2013
Status: ❌ Closed
Base:
master← Head:autodmap📝 Commits (1)
cd3003adefault discriminator map - full namespace📊 Changes
3 files changed (+11 additions, -44 deletions)
View changed files
📝
lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(+5 -20)📝
lib/Doctrine/ORM/Mapping/MappingException.php(+0 -18)📝
tests/Doctrine/Tests/ORM/Mapping/ClassMetadataFactoryTest.php(+6 -6)📄 Description
Using Symfony2, if you have two entities with the same name in different bundles, automatic discriminator map detection will trow MappingException.
If the namespace is included, there should be no more duplicate key issues.
(In this case, setting the map manually is not an option)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.