Bouncyrock / TaleSpire-Beta-Public-Issue-Tracker

Issue tracker for the TaleSpire Beta
33 stars 17 forks source link

UploadBoardToBackend failure point 0: 3 - lots of work lost #220

Closed PurpleGranite closed 4 years ago

PurpleGranite commented 4 years ago

Describe the bug Lots of work building out a board lost after exit. Console constantly scrolling messages: UploadBoardToBackend failure point 0: 3 Board sync restarting

To Reproduce Steps to reproduce the behavior:

  1. Spend a long time working on a board
  2. Select all objects, copy
  3. Paste string into a text editor for backup
  4. Return to TaleSpire, open dev console
  5. Observe error described

Screenshots/Videos/Twitch Clips Console Error The error being shown on the console. These two lines are shown between once and twice a second.

State Before Exit to Main Menu This is what my board looked like before selecting Exit to Main Menu. (Yes, that's a re-imagining of Cragmaw Castle from Lost Mine of Phandelver as a double-size board and squared off since there's no radiused / round walls).

Console at Main Menu This error was displayed on the console after exiting to the main menu.

State after Reload This is what was on the board after reloading.

State after Pasting copied object string This is what was pasted from the object string I'd copied earlier as a backup.

Console after Pasting object string This is what the console looked like after pasting in the object string.

Below is the object string copied as a backup.

H4sIAAAAAAAAC7WdD3CcR3nGP53O8lm6yIosFFl1hSoCiMAQkzjlwLLuFBtyxE5xZwJcaWDUf3CkMFHptD0IoKMIxx2uiShKccLBiPGFKolI1EYNLhHRSYjggoiVxgOBGuqAS5ypTFz3ABGEr7f73d63u/fsEw0zaMax8/30vvu8++zu9//u8ecff6LBu8zbfl3x77ofX9976L9f8hePZt99dbN388SjD/Tk7vnat/cd+sqLDjz7/Y/+9rcq2w695IP/8O0/vfvahzJ/O7/pikuevKKy7fu7Go/en/jS/uzOvc/v/sOrT/xWZdsbf37zvSdyt77hs7//8cufvXTb7Q2VbVd95q/uXbn7bUNfvuPDH/nLz5+Pbq1s+8Rz98z8+N7nk3e8tbRnR/nya6+sbHvTbOND1+w5sP+21+37xeefeaJtc2XbrS+Pfa3zj9beXPjUS1/6lPeWR0KijYb3/PjDsejvFd73rvG1x7YeEr/3zD1X/c+5J/cPfbLQdue56Q/23t1488SWr3559cm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nfRm3HhrToz4zx5zSMHffCM/jT9C57FqR8TXm0M1o+J8Da9vRjoFxWXMXOOvHwkYBGzX2TcEmTB9UiQ02ApwGZxX0t2dsGfQ9lKv5we8v9dHPp/2Kr9q9yfAAA=

Additional context Note that after pasting, some copied objects are not present. I've observed missing objects when pasting several times. Exiting to the main menu and re-loading again still showed the map in the same incomplete state as it was before pasting in the copied object string, indicating that the sync still wasn't functioning, even though the console did not indicate any errors.

At the moment, there appears no reliable mechanism to save a board. Autosave does not appear to work, and has no indication to the user whether it is functioning or encountering errors. There is no manual save. Copying the content of a board and saving as a string outside of TaleSpire results in incomplete boards when pasted back into the system.

Possible related issues: #115, #219, #209 (and likely a couple of others.

cbaggers commented 4 years ago

@PurpleGranite excellent report. This has everything I need.

The failure point 0: 3 tells me that the backend didnt think this you were the GM. This lines up with a bug dealt with on Tuesday where these server was losing session information.

Your second console screenshot actually showed a seperate bug.

The BoardSessionManager was missing due to the transition to the Main menu but the upload was assuming it would be available (which was dumb as being able to continue an upload from the main menu was a design requirement). This should be fixed in the next update (going out 2020-04-17)

The paste bug where some objects go missing may have also be resolved today too. I did fix one this afternoon but I'm not sure if there are multiple (I'm working through the list now that two of the most common board destroying bugs have been resolved)

Thankyou once again for your excellent report and I'm sorry for the inconveniece.

PurpleGranite commented 4 years ago

I've done a couple of quick tests with the latest patch (from today), as far as I can see the main issue and all the sub-issues I was seeing seem to be resolved - will close this one out to help you guys declutter, and open a fresh report if anything else crops up.

TaleSpire rocks, and I'm sure it's going to go from strength to strength through the Beta - looking forward to seeing what comes next :)