Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps
https://azgaar.github.io/Fantasy-Map-Generator
Other
4.51k stars 641 forks source link

Saving Error after updating the version of program #1135

Open CCC-Studios opened 3 hours ago

CCC-Studios commented 3 hours ago

Describe the bug

I cannot load an old map file. The error message is the following:

Saving issue An error is occured on map saving. If the issue persists, please copy the message below and report it on GitHub. TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) at Function.from () at prepareMapData (save.js?v=1.100.00:115:21) at saveMap (save.js?v=1.100.00:9:21) at HTMLDocument.handleKeyup (hotkeys.js?v=1.104.0:34:37)

Steps to reproduce

  1. Click on Load, and select a file from an older version
  2. The program freezes.
  3. Close the program by force as it does not respond.
  4. Reopen the program, and this error message above appears.

Expected behavior

I expected the program with the new update to load the map file from the older update and transfer it into the new update file type by keeping as much data faithfully as possible.

.map file

Onaia 2023-02-04-00-24.zip

Screenshots

No screenshot needed, I litterally could not open anything as it froze. The error message said the same thing as above.

System

Azgaar commented 3 hours ago

The file works fine for me. Please clear the cache and try again, it should help.