mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Property "xxx" in "xxx" was already declared, but it must be declared only once #5248
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?
Originally created by @kricha on GitHub (Sep 11, 2016).
Originally assigned to: @Ocramius on GitHub.
[Doctrine\ORM\Mapping\MappingException] Property "user" in "Questions" was already declared, but it must be declared only onceI think there is an issue, because i can't find problem declared in error.
So, is it issue when i am doing
bin/console doctrine:mapping:import AppBundle yml --filter=Options?@kricha commented on GitHub (Sep 13, 2016):
create table for Questions entity.
@coudenysj commented on GitHub (Sep 28, 2016):
@aLkRicha Do you have a backtrace of the
MappingException?@ksn135 commented on GitHub (Dec 23, 2018):
https://github.com/doctrine/doctrine2/pull/5965
@Ocramius commented on GitHub (Dec 23, 2018):
Closing due to lack of tests.
@ksn135 commented on GitHub (Dec 23, 2018):
@Ocramius well, yes, now I see. It generates invalid schema.

In my case it generates 18 errors when importing 282 tables.
@Ocramius commented on GitHub (Dec 23, 2018):
Please do open a new issue after isolating the problem to a reproducible example, or failing test case