-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
From doctrine:schema:validate command:
[Mapping] FAIL - The entity-class 'Tahoe\Bundle\MultiTenancyBundle\Entity\TenantUser' mapping is invalid:
* The association Tahoe\Bundle\MultiTenancyBundle\Entity\TenantUser#tenant refers to the inverse side field Tahoe\JobcostifyBundle\Entity\Tenant#tenantUsers which does not exist.
* The association Tahoe\Bundle\MultiTenancyBundle\Entity\TenantUser#user refers to the inverse side field Tahoe\JobcostifyBundle\Entity\User#tenantUsers which does not exist.So, we have a problem here as the bundle does not have an User entity (nor even an abstract one, just the MultiTenantUserInterface), that part of the relation has to be done on the User entity of your app.
So, not sure if:
1 - we need to create a base entity in the tenant user bundle, from which you would extend your user
2- just put this in the documentation (that you need to create the doctrine relationship).
@stevergill , @konradpodgorski : ideas? thoughts?