-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
AT:
- a migration is added that maps the 2.1.0 report configuration structure that might be still present in 2.3 reports to the explicitly modeled 2.4 structure
- 2.4.0 configuration property defaults are kept if there was no existing configuration
- compatible fields are taken over 1:1 if present in existing configuration
- xml, columnOrder
- incompatible fields are mapped as described below
Mapping 2.1 => 2.4:
- TargetValue Variants are Variant 1, Variant 2, Variant 4 from
OPT-1842attached 23_settings.json (so already handled byOPT-1842) - columnOrder.processInstanceProps: rename to columnOrder.instanceProps (handle as case #4 in migration script)
- There are two additional variants:
- no targetValue.values (covered by
OPT-1843)targetValue: {active: false} // without the values field
- empty targetValue object (e.g. on raw data reports) => already handled by null-safe mapping, just add tests that it get's default config for this case
targetValue: {}
- no targetValue.values (covered by
2.2 config structure:
{ targetValue: {}, columnOrder: { variables:[], processInstanceProps:[] }, xml: '' }