Closed TGriffiths88 closed 9 months ago
I believe I might be hitting the same bug, but I was not referencing entries to each other but linking an entry to itself from within an neo field.
4.5.9 works fine, but somewhere in 4.5.10 or 4.5.11 it breaks. Don't know which version exactly because I can't run either version because of the psr3 issue.
Craft 4.5.13 is out with a fix for this. Thanks for reporting!
What happened?
Description
We have a client site that has an entry field within a matrix field in a Neo content builder which enables users to reference another entry. We have two entries that were referencing each other via this field. As soon as you try and save the entry it crashes Craft with a permanent loading state. The only way to access the entries is to set them to disabled via the CLI.
We then trialled it outside of Neo, and outside of a matrix field to see what was causing the issue. A simple entry field on the entry works fine. But when used within a Matrix field it crashes. Removing the
Validate related entries
setting prevents this behaviour.Steps to reproduce
Expected behaviour
It should be able to save the entry and then open the entry once saved.
Actual behaviour
Attempting to save with this reference setup causes the CMS to crash, and trying to open entries with this relationship causes the CMS to crash.
Craft CMS version
Craft Pro 4.5.12
PHP version
8.1.21
Operating system and version
No response
Database type and version
MySQL 8.0.33
Image driver and version
Imagick 3.7.0
Installed plugins and versions