fix(config): never serialize the alerts runtime (child lists failed to render) #34

Merged
KofTwentyTwo merged 1 commits from feature/recipients-widget-json into develop 2026-10-14 21:10:02 +00:00
1 Commits
Author SHA1 Message Date
james.maesandClaude Opus 5.5 49ebea22a1 fix(config): never serialize the alerts runtime (child lists failed to render)
Record-view child lists, such as a notification's Recipients, failed with
"Error in JSON Serialization". ChildRecordListData carries the child
QTableMetaData, whose SourceQBitAware getSourceQBitConfig() hands Jackson
the AlertsQBitConfig; its getRuntime() returns an AlertsRuntime that points
back at the config, so serialization recursed to Jackson's 1000-level
nesting limit.

getRuntime() and getAudienceResolver() are now @JsonIgnore, as in the cms,
quick-search and sql-workbench configs. ChildListWidgetsJsonTest renders
the Recipients list with rows and every child-list widget, and serializes
each one; all three tests fail without the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 15:54:23 -05:00