dedis / popstellar

Proof-of-personhood System
GNU Affero General Public License v3.0
35 stars 8 forks source link

[BUG] Receipt Fragment with uninitialized Values #1922

Open Kaz-ookid opened 2 months ago

Kaz-ookid commented 2 months ago

Description (Actual behavior)

In Digital cash, after sending someone coins we get a receipt view. From this view, we can click (in top right corner) on the transactions history, in which we can see others transactions as well as the one we just performed. When using the back arrow navigation, we get back in the receipt view, except that the values (receiver and value of the transaction) are empty.

Expected behavior

We should get back to the receipt view, with the right values for the receiver's token and the coins value. Or we could just get back to the DigitalCash main tab, we may not really need to see that receipt again anyway.

How to reproduce

  1. Create a LAO, Join it with another device, create a RollCall, Scan your second device and close the RollCall
  2. Go to Digital Cash
  3. Click on Send
  4. Enter a non-null amount and click on Send
  5. See the Receipt view
  6. Click in the top right corner on the Transaction History icon
  7. See the Transaction History
  8. Click on the back arrow (top left corner)
  9. See error (bugged out receipt view)
Front-ends:
Back-ends:

Impact

Low impact on user experience

Possible root cause

Bad live variables handling ?

Screenshots

First is the receipt as it looks normally Second is the receipt as it looks after it bugged out

image image