Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credit offer page -> sorting table can cause white screen #3578

Open
grctest opened this issue Oct 20, 2022 · 2 comments
Open

Credit offer page -> sorting table can cause white screen #3578

grctest opened this issue Oct 20, 2022 · 2 comments

Comments

@grctest
Copy link
Contributor

grctest commented Oct 20, 2022

Describe the bug
Clicking the table header to sort by Available, Total or minimum results in the entire screen turning white.

To Reproduce

  1. Go to credit offer page
  2. click on the header for 'Available' to sort
  3. Get white screen

Expected behavior
Table sorts without white screen

Screenshots

vendor.049af5c1d008aea05c6b.js:2 TypeError: Cannot read properties of undefined (reading 'toJS')
    at Object.convert_satoshi_to_typed (app.ca0591fe36ffc3c5e8fa.js:1:654721)
    at N._sortByAmount (explorer.3618f7ce2754a162d898.js:1:2244)
    at Object.sorter (explorer.3618f7ce2754a162d898.js:1:3062)
    at vendor.049af5c1d008aea05c6b.js:2:1175051
    at Array.sort (<anonymous>)
    at n.value (vendor.049af5c1d008aea05c6b.js:2:1178028)
    at n.value (vendor.049af5c1d008aea05c6b.js:2:1175836)
    at n.value (vendor.049af5c1d008aea05c6b.js:2:1175160)
    at o.renderComponent (vendor.049af5c1d008aea05c6b.js:2:1171898)
    at bs (vendor.049af5c1d008aea05c6b.js:2:3666048)
ns @ vendor.049af5c1d008aea05c6b.js:2
app.ca0591fe36ffc3c5e8fa.js:1 TypeError: Cannot read properties of undefined (reading 'toJS')
    at Object.convert_satoshi_to_typed (app.ca0591fe36ffc3c5e8fa.js:1:654721)
    at N._sortByAmount (explorer.3618f7ce2754a162d898.js:1:2244)
    at Object.sorter (explorer.3618f7ce2754a162d898.js:1:3062)
    at vendor.049af5c1d008aea05c6b.js:2:1175051
    at Array.sort (<anonymous>)
    at n.value (vendor.049af5c1d008aea05c6b.js:2:1178028)
    at n.value (vendor.049af5c1d008aea05c6b.js:2:1175836)
    at n.value (vendor.049af5c1d008aea05c6b.js:2:1175160)
    at o.renderComponent (vendor.049af5c1d008aea05c6b.js:2:1171898)
    at bs (vendor.049af5c1d008aea05c6b.js:2:3666048)
componentDidCatch @ app.ca0591fe36ffc3c5e8fa.js:1

Desktop (please complete the following information):
Opera GX browser, windows, wallet.bitshares.org

Additional info

  • If you attempt to sort by 'rate' before sorting available/total/minimum, the sort will work and no white screen will trigger
  • After refreshing the page the available/total/minimum sorts won't work again
  • Does not occur in firefox nor chrome
@grctest grctest changed the title Credit offer page -> sort by 'Available' => white screen Credit offer page -> sorting table can cause white screen Oct 20, 2022
@ihorml
Copy link
Contributor

ihorml commented Nov 25, 2022

@grctest hey there! Unfortunately, I can't reproduce it... I'll try to take a look what's going on by your trace

@ihorml
Copy link
Contributor

ihorml commented Nov 25, 2022

Unfortunately, I can't see the possible issues with the trace. If you can reproduce let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants