Skip to content

Adjust CSV import/export and v2 migration to SCALE format changes

Daniel Gerhardt requested to merge fix-scale-format-import into master

The import and export needed adjustments for SCALE format contents because of the recent changes to the format. Instead of storing the individual options, the template and option count are written to the options field (e.g. AGREEMENT (5)). When previously exported SCALE contents are imported, the format is changed to CHOICE.

Furthermore, the v2 migration logic has been adjusted to SCALE format changes If options do not match the pattern for the AGREEMENT template, the CHOICE format is used as fallback.

Closes: #126 (closed)
Related: particify/dev/common-concerns#10, !394 (merged)

Edited by Daniel Gerhardt

Merge request reports