BuildOnViction / bug-reports

TomoChain's Bug Report & Support
https://tomochain.com
17 stars 5 forks source link

Relayer Profile page crash in case of wallet's zero balance #106

Closed UmckaBear closed 4 years ago

UmckaBear commented 4 years ago

These are two bugs connected with each other.

A. Relayer profile page can't correctly show zero balance. It shows empty fields. Balance and Owner profile wallet you will see after 1 min on server response. No issues with even 1 TOMO on balance

ZeroBalance

B. When you open Relayer profile on Transactions tab, using wallet with zero balance, page will crash after server response.

How to reproduce.

  1. Login to Relayer with using zero TOMO balance wallet
  2. Click Profile.
  3. Click "Balance" -> "Transactions"
  4. Wait 1 min (until received server's response)

RelayProfileZeroBalance

You can check video below: https://drive.google.com/file/d/1xUy6t3MaWwl_8PBWBT1pP1EjeH-OR7QT/view?usp=sharing

You should receive 0 TOMO balance in profile without idles, same as normal balance. Zero balance should not affect page crash.

0xwhalerush commented 4 years ago

Same my issue blank https://github.com/tomochain/bug-reports/issues/30

UmckaBear commented 4 years ago

@WhaleCMD Not the same, since you use wallets with balance. Issue connected with zero balance and occurs in Profile section. Nothing connected with deposit operations. Also it can be easily reproduced.

thanhson1085 commented 4 years ago

That request calls TomoScan APIs that is not in scope of program.