Open IuliiaHerets opened 8 hours ago
Triggered auto assignment to @trjExpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
Edited by proposal-police: This proposal was edited at 2024-11-14 12:38:30 UTC.
QBO - "Reconciliation account" disappears after selecting it
When trying to add a bank account on step 4, the network request fails, and error message from onyx will be stored in cardSettings.errors
, but we are not displaying the error message in CardReconciliationPage
.
cardSettings.errors
https://github.com/Expensify/App/blob/512ae9f1a1c6d840065f377264bc1ab009356f0f/src/pages/workspace/accounting/reconciliation/CardReconciliationPage.tsx#L35
Onyx failure data
ErrorMessageRow
to display the error message below
https://github.com/Expensify/App/blob/512ae9f1a1c6d840065f377264bc1ab009356f0f/src/pages/workspace/accounting/reconciliation/CardReconciliationPage.tsx#L96{cardSettings?.errors && <ErrorMessageRow errors={cardSettings?.errors} />}
ONYXKEYS.COLLECTION.PRIVATE_EXPENSIFY_CARD_SETTINGS}${workspaceAccountID
onClose
prop of ErrorMessageRow
Optionally, in failure data we can pass settlementBankAccountID
to paymentBankAccountID
to prevent the failed bank account from disappearing form Card reconciliation
page, and change the bank to any available previous bank account by reseting paymentBankAccountID
value to currentSettlementBankAccountID
in the utility function
Note we will fix the style
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.62-1 Reproducible in staging?: Y Reproducible in production?: Y Issue was found when executing this PR: https://github.com/Expensify/App/pull/51359 Email or phone of affected tester (no customers): Issue reported by: Applause Internal Team
Action Performed:
Preconditions:
Expected Result:
"Reconciliation account" should still be visible.
Actual Result:
"Reconciliation account" disappears after selecting it.
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/853c67b3-22a6-413e-9901-2a8e51ecb8b4
View all open jobs on GitHub