standardnotes / forum

Support from other community members. For 1-on-1 help, please contact help@standardnotes.com.
https://forum.standardnotes.org
196 stars 9 forks source link

Uncaught TypeError when importing back #1889

Closed PotatoMasher4000 closed 1 year ago

PotatoMasher4000 commented 3 years ago

When attempting to restore a backup using the batch manager the data in the backup can be seen. When you attempt to recover the data it reports it has succeeded but no data is restored.

Steps to reproduce

  1. Have this backup
  2. Use Backup explorer to recover data
  3. Recover all 33

Current Behavior: No notes are restored Expected Behavior: Notes to be restored

Windows 10 AMD Ryzen 7 i7000X 16gb ram

When viewing the console several errors appear when you attempt to recover the notes/tags.

Uncaught (in promise) TypeError: Cannot create property 'appData' on string '004:2a83049a07c093878b392553092886d1ce047d64d25a8d11:1MtG7otOydDpDEHSx8fhzrrgXnudw5HiN3N78N1KFU1B+FJNspAI7O7xdM5cR/QxFG+KKpUTgikvEb09Wk19Jdr7X1wu5s5v/lFS7LWNese9zmgx19fFTRW8SeHYViWeiYaXWhHkgcKvI+Jqlw7DYqZgd/Dl8OWssuQy24faF3Q5oMyVHgTa2OS5LBojn9ge2H+aIY96w88=:eyJ1IjoiMWUyN2E4MWItZjI1MC00MWQ5LWI5YzctMjg1YWVlNzIyZmRmIiwidiI6IjAwNCJ9'

Uncaught (in promise) Error: Attempting to access non-object content as object

Error out.txt 2020-12-13T16-49-52.762Z.txt

moughxyz commented 3 years ago

The Batch Manager has not yet been updated for the latest encryption version, 004. We will actually be phasing out the Batch Manager very soon. For now the best way to preview backup data is to open a private browser window to app.standardnotes.org and import the data while signed out.

PotatoMasher4000 commented 3 years ago

That also is failing to work. I go to app.standardnotes.org and when I select the file to import the backup file the file selector window goes away but so does the section for importing the backup. image

moughxyz commented 3 years ago

Can replicate, thanks!

moughxyz commented 3 years ago

Hey @PotatoMasher4000, where did this backup file come from? Was it one you downloaded? If so, from where?

myreli commented 1 year ago

Seems like this issue was solved and is unlikely to receive more interaction.

(This is a community effort to triage older issues in the forum. If this was a mistake please feel free to re-open the issue.)