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

[Due for payment 2025-03-11] [Due for payment 2025-03-10] Follow ups to Broken Connection with direct feeds #57162

Open
mountiny opened this issue Feb 20, 2025 · 17 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2

Comments

@mountiny
Copy link
Contributor

mountiny commented Feb 20, 2025

Problem

Coming from here:

BUG: We're showing mark as cash button with violation on approved reports. It is correct that we show members the violation on approved/paid reports, but there should be no option to mark as cash in those report states.

And from here https://expensify.slack.com/archives/C07HPDRELLD/p1739989158015199

BUG: Admins don't see this violation on their own expenses, or other employees. They are supposed to see it on both. The expense preview have red dots, but no violation appears when you click in. 🧵

Also coming from here - waiting for copy confirmation

BUG: Violation copy differs for open vs processing reports. Specifically, processing is missing copy about marking as cash. 🧵

Solution

Discussed in the threads, this should be fixable in FE cc @VickyStash

Issue OwnerCurrent Issue Owner: @OfstadC
@mountiny mountiny added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Feb 20, 2025
@mountiny mountiny self-assigned this Feb 20, 2025
Copy link

melvin-bot bot commented Feb 20, 2025

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

@VickyStash
Copy link
Contributor

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

@mountiny mountiny changed the title Follo ups to Broken Connection with direct feeds Follow ups to Broken Connection with direct feeds Feb 20, 2025
@VickyStash
Copy link
Contributor

UPD: I haven't had a lot of time on this issue today, but I was able to prepare the accounts for testing and debugging with broken connection violations. Hope to focus tomorrow on bug fixes.

@VickyStash
Copy link
Contributor

VickyStash commented Feb 21, 2025

Updates:

  • I've fixed all of the reported issues. Opened Draft PR, added Test steps and part of the screenshots.
  • During testing I've noticed one small issue, waiting for the confirmation about the way it should be resolved - fixed.

I think the PR will be ready for the review on Monday!

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Feb 24, 2025
@VickyStash
Copy link
Contributor

The PR has been opened for the review.

@VickyStash
Copy link
Contributor

Follow-up PR with the unit test is ready for the review: #57542

@mallenexpensify mallenexpensify added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Feb 28, 2025
Copy link

melvin-bot bot commented Feb 28, 2025

Triggered auto assignment to @OfstadC (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 melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 28, 2025
@mallenexpensify
Copy link
Contributor

@OfstadC please take over as BZ, thx

@mountiny
Copy link
Contributor Author

mountiny commented Mar 2, 2025

Merged

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Mar 3, 2025
@melvin-bot melvin-bot bot changed the title Follow ups to Broken Connection with direct feeds [Due for payment 2025-03-10] Follow ups to Broken Connection with direct feeds Mar 3, 2025
Copy link

melvin-bot bot commented Mar 3, 2025

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 3, 2025
Copy link

melvin-bot bot commented Mar 3, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.7-2 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 2025-03-10. 🎊

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

Copy link

melvin-bot bot commented Mar 3, 2025

@DylanDylann @OfstadC @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]

@OfstadC
Copy link
Contributor

OfstadC commented Mar 4, 2025

@DylanDylann please complete the BZ checklist prior to payment date. Thank you! 😃

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Mar 4, 2025
@melvin-bot melvin-bot bot changed the title [Due for payment 2025-03-10] Follow ups to Broken Connection with direct feeds [Due for payment 2025-03-11] [Due for payment 2025-03-10] Follow ups to Broken Connection with direct feeds Mar 4, 2025
Copy link

melvin-bot bot commented Mar 4, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.8-1 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 2025-03-11. 🎊

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

Copy link

melvin-bot bot commented Mar 4, 2025

@DylanDylann @OfstadC @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]

@DylanDylann
Copy link
Contributor

@joekaufmanexpensify Do we need to create the regression test on this issue? If yes, could you please help to verify the below steps?

Pre-steps

  1. Prepare 2 app accounts.
  • Account 1 should be added as an admin to the workspace with company cards set up. The card should be assigned to user 1.
  • Account 2 should be added as a member to the same workspace. The card should be assigned to user 2.

The connection should be broken after all.
Receipts to test with: you can find in slack.

Test steps:

  1. Login as Account 1 (Admin). Create several scan expenses using the receipts mentioned above. See that after the scanning there are broken connection errors and you see it in the app.
  2. Login as Account 2 (Member). Create several scan expenses using the receipts mentioned above. See that after scanning expenses have broken connection errors. Submit one of the expenses, make sure the full message and Mark as cash button are displayed.
  3. From Account 1 (Admin): make sure you see broken connection violation errors for expenses created by Account 2. Approve one of the expenses of Account 2.
  4. From Account 2 (Member): see that approved expense with broken connection violation error still shows the error message, but without mentioning mark as cash part. Mark as cash button should be hidden.

@joekaufmanexpensify
Copy link
Contributor

We can hold off on a test for now. Applause has no way to break the connection so it wouldn't really be feasible for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2
Projects
Status: No status
Development

No branches or pull requests

7 participants