Skip to content

Upgrading "adjust" variable doesn't work #1611

@janinefreeman

Description

@janinefreeman

"Custom periods" in the adjust variable are not upgrading correctly. The current version upgrade script on the version-upgrade-updates branch has a debugging msgbox showing the issue. There seems to be an issue switching between different matrix types, [ [x,y,z] ] and [ [x], [y], [z] ] for the adjust_periods variable.

Using the attached .sam file (created in SAM 2022.11.21), see that the "custom periods" loss is not upgraded correctly.
upgrade.zip

Once this is fixed, code needs to be updated in the version upgrader script in 3 places, currently lines 71, 104, and 114, which is all the places that the adjust_periods variable is set.

Metadata

Metadata

Labels

dev bugInternal bug that should not be included in release notes

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions