ITADN

[5.x]: Linkfield entry relations are not migrated when transferring relations during entry deletion

#18992Openalexanderloewe 创建于 2026-05-28
bug
A
alexanderloewecommented
First of all: the new relation transfer feature when deleting entries is absolutely fantastic. I have honestly been waiting for something like this for years. Being able to see affected relations and transfer them directly to another entry is such a huge quality-of-life improvement for larger Craft installations. However, while testing the feature, I noticed that relations stored inside Link fields are currently not being updated/transferred. ## What happens When deleting an entry and selecting the option to transfer relations to another entry: - regular relational fields are updated correctly - Linkfield relations (`type: entry`) are not migrated - the old relation remains intact and still points to the deleted entry ## Expected behavior Relations stored inside Link fields should also be updated during the relation transfer process. Especially because these are relation-based references as well, the current behavior feels a bit inconsistent from a user perspective. ## Additional note I have not yet tested whether inline entry links inside CKEditor fields are also updated during the transfer process. Since those links are also ID-based internally, I assume they may currently behave similarly. If that is the case, it would be amazing if both of these relation types could eventually be supported: - Linkfield entry relations - CKEditor inline entry links ### Craft CMS version 5.10.3
1 条评论