View Issue Details

IDProjectCategoryView StatusLast Update
0007692Talerwallet-corepublic2023-09-23 15:09
ReporterFlorian Dold Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007692: DB exported from browser can't be easily imported
DescriptionThe browser DB export doesn't use structuredEncapsulate and only exports the object store, not additional metadata required to easily import the DB.
TagsNo tags attached.

Activities

Florian Dold

2023-08-29 16:26

manager   ~0020459

We need a proper JSON DB dump format that also works for the new DB backend.

We need to be able to produce this db dump from both the browser and the sqlite3 backend, so it's probably best to base it around the IndexedDB API rather than anything more low-level.

Florian Dold

2023-08-29 18:21

manager   ~0020460

From our discussion about the API:

exportWalletDatabase(oldName?): JSON
importWalletDatabaseBackup(jsonDump: JSON, saveCurrent: boolean) => imports DB dump and makes it the current DB, saves the old database
listWalletDatabases()
switchToWalletDatabase(dbName)
deleteWalletDatabase(dbName)

Marc suggests: use creation date for the DB name

Florian Dold

2023-09-01 10:53

manager   ~0020463

Implemented in 64e78d03a11. API in the implementation is slightly simplified, but should be able to do the same things as we discussed together.

Issue History

Date Modified Username Field Change
2023-02-14 12:37 Florian Dold New Issue
2023-02-14 12:37 Florian Dold Status new => assigned
2023-02-14 12:37 Florian Dold Assigned To => Florian Dold
2023-02-16 22:18 Florian Dold Target Version 0.9.2 => 0.9.3
2023-03-28 20:50 Florian Dold Target Version 0.9.3 => 0.9.4
2023-04-13 20:36 Florian Dold Category wallet (TS core) => wallet-core
2023-08-29 16:26 Florian Dold Note Added: 0020459
2023-08-29 16:26 Florian Dold Target Version 0.9.4 => 0.9.3
2023-08-29 18:21 Florian Dold Note Added: 0020460
2023-09-01 10:53 Florian Dold Status assigned => resolved
2023-09-01 10:53 Florian Dold Resolution open => fixed
2023-09-01 10:53 Florian Dold Note Added: 0020463
2023-09-23 15:07 Christian Grothoff Fixed in Version => 0.9.3
2023-09-23 15:09 Christian Grothoff Status resolved => closed