Schema config should prevent creation of circular dependencies #5644
Replies: 3 comments
-
|
This could happen not just for pick lists. Imagine an accession formatter that calls accession agent aggregator that calls accession formatter - not sure how we detect that without limiting useful features and useful workflows (i.e, agent group member displaying group name) |
Beta Was this translation helpful? Give feedback.
-
|
With the formatter/aggregator editor being available and so easy to use, and showing a live preview of formatter on any change, this issue is far more likely to happen. And once it does, the front-end will be rapidly sending requests to the back-end. |
Beta Was this translation helpful? Give feedback.
-
|
Moved the formatter/aggregator case into a separate issue - #3266 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
PrepTypeEntire Tableand set table toPrep TypePrep Typetable that uses thenamefield.Prep TypetablePrepTypepick list to thenamefield.This causes a circular dependency, as formating the
namefield requires, requires fetching pick list items, which requires formatting thenamefield and so on.This caused #2144 and #2145 (comment).
Checking for this case in the Schema Config would be a bit tricky, because when assigning a pick list P for the field F, it needs to check if P has a formatter, and if so if that formatter includes F in it.
Beta Was this translation helpful? Give feedback.
All reactions