Skip to content

[$500] Bank account - Form is auto-submitted after disabling internet and killing app #36456

Closed

Description

@m-natarajan

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: v1.4.41-2
Reproducible in staging?: y
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

Action Performed:

  1. Go to Workspace > Bank account.
  2. Select Connect online with Plaid and go through the add BA flow until you reach the SSN page of Personal info.
  3. Disable internet connection.
  4. Enter "33".
  5. Kill the app.
  6. Open the app again.
  7. Enter the address info.
  8. Verify that the incorrect info for SSN was submitted.

Expected Result:

The form for SSN should not auto-submit and an error for incorrect data entered should appear.

Actual Result:

The form for SSN is auto-submitted with the incorrect data.

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6378802_1707871927871.Bhbh7855_1_.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01126719388570e4b1
  • Upwork Job ID: 1757588631042637824
  • Last Price Increase: 2024-02-14
  • Automatic offers:
    • akinwale | Contributor | 0

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    ExternalAdded to denote the issue can be worked on by a contributor
    BugSomething is broken. Auto assigns a BugZero manager.
    on Feb 14, 2024
  2. changed the title [-]Bank account - Form is auto-submitted after disabling internet and killing app[/-] [+][$500] Bank account - Form is auto-submitted after disabling internet and killing app[/+] on Feb 14, 2024
  3. melvin-bot commented on Feb 14, 2024

    @melvin-bot
  4. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Feb 14, 2024
  5. melvin-bot commented on Feb 14, 2024

    @melvin-bot

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

  6. melvin-bot commented on Feb 14, 2024

    @melvin-bot

    Triggered auto assignment to @MitchExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  7. github-actions commented on Feb 14, 2024

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  8. 2 remaining items

  9. added and removed
    DeployBlockerCashThis issue or pull request should block deployment
    on Feb 14, 2024
  10. removed
    Help WantedApply this label when an issue is open to proposals by contributors
    on Feb 14, 2024
  11. melvin-bot commented on Feb 14, 2024

    @melvin-bot

    📣 @akinwale 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

    Offer link
    Upwork job
    Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
    Keep in mind: Code of Conduct | Contributing 📖

  12. mountiny commented on Feb 14, 2024

    @mountiny
    Contributor

    @shubham1206agra @MrMuzyk @barttom This one seems like something we should look at but very small edge case.

  13. MrMuzyk commented on Feb 14, 2024

    @MrMuzyk
    Contributor

    @mountiny Assign me and I'll have a look

  14. MrMuzyk commented on Feb 14, 2024

    @MrMuzyk
    Contributor

    This will happen more often than described. You could alternatively just fill in 2 digits, close the process and open it again (without disconnecting internet). All values are being saved in draft immediately after being entered. When process is opened again there is a check to see which values has been already filled in (its only check against empty string) and opens next substep. However when you try to actually submit it (send it to BE) you do get an error explaining what's wrong.

    image

    Potential improvement would be to also validate existing draft values before navigating user to substep. I'm looking into it.

    This applies to all inputs in the VBBA flow. Not only to this particular one showed in issue description

  15. mountiny commented on Feb 14, 2024

    @mountiny
    Contributor

    @MrMuzyk thanks for clarifications.

    Frankly I think its fine since we get the error from the backend. I think changing the way validation happens is a change which should be discussed more rather than a quick fix.

    In that case I would be fine with closing this

  16. nkuoch commented on Feb 14, 2024

    @nkuoch
    Contributor

    I agree, let's close it and focus on real problems.

  17. mountiny commented on Feb 14, 2024

    @mountiny
    Contributor

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions