Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xero] Import page error message RBR isn't always displayed #42268

Closed
4 of 6 tasks
m-natarajan opened this issue May 16, 2024 · 23 comments
Closed
4 of 6 tasks

[Xero] Import page error message RBR isn't always displayed #42268

m-natarajan opened this issue May 16, 2024 · 23 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause Weekly KSv2

Comments

@m-natarajan
Copy link

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Issue found when validating #41917
Version Number: 1.4.74-1
Reproducible in staging?: yes
Reproducible in production?: new feature
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:

Preconditions:

  1. Log in with an expensifail account
  2. Have a Collect workspace with accounting enabled and Xero connected.
  3. Simulate failing network requests is tuned on in the troubleshoot tab.
  4. Navigate to workspace settings - Accounting - Import turn on or off "Tracking categories" "Re-bill customers" and "Taxes"

Expected Result:

RBR should always show.

Actual Result:

Xero Import page error message RBR isn't always displayed. I was only able to get the RBR on iOS but only for one of the three import options.

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

Bug6482451_1715843808825.HPWO1924.mp4

Bug6482451_1715843808811!IMG_0456

View all open jobs on GitHub

@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels May 16, 2024
Copy link

melvin-bot bot commented May 16, 2024

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

Copy link

melvin-bot bot commented May 16, 2024

Triggered auto assignment to @Julesssss (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented May 16, 2024

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

  1. If you find which PR caused the issue/bug, you can reassign it to the person responsible for it.
    • If the author is OOO or won’t get online before the daily deploy is due, you are responsible for finding the best fix/path forward. Don’t hesitate to ask for help!
  2. Try to reproduce the issue, if the bug is on production, remove the DeployBlocker label but stay assigned to fix it (or find out which PR broke it to get help from the author).
    • You can adjust the urgency of the issue to better represent the gravity of the bug.
    • If the issue is super low priority, feel free to un-assign yourself.
    • Be careful with PHP warnings, sometimes it is more complex than just adding a null coalescing operator as they might be uncovering some bigger bug.
    • If it was a one-off issue that requires no action (for example, Bedrock was down or it is a duplicated issue), you can close it.

Remember rule #2: Never un-assign yourself from a real DeployBlocker unless you are 100% sure someone else is assigned and will take care of it.

@melvin-bot melvin-bot bot removed the Hourly KSv2 label May 16, 2024
@github-actions github-actions bot added Hourly KSv2 and removed Daily KSv2 labels May 16, 2024
Copy link
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.

@m-natarajan
Copy link
Author

@Julesssss FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@Julesssss
Copy link
Contributor

My initial thought is that this shouldn't block the deploy:

  • It is a new feature, which wasn't working prior to the changes being merged
  • It is an edge case that is unlikely to be triggered by any user

@muttmuure
Copy link
Contributor

agreed

@Julesssss
Copy link
Contributor

Removing the label. This was only. just implemented and isn't a regression

@Julesssss Julesssss removed DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels May 16, 2024
@trjExpensify
Copy link
Contributor

Yep, Xero is behind a beta as well. 👍

@trjExpensify trjExpensify added Daily KSv2 and removed Hourly KSv2 labels May 16, 2024
@trjExpensify trjExpensify changed the title Xero Import page error message RBR isn't always displayed [Xero] Import page error message RBR isn't always displayed May 16, 2024
@SzymczakJ
Copy link
Contributor

I suppose this is not a bug and it is caused by the way "Simulate failing network requests" tool is working. When having this "failing requests" on, the app is retrying requests multiple times in random time intervals. That means we need to wait for every request to give us an error message(and sometimes it can last few minutes), so probably RBR indicator isn't always displaying because the user hasn't waited enough time.
@m-natarajan can you test it once more? Turn on or off "Tracking categories" "Re-bill customers" and "Taxes" and wait for about 3-5 minutes, then all RBR indicators should be there.
To support my theory I post picture of import page all in RBR indicators, it took me 5 minutes for all of them to appear 😃
Screenshot 2024-05-16 at 15 39 19

@melvin-bot melvin-bot bot added the Overdue label May 20, 2024
@Julesssss
Copy link
Contributor

Hmm, yeah, it isn't clear whether simulate failing requests are the bug or just a way to reproduce... if the the former we can close

@melvin-bot melvin-bot bot removed the Overdue label May 20, 2024
@trjExpensify trjExpensify added the retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause label May 20, 2024
@trjExpensify
Copy link
Contributor

If we want @m-natarajan / Applause to retest, let's make sure the label gets added.

@melvin-bot melvin-bot bot added the Overdue label May 22, 2024
@muttmuure
Copy link
Contributor

Waiiting for applause to retest

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels May 22, 2024
Copy link

melvin-bot bot commented May 28, 2024

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

@Julesssss
Copy link
Contributor

Same as above

@melvin-bot melvin-bot bot removed the Overdue label May 29, 2024
@Julesssss
Copy link
Contributor

Awaiting the weekly retest

Copy link

melvin-bot bot commented May 30, 2024

@Julesssss @muttmuure this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot melvin-bot bot added the Overdue label Jun 3, 2024
@Julesssss Julesssss added Weekly KSv2 and removed Daily KSv2 labels Jun 3, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jun 3, 2024
@trjExpensify
Copy link
Contributor

@m-natarajan did you get to retesting this?

@Julesssss
Copy link
Contributor

Shared in QA here asking for a test

@melvin-bot melvin-bot bot added the Overdue label Jun 18, 2024
@muttmuure
Copy link
Contributor

Waiting for retest

@melvin-bot melvin-bot bot removed the Overdue label Jun 19, 2024
@melvin-bot melvin-bot bot added the Overdue label Jun 27, 2024
@Julesssss
Copy link
Contributor

I asked for a retest today in #qa

@melvin-bot melvin-bot bot removed the Overdue label Jun 28, 2024
@kbecciv
Copy link

kbecciv commented Jul 1, 2024

Issue is reproducible

bandicam.2024-07-01.17-20-52-006.1.mp4

@Julesssss
Copy link
Contributor

Actual Result
I was only able to get the RBR on iOS but only for one of the three import options.

After re-reading @SzymczakJ's comment here I realise that this isn't a bug and we needed to retest with a 5 minute delay, instead of following the original steps.

Rather than doing that again though, I say we just close. Reopen if you disagree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause Weekly KSv2
Projects
Archived in project
Development

No branches or pull requests

6 participants