View Issue Details

IDProjectCategoryView StatusLast Update
0007692Talerwallet-corepublic2023-09-23 13:09
ReporterFlorian Dold Assigned ToFlorian Dold Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2023-08-29 14: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 16: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 08: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 ModifiedUsernameFieldChange
2023-02-14 11:37Florian DoldNew Issue
2023-02-14 11:37Florian DoldStatusnew => assigned
2023-02-14 11:37Florian DoldAssigned To => Florian Dold
2023-02-16 21:18Florian DoldTarget Version0.9.2 => 0.9.3
2023-03-28 18:50Florian DoldTarget Version0.9.3 => 0.9.4
2023-04-13 18:36Florian DoldCategorywallet (TS core) => wallet-core
2023-08-29 14:26Florian DoldNote Added: 0020459
2023-08-29 14:26Florian DoldTarget Version0.9.4 => 0.9.3
2023-08-29 16:21Florian DoldNote Added: 0020460
2023-09-01 08:53Florian DoldStatusassigned => informing
2023-09-01 08:53Florian DoldResolutionopen => fixed
2023-09-01 08:53Florian DoldNote Added: 0020463
2023-09-23 13:07Christian GrothoffFixed in Version => 0.9.3
2023-09-23 13:09Christian GrothoffStatusinforming => closed