WriteOn / WriteOnApp

On a mission to create the world's finest writing experience.
https://writeon.io
Apache License 2.0
1 stars 0 forks source link

Unable to delete two stories in-a-row from WriteOn cloud #69

Open yaboi opened 9 years ago

yaboi commented 9 years ago

To get this error, I needed to copy/paste text into three different stories, all of which were synced with WriteOn cloud. As I copied text to each story, I wanted to remove from WriteOn cloud and instead sync with Google Drive.

Syncing with Google Drive went smoothly, and deleting the first story from WriteOn cloud went as expected, but when I tried to delete the second story from WriteOn cloud, the "Delete" button on the "Are you sure about permanently deleting this" page had no action. So, I checked the console and saw the error Uncaught TypeError: Cannot read property 'syncIndex' of undefined (see screen shot)

image

If I refresh the page, and try to delete the same story from WriteOn cloud, it does. But, then if I try to delete another from WO cloud, the same error occurs.

So, it seems a user can't delete two stories from the WO cloud one right after another.