FLPub / symbaroum5ecore

For development of the Ruins of Symbaroum core rules module
GNU General Public License v3.0
10 stars 7 forks source link

Check importer logic for migration version set on import #25

Closed trioderegion closed 2 years ago

trioderegion commented 2 years ago

It is possible that the importer is setting the migration version erroneously and causing it to miss needed migration for the version AFTER the initial import.

Double check importer sets the correct migration version (i.e. the most recent value in the list, or 0.0.0 otherwise).

trioderegion commented 2 years ago

Found the culprit. This line needs to read the most recent migration version in the migration version data.

https://github.com/FLPub/symbaroum5ecore/blob/79d5d4be5236afae94885e7499b1841d3bd72243/scripts/modules/apps/import-dialog.js#L295

trioderegion commented 2 years ago

Closed in 1.0.3