You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And then navigate to a post record (for example, https://localhost/admin/october/test/posts/update/1#primarytab-reviews) and perform any operation on the review field (e.g., update, create, etc.), the content field enters an infinite loop (constantly refreshing). The only way to resolve this is to reload the page.
Cause
It seems that if there are fields with identical names in different configurations, it causes this infinite loop. In this case, there are content fields in both:
Hello,
I’ve encountered strange behavior with the "relation controller / Belongs To / Morph One" when using
dependsOn
.Environment
Test environment: OctoberCMS 3.7.6 with the test-plugin.
Issue
If you add
dependsOn: review
to thecontent
field in/plugins/october/test/models/post/fields.yaml
:And then navigate to a
post
record (for example,https://localhost/admin/october/test/posts/update/1#primarytab-reviews
) and perform any operation on thereview
field (e.g., update, create, etc.), thecontent
field enters an infinite loop (constantly refreshing). The only way to resolve this is to reload the page.Cause
It seems that if there are fields with identical names in different configurations, it causes this infinite loop. In this case, there are
content
fields in both:/plugins/october/test/models/review/fields_simple.yaml
/plugins/october/test/models/post/fields.yaml
This appears to trigger the issue.
The text was updated successfully, but these errors were encountered: