You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Payments completed in the previous distribution period sometimes disappear from the Completed tab in the Payments page. Other payments are not affected.
Wait until the promise is resolved. Note that at this point, getters.groupPeriodPayments only holds an entry for the waiting period. It doesn't have an entry for the new current period yet.
Record a full payment as u1 to u2. It should show up in the Completed tab.
Now getters.groupPeriodPayments has two entries, one for the waiting period and one for the current period. That's a bit confusing.
Run forceDistributionDate again. The payment disappears from the Completed Tab.
Solution
Fix it!
The text was updated successfully, but these errors were encountered:
snowteamer
changed the title
Completed Payment not shown after entering a new period
Completed payments not shown after entering a new period
Sep 24, 2023
snowteamer
changed the title
Completed payments not shown after entering a new period
Completed payment not shown after entering a new period
Sep 24, 2023
@snowteamer, having tested this on my side in the latest master branch, the completed payments are not disappeared in the Completed tab after running the 'gi.actions/group/forceDistributionDate' sbp function in console.
Also I don't have any opinion about having two entries in getters.groupPeriodPayments in step 6. Because the payment periods are now in the DLL(Doubly Linked List), and no constant payment period we are using. And also forceDistributionDate function is only available in development mode.
@Silver-IT The disappearing payment bug might have been fixed in PR #1691, where I updated some methods in PaymentsMixin.js. This would explain why it didn't show up in your tests
Problem
Payments completed in the previous distribution period sometimes disappear from the Completed tab in the Payments page. Other payments are not affected.
Steps to reproduce:
Create a $1000 group with u1 and invite u2
u1 income details pledging $100, u2 making $800
Enter the first distribution period by running:
await
sbp('gi.actions/group/forceDistributionDate', { contractID: sbp('state/vuex/state').currentGroupId })
Wait until the promise is resolved. Note that at this point,
getters.groupPeriodPayments
only holds an entry for the waiting period. It doesn't have an entry for the new current period yet.Record a full payment as u1 to u2. It should show up in the Completed tab.
Now
getters.groupPeriodPayments
has two entries, one for the waiting period and one for the current period. That's a bit confusing.Run
forceDistributionDate
again. The payment disappears from the Completed Tab.Solution
Fix it!
The text was updated successfully, but these errors were encountered: