bitshares / bitshares-ui

Fully featured Graphical User Interface / Reference Wallet for the BitShares Blockchain
https://wallet.bitshares.org
MIT License
517 stars 570 forks source link

direct debit spotlight component bug - missing claimable direct debit? #3608

Open grctest opened 1 year ago

grctest commented 1 year ago

Describe the bug I created a direct debit where 1 BTS would be transferred to a payee 5 times due to 5 periods of direct debit payments.

After the first period passed, I switched to the payee account and claimed 1 BTS.

I expected there to be a remaining direct debit where 4 BTS would be claimable, however the direct debit table is now blank for both participants in the direct debit.

To Reproduce Steps to reproduce the behavior:

  1. Go to the direct debit page.
  2. Create a direct debit to a second account you control, set 1 BTS to be transferred with 5 periods, submit it.
  3. Switch to the payee account, wait for the first period to pass, submit a claim for 1 BTS
  4. After claim has submitted, refresh the direct debit page, there shouldn't be a table entry despite 4 BTS remaining after another few mins.

Expected behavior I expected to be able to claim 1 BTS, then another 4 direct debit periods would pass, enabling 4 further claiming periods.

Screenshots See steps: https://hive.blog/hive-120117/@nftea.gallery/creating-a-decentralized-direct-debit-on-the-bitshares-blockchain

Desktop (please complete the following information):

Additional context

There's a related direct debit spacing issue in the portfolio:

image


Is the payee only able to claim once? Or should 4 further attempts be possible?

sschiessl-bcp commented 1 year ago

you should be able to claim once, up to the max amount, for each period.

grctest commented 1 year ago

Perhaps if the period chosen per direct debit was insufficient?

I claimed it after approx 2 of 5 payment periods had passed, however the 3rd through 5th periods were not visible to be claimed after the first 2 were claimed.