I want to do the following:

Content type Client
relation is has device
Content type Client device

There is a relation from Client to Client device but also between Client device and Client. I use Corresponing entity reference to align these relation ships.
When you have a client device you must have a client.

So what is the proper way to set this up? I try to use inline entity form but this brings me in a loop.
Try to fill in customer with a device brings me to device which requires the client.

Thanks for helping with a for me crucial question (I have many situations like this)

John

Comments

bojanz’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Fixed

You can't have a cyclical relationship like that if you want to use IEF on both sides (which makes no sense).
I would suggest using IEF on the entityreference on clients (referencing client devices).
I would remove the other entityreference field which is on client devices.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.