Jorge-Lopes / KREAd

KREAd is an application that uses and implements composable NFTs on Agoric, the application allows users to customize their own characters by equipping and unequipping items.
Apache License 2.0
0 stars 0 forks source link

BUG: FRONTEND: Failing to equip Item #10

Open Jorge-Lopes opened 5 months ago

Jorge-Lopes commented 5 months ago

Bug description

The feature to equip an Item fails silently when executed. When visiting the path /inventory/items, every time we refresh the page and try to select Equip from an available Item, this will fails silently. The error message printed in the console is Could not find item or character that point it to useEquipItem method

Note: this also happens when the Item that we are trying to equip has the same category has one Item already equipped, but that we assume that it was a decision made buy the developers and it is not the scope of this issue.

Repro

  1. Ensure that you have unequipped Items which category is not already equipped in your Character.
  2. Visit /inventory/items, refresh the page if necessary
  3. Select Equip
  4. Verify error message on console of browser dev tool

Expected behavior

Clicking the equip button should trigger the Keplr wallet to approve the transaction and the Item should be set as equipped on the Character

Branch

jorge/e2e-ci-workflow

Connected Network

local