Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map that has been downloaded/exported 2 times can't be imported #23

Closed
3 tasks done
ufdada opened this issue Apr 2, 2015 · 0 comments
Closed
3 tasks done

Map that has been downloaded/exported 2 times can't be imported #23

ufdada opened this issue Apr 2, 2015 · 0 comments

Comments

@ufdada
Copy link
Owner

ufdada commented Apr 2, 2015

It shows the message "invalid filename".
It only happens if you import the map via the options menu (not the drag and drop feature).
The filename is "Basions_001 (2).wfto".
This mainly happens because if you export a map 2 times in a row.

There are two things that should be fixed:

  • Update version (increment by 1) if the export button was clicked/file was downloaded
  • Allow braces in filename
  • Filter this kind of filename (rename it to "Basions_001.wfto")
    • filename.replace(/\s\([0-9]{1,}\)/g, "");
@ufdada ufdada closed this as completed in 1e86f52 Apr 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant