Skip to content

[HOLD for payment 2024-12-20] [$250] Screen briefly flashes Chase feed page after connecting Amex feed and back to expensify #53510

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:
Reproducible in staging?:
Reproducible in production?:
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @joekaufmanexpensify
Slack conversation (hyperlinked to channel name): ts_external_expensify_expense

Action Performed:

  1. Enable company card in workspace
  2. Click Add card and choose Amex bank
  3. Connect to Amex using Direct feed
  4. Click Return to Expensify

Expected Result:

User returned to company cards page

Actual Result:

Screen briefly flashes Chase feed page

Workaround:

Unknown

Platforms:

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

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

Screenshots/Videos

Add any screenshot/video evidence
2024-12-02_16-35-27.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021866127944349300492
  • Upwork Job ID: 1866127944349300492
  • Last Price Increase: 2024-12-09
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @joekaufmanexpensify

Activity

  1. added
    Daily
    Bug
    on Dec 4, 2024
  2. melvin-bot commented on Dec 4, 2024

    @melvin-bot

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

  3. dukenv0307 commented on Dec 4, 2024

    @dukenv0307
    Contributor

    I already worked on company card project so I would like to take it as C+

  4. joekaufmanexpensify commented on Dec 4, 2024

    @joekaufmanexpensify
    Contributor

    We're discussing in the thread that maybe this will be fixed elsewhere

  5. DylanDylann commented on Dec 6, 2024

    @DylanDylann
    Contributor

    @mountiny @joekaufmanexpensify I tried to reproduce this bug from my side. I used a mock response from here. Let's see this video

    Screen.Recording.2024-12-06.at.23.45.19.mov

    When clicking mock data (it means that when BE returns data) the App opens the bank connection URL again. The RCA of this problem:

    useEffect(() => {
    if (!url) {
    return;
    }
    if (isNewFeedConnected) {
    customWindow?.close();
    if (newFeed) {
    Card.updateSelectedFeed(newFeed, policyID ?? '-1');
    }
    Navigation.navigate(ROUTES.WORKSPACE_COMPANY_CARDS.getRoute(policyID ?? '-1'));
    return;
    }
    if (isBankConnectionCompleteRoute) {
    customWindow?.close();
    return;
    }
    customWindow = openBankConnection(url);
    }, [isNewFeedConnected, newFeed, isBankConnectionCompleteRoute, policyID, url]);
    return (
    <ScreenWrapper testID={BankConnection.displayName}>

    When isNewFeedConnected is true, we close the connection URL and navigate to the company card page. But this useEffect is triggered again before navigating --> the URL is opened again. You guys can see my log on the above video for more detail

    I suspect that this was caused by this PR
    cc @allgandalf @VickyStash

  6. VickyStash commented on Dec 6, 2024

    @VickyStash
    Contributor

    Hi, I'm Viktoryia from Callstack - expert contributor group - and I would like to work on this issue.

  7. moved this to Bugs and Follow Up Issues in #expensify-bugson Dec 8, 2024
  8. self-assigned this
    on Dec 8, 2024
  9. 15 remaining items

  10. VickyStash commented on Dec 10, 2024

    @VickyStash
    Contributor

    The PR has been opened for the review!

  11. joekaufmanexpensify commented on Dec 10, 2024

    @joekaufmanexpensify
    Contributor

    Woooo, TY!

  12. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Dec 13, 2024
  13. changed the title [-][$250] Screen briefly flashes Chase feed page after connecting Amex feed and back to expensify[/-] [+][HOLD for payment 2024-12-20] [$250] Screen briefly flashes Chase feed page after connecting Amex feed and back to expensify[/+] on Dec 13, 2024
  14. removed
    Reviewing
    on Dec 13, 2024
  15. melvin-bot commented on Dec 13, 2024

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  16. melvin-bot commented on Dec 13, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.75-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2024-12-20. 🎊

    For reference, here are some details about the assignees on this issue:

  17. melvin-bot commented on Dec 13, 2024

    @melvin-bot

    @DylanDylann @joekaufmanexpensify @DylanDylann The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  18. mountiny commented on Dec 13, 2024

    @mountiny
    Contributor

    No regression test is required imho, there was not a specific PR that would cause this issue its was a design fault. pyaments will be in total for the project

  19. moved this from Bugs and Follow Up Issues to Done in #expensify-bugson Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugExternalWeekly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions