App icon indicating copy to clipboard operation
App copied to clipboard

[$250] iOS Invoices - App freezes after deleting bank account

Open IuliiaHerets opened this issue 1 year ago β€’ 16 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.0.65-3 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y Email or phone of affected tester (no customers): [email protected] Issue reported by: Applause Internal Team

Action Performed:

Precondition:

  • User has added bank account in Invoices section.
  1. Launch ND or hybrid app.
  2. Go to workspace settings > Invoices.
  3. Tap on the bank account.
  4. Tap Delete.
  5. Delete the bank account.
  6. Tap anywhere else.

Expected Result:

App will not freeze after deleting bank account.

Actual Result:

App freezes after deleting bank account.

Workaround:

Unknown

Platforms:

  • [ ] Android: Standalone
  • [ ] Android: HybridApp
  • [ ] Android: mWeb Chrome
  • [x] iOS: Standalone
  • [x] iOS: HybridApp
  • [ ] iOS: mWeb Safari
  • [ ] MacOS: Chrome / Safari
  • [ ] MacOS: Desktop

Screenshots/Videos

https://github.com/user-attachments/assets/26cd56e5-5a3e-4118-9cef-daab03db81db

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021861553347426346949
  • Upwork Job ID: 1861553347426346949
  • Last Price Increase: 2024-12-03
Issue OwnerCurrent Issue Owner: @yuwenmemon

IuliiaHerets avatar Nov 21 '24 20:11 IuliiaHerets

Triggered auto assignment to @twisterdotcom (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.

melvin-bot[bot] avatar Nov 21 '24 20:11 melvin-bot[bot]

@twisterdotcom Whoops! This issue is 2 days overdue. Let's get this updated quick!

melvin-bot[bot] avatar Nov 25 '24 09:11 melvin-bot[bot]

Wow, it absolutely does.

twisterdotcom avatar Nov 26 '24 23:11 twisterdotcom

Job added to Upwork: https://www.upwork.com/jobs/~021861553347426346949

melvin-bot[bot] avatar Nov 26 '24 23:11 melvin-bot[bot]

Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann (External)

melvin-bot[bot] avatar Nov 26 '24 23:11 melvin-bot[bot]

iOS: https://github.com/user-attachments/assets/5213f865-66e1-4c29-b7d4-fa43123c7c73

twisterdotcom avatar Nov 26 '24 23:11 twisterdotcom

@twisterdotcom, @DylanDylann Huh... This is 4 days overdue. Who can take care of this?

melvin-bot[bot] avatar Dec 02 '24 09:12 melvin-bot[bot]

Waiting on some proposals

twisterdotcom avatar Dec 02 '24 13:12 twisterdotcom

Triggered auto assignment to @yuwenmemon (AutoAssignerNewDotQuality)

melvin-bot[bot] avatar Dec 02 '24 16:12 melvin-bot[bot]

πŸ“£ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? πŸ’Έ

melvin-bot[bot] avatar Dec 03 '24 16:12 melvin-bot[bot]

@yuwenmemon @twisterdotcom @DylanDylann this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

melvin-bot[bot] avatar Dec 05 '24 09:12 melvin-bot[bot]

Waiting for proposals

DylanDylann avatar Dec 06 '24 03:12 DylanDylann

@yuwenmemon, @twisterdotcom, @DylanDylann Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

melvin-bot[bot] avatar Dec 06 '24 09:12 melvin-bot[bot]

@yuwenmemon have you had a chance to look at this yet at all?

twisterdotcom avatar Dec 06 '24 12:12 twisterdotcom

Hmmm... no - should we open a thread in #expensify-open-source?

yuwenmemon avatar Dec 06 '24 19:12 yuwenmemon

@yuwenmemon, @twisterdotcom, @DylanDylann Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

melvin-bot[bot] avatar Dec 10 '24 09:12 melvin-bot[bot]

@DylanDylann can you clarify if this is internal or external?

muttmuure avatar Dec 10 '24 14:12 muttmuure

πŸ“£ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? πŸ’Έ

melvin-bot[bot] avatar Dec 10 '24 16:12 melvin-bot[bot]

I have to imagine it's internal given the crash. All of the request IDs in the logs above don't really give us much either:

8e8da90898acef0f-LHR
8e8da69f0fb9ecfe-LHR
8e8da697bcfaecfe-LHR
8e8da6735f2cecfe-LHR
8e8da6692c02ecfe-LHR

They're not for deleting a bank account. It's like the app completely froze when doing that. Will see if we can get a retest for now.

twisterdotcom avatar Dec 10 '24 16:12 twisterdotcom

It is a front-end bug and should be external

DylanDylann avatar Dec 11 '24 14:12 DylanDylann

Still waiting for proposals

DylanDylann avatar Dec 11 '24 14:12 DylanDylann

If it's external let's keep increasing the price

muttmuure avatar Dec 17 '24 10:12 muttmuure

Upwork job price has been updated to $500

melvin-bot[bot] avatar Dec 17 '24 10:12 melvin-bot[bot]

Hello, I'm Agata from Callstack, maybe I can help with this issue?

koko57 avatar Dec 17 '24 12:12 koko57

πŸ“£ @DylanDylann πŸŽ‰ An offer has been automatically sent to your Upwork account for the Reviewer role πŸŽ‰ Thanks for contributing to the Expensify app!

Offer link Upwork job

melvin-bot[bot] avatar Dec 17 '24 13:12 melvin-bot[bot]

I remember I was working on a very similar issue - as two modals are used here something is preventing the one of the modals backdrop host components to be properly removed and as it's transparent it looks like the app is frozen (but it's not, just the transparent backdrop prevents from interacting with the components under). In that issue the rc was different though. I've also found another issue - https://github.com/Expensify/App/issues/48298 - that seems to have the same root cause and the solution used there should work here as well (probably with a slight modification, because it has changed a bit since the solution was implemented)

https://github.com/Expensify/App/blob/d86024e6688326b5c3040a3c752e0b00265389de/src/pages/settings/Wallet/WalletPage/WalletPage.tsx#L598-L606

I will test it and if everything works fine I will post a proposal.

koko57 avatar Dec 17 '24 15:12 koko57

That additional change was made because of the restriction for copilot. Should the copilot be able to delete the bank account from the invoices?

koko57 avatar Dec 17 '24 17:12 koko57

Yes, I think it's fine for the copilot to be able to do this. They can even close accounts, so this is far less destructive.

twisterdotcom avatar Dec 18 '24 01:12 twisterdotcom

ok, thanks! So it means that just this one line is fine. I tested this solution and it works fine, so I will open a PR for that

koko57 avatar Dec 18 '24 07:12 koko57