You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.
I'm just running through the edX Blockchain for Business - An Introduction to Hyperledger Technologies course. I'm hitting what appears to be a bug when attempting to perform a transfer an asset.
When I perform the transfer, the transfer fields reset but nothing appears in the Accept Tuna section. If I refresh the browser I get the following error in the console.
bundle.js:30428 Uncaught TypeError: Cannot read property 'public' of null at transfers.filter.transfer (bundle.js:30428) at Array.filter (<anonymous>) at getState (bundle.js:30428) at Object.$.get [as success] (bundle.js:30556) at fire (bundle.js:13363) at Object.fireWith [as resolveWith] (bundle.js:13493) at done (bundle.js:19318) at XMLHttpRequest.<anonymous> (bundle.js:19560)
this is the code in question
// Populate transfer list for selected user transfers.filter(transfer => transfer.owner === this.user.public) .forEach(transfer => addAction('#transferList', transfer.asset, 'Accept'))
This is in Chrome. Using the latest repo code. Thanks.
The text was updated successfully, but these errors were encountered:
This solves issue hyperledger-archives#11. The error is thrown on load because the user is only set after the dropdown value has changed. This doesn't attempt to filter the transfers if the user hasn't been set.
This solves issue hyperledger-archives#11. The error is thrown on load because the user is only set after the dropdown value has changed. This doesn't attempt to filter the transfers if the user hasn't been set.
Signed-off-by: Simon Madine <simon@thingsinjars.com>
Hi,
I'm just running through the edX Blockchain for Business - An Introduction to Hyperledger Technologies course. I'm hitting what appears to be a bug when attempting to perform a transfer an asset.
When I perform the transfer, the transfer fields reset but nothing appears in the Accept Tuna section. If I refresh the browser I get the following error in the console.
bundle.js:30428 Uncaught TypeError: Cannot read property 'public' of null at transfers.filter.transfer (bundle.js:30428) at Array.filter (<anonymous>) at getState (bundle.js:30428) at Object.$.get [as success] (bundle.js:30556) at fire (bundle.js:13363) at Object.fireWith [as resolveWith] (bundle.js:13493) at done (bundle.js:19318) at XMLHttpRequest.<anonymous> (bundle.js:19560)
this is the code in question
// Populate transfer list for selected user transfers.filter(transfer => transfer.owner === this.user.public) .forEach(transfer => addAction('#transferList', transfer.asset, 'Accept'))
This is in Chrome. Using the latest repo code. Thanks.
The text was updated successfully, but these errors were encountered: