Break circular dependencies in EntityReferenceRevisionsFieldItemList::hasAffectingChanges()
requested to merge issue/entity_reference_revisions-3039442:3039442-circular-dependencies-in into 8.x-1.x
We found an issue with EntityReferenceRevisionsFieldItemList::hasAffectingChanges()
We have a structur like this:
Node A -> Paragraph -> Node B -> Paragraph -> Node C -> Paragraph -> Node B
As you can see there is a circular dependency between Node B and Node C. So when we try to save Node A we get stuck in a infinite loop due to hasAffectingChanges() calling hasTranslationChanges() which in return calls hasAffectingChanges().
Closes #3039442