Commit 4b3559e
committed
fix: Skip building FDv1 fallback factory list when no FDv1 synchronizer is configured
FDv2DataSystem.Create unconditionally constructed a one-entry list with
FactoryWithContext(clientContext)(dataSystemConfiguration.FDv1FallbackSynchronizer).
When FDv1FallbackSynchronizer was null this still produced a non-null
SourceFactory delegate that captured the null configurer. The OUTER
composite would then add a phantom FDv1 fallback entry; the moment an
action applier advanced to it the entry's factory invocation would
NullReferenceException inside FactoryWithContext.
Build the list as empty when no FDv1 fallback is configured, so the
OUTER composite simply has no FDv1 fallback entry and the data system
halts cleanly per the spec.1 parent ecb4768 commit 4b3559e
1 file changed
Lines changed: 10 additions & 4 deletions
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
82 | 91 | | |
83 | 92 | | |
84 | 93 | | |
85 | 94 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 95 | + | |
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
| |||
0 commit comments