- Issue created by @Charlie ChX Negyesi
- I don't think π Can only intentionally re-render an entity with references 20 times Needs work is a duplicate, but the two issues are closely related. I did notice that - _referringItemwould get overwritten while working on π Can only intentionally re-render an entity with references 20 times Needs work , and cloning the entity so that- _referringItemis correct might actually help address recursion detection. Though I think in the (edge?) case where you are previewing new entities, cloning might make recursion detection more difficult, but I don't think that's a blocker here.
- Merge request !10299Issue #3489179: Make sure _referringItem points to correct referencing entity field item. β (Closed) created by godotislate
- π³πΏNew Zealand quietoneChanges are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies. 
- π¨π¦Canada Charlie ChX Negyesi πCanadaThanks for the quick patch! I suggested checking whether $entity->_referringItem exists first before cloning because I was afraid of the performance hit here. 
- TY to @ghost of drupal past for the review. Replied to comments on the MR. I resolved the open threads, but please feel free to unresolve if they were not addressed satisfactorily. 
- π¨π¦Canada Charlie ChX Negyesi πCanadaYes, sorry, I confused which entity is which. This looks good to me, thanks so much for the through tests and the quick resolution of all. 
- Status changed to RTBC9 months ago 5:12pm 23 January 2025
- π¬π§United Kingdom catchThis is a tricky one, but tidy fix that makes sense and nice test coverage. Committed/pushed to 11.x, cherry-picked to 11.1.x and 10.5.x, thanks! 
- Automatically closed - issue fixed for 2 weeks with no activity.