我有两个实体,它们与多个对一个关系相关,但每个实体都属于一个bundle。在强制更新数据库时,我得到以下错误
the target -entity cannot xxxx'Bundle1'Entity be found in xxxx'bundle2'entity
有什么想法吗??
只需在您的xxxx'bundle2中创建一个扩展xxxx'Bundle1' entity的实体,并在两个xxxx'bundle2实体之间建立关系。
我有两个实体,它们与多个对一个关系相关,但每个实体都属于一个bundle。在强制更新数据库时,我得到以下错误
the target -entity cannot xxxx'Bundle1'Entity be found in xxxx'bundle2'entity
有什么想法吗??
只需在您的xxxx'bundle2中创建一个扩展xxxx'Bundle1' entity的实体,并在两个xxxx'bundle2实体之间建立关系。