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

Stories without .json in the filename don't get written #36

Closed
muraldouglas opened this issue Apr 9, 2019 · 2 comments
Closed

Stories without .json in the filename don't get written #36

muraldouglas opened this issue Apr 9, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@muraldouglas
Copy link
Contributor

Users who create a story without a .json in the story name will encounter a JS error when they try to download their story. On reopening the story will not appear in the pulldown story menu, so users believe the story has disappeared, causing much grief.

To duplicate:

Duplicate the default story
Give the story a name like "story" without a .json extension
Try to download the story. A JS error will occur.
Close the Mural app and reopen. The story will not appear in the menu.

@muraldouglas muraldouglas added the bug Something isn't working label Apr 9, 2019
@muraldouglas
Copy link
Contributor Author

The output from the terminal is as follows

{ [Error: ENOENT: no such file or directory, lstat 'C:\Users\doug\AppData\Roaming\Mural\data\stories\story.json']
errno: -4058,
code: 'ENOENT',
syscall: 'lstat',
path:
'C:\Users\doug\AppData\Roaming\Mural\data\stories\story.json' }

@muraldouglas
Copy link
Contributor Author

This was fixed in the Mural 0.2.9 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant