View Issue Details

IDProjectCategoryView StatusLast Update
0004977Talerwallet (WebExtension)public2019-12-26 20:37
ReporterChristian Grothoff 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
PriorityurgentSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.3Fixed in Version0.3 
Summary0004977: withdrawing coins on demo fails with FF plugin
DescriptionI've reproduced this with the latest FF on W32 and on Debian GNU/Linux as well now. The exchange-selection page is just blank, instead of showing the fees and asking for confirmation.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2017-04-12 13:56

manager   ~0012032

If I enable JavaScript for the bank, I get a _bit_ further. So the first issue definitively relates to the JS-less bank.

However, after enabling JavaScript I still cannot withdraw, this time I get on the 'accept fees and withdraw' page the error:

Error: exception (reduce of empty array with no initial value)

[after expanding to the detailed view]. The exchange logs do report an access to /keys, but nothing more.

Christian Grothoff

2017-04-12 14:02

manager   ~0012033

Logs say:

error response Object { error: "exception", hint: "reduce of empty array with no initi…", stack: "getReserveCreationInfo/<@moz-extens…" }

Location:

   function getReserveCreationInfo(baseUrl, amount) {
        let m = { type: "reserve-creation-info", detail: { baseUrl, amount } };
        return new Promise((resolve, reject) => {
            chrome.runtime.sendMessage(m, (resp) => {
                if (resp.error) {
                    console.error("error response", resp); // HERE!
                    let e = Error("call to reserve-creation-info failed");
                    e.errorResponse = resp;
                    reject(e);
                    return;
                }
                resolve(resp);
            });
        });
    }


Don't see how to get the original stack trace from where this was thrown.

Christian Grothoff

2017-04-12 14:04

manager   ~0012034

Got something (maybe). From the 'resp' object in the debugger, I get:

/lib/wallet/wallet.js:754:46fulfilled@moz-extension://76f34cdc-dbc7-4483-a04b-d634dcf83232/lib/wallet/wallet.js:27:52

Florian Dold

2017-04-26 01:38

manager   ~0012067

With the latest git wallet and latest firefox nightly it works.

The bank only offers the JS-free version of withdrawal, which required some compatibility fixes (see 0004997).

Issue History

Date ModifiedUsernameFieldChange
2017-03-28 14:12Christian GrothoffNew Issue
2017-03-28 14:12Christian GrothoffStatusnew => assigned
2017-03-28 14:12Christian GrothoffAssigned To => Florian Dold
2017-04-12 13:56Christian GrothoffNote Added: 0012032
2017-04-12 14:02Christian GrothoffNote Added: 0012033
2017-04-12 14:04Christian GrothoffNote Added: 0012034
2017-04-12 14:05Christian GrothoffDescription Updated
2017-04-26 01:38Florian DoldStatusassigned => informing
2017-04-26 01:38Florian DoldResolutionopen => fixed
2017-04-26 01:38Florian DoldNote Added: 0012067
2017-05-03 00:16Christian GrothoffFixed in Version => 0.3
2017-06-06 12:18Christian GrothoffStatusinforming => closed
2019-12-26 20:37Florian DoldCategorywallet (browser-based) => wallet (WebExtensions)
2023-04-13 18:37Florian DoldCategorywallet (WebExtensions) => wallet (WebExtension)