- Issue created by @smustgrave
- Status changed to Closed: duplicate
9 months ago 3:37pm 1 July 2024 Closing as duplicate of π Replace LogicException with trigger_error in LangcodeRequiredIfTranslatableValues constraint RTBC . It's a core issue.
- πΊπΈUnited States smustgrave
Agree this should probably be fixed in core but don't believe the linked issue is correct as is
- Status changed to Needs work
9 months ago 1:41pm 7 July 2024 - π¬π§United Kingdom alexpott πͺπΊπ
This is a config issue and if this is being thrown then config_inspector should catch it and warn the user that the config that has caused the exception is incorrect. This error occurs when config_object has been specified against a non root element. The error is specific and correct.
- π§πͺBelgium herved
It seems to work as designed.
For me this was caused by facets, see π config schema for hierarchy creates loop Needs review .
But you may be facing another issue (from another module/schema definition). - πͺπΈSpain guiu.rocafort.ferrer Barcelona
guiu.rocafort.ferrer β made their first commit to this issueβs fork.
- Merge request !24#3456858: Added try-catch to handle exceptions without causing a fatal error. β (Open) created by guiu.rocafort.ferrer
- πͺπΈSpain guiu.rocafort.ferrer Barcelona
I have added a try / catch so the exceptions thrown in the validation does not cause a fatal error which interrupts the rest of the configuration validation. Setting the issue as needs review.