In my Drupal 9 installation I have an content type job
, that has a field_location
that is an entity reference to a taxonomy location
. This location
taxonomy has a field_neighbours
that is also a entity reference to a list of location
(basically itself).
In plain words: a job says its in Antwerp and Antwerp says its neighbours includes eg Brussels. Brussels in its turn says its neighbours include eg Antwerp. Or Brussels points to Antwerp and Antwerp points to Brussels.
When editing a job and pressing save this seams to create an endless loop as the browser just keeps loading (hanging) and the update is never saved.
What would be the best way to solve this issue?