You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2015/09/23 10:36:17 UTC
ModelEntity was null for related entity name Tenant
Hi,
Nobody has an idea about this error message?
DatabaseUtil |E| Error adding foreign key: ModelEntity was null for related entity name Tenant
Jacques
Re: ModelEntity was null for related entity name Tenant
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks Pierre,
Does this means that it only happens when you set multitenant=Y in general.properties? I guess not because it's not my case, what else? Or did I
misunderstood?
Jacques
Le 23/09/2015 10:50, Pierre Smits a écrit :
> Hi Jacques,
>
> This happens when the tenant* entities are accessed while the use has
> logged in at tenant level (delegator has a tenantId). The tenant*
> entities are only accessible when delegator="default". When a user is
> logged in at tenant level the delegator has an extension
> (delegator="default#<tenantId>".
>
> Best regards,
>
> Pierre Smits
>
> *OFBiz Extensions Marketplace*
> http://oem.ofbizci.net
>
> On Wed, Sep 23, 2015 at 10:36 AM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
>
>> Hi,
>>
>> Nobody has an idea about this error message?
>>
>> DatabaseUtil |E| Error adding foreign key:
>> ModelEntity was null for related entity name Tenant
>>
>> Jacques
>>
Re: ModelEntity was null for related entity name Tenant
Posted by Pierre Smits <pi...@gmail.com>.
Hi Jacques,
This happens when the tenant* entities are accessed while the use has
logged in at tenant level (delegator has a tenantId). The tenant*
entities are only accessible when delegator="default". When a user is
logged in at tenant level the delegator has an extension
(delegator="default#<tenantId>".
Best regards,
Pierre Smits
*OFBiz Extensions Marketplace*
http://oem.ofbizci.net
On Wed, Sep 23, 2015 at 10:36 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> Hi,
>
> Nobody has an idea about this error message?
>
> DatabaseUtil |E| Error adding foreign key:
> ModelEntity was null for related entity name Tenant
>
> Jacques
>