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

CRITICAL: [Actionable Whispers] The report total is negative when converting a tracked expense to request #40266

Closed
1 of 6 tasks
thienlnam opened this issue Apr 16, 2024 · 17 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review

Comments

@thienlnam
Copy link
Contributor

thienlnam commented Apr 16, 2024

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: N/A
Reproducible in staging?: N/A
Reproducible in production?: N/A
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:
Slack conversation:

Action Performed:

Note: This occurs as part of a feature from this PR

Break down in numbered steps

  1. Track an expense to the self-DM
  2. Convert it to a request on an IOU that already has an existing IOU

Expected Result:

The reportPreview should show correct amount owed

Actual Result:

The reportPreview shows negative amount owed

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ebe41f88ebb9d14a
  • Upwork Job ID: 1780061708144013312
  • Last Price Increase: 2024-04-16
Issue OwnerCurrent Issue Owner: @thienlnam
@thienlnam thienlnam added Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Bug Something is broken. Auto assigns a BugZero manager. labels Apr 16, 2024
@thienlnam thienlnam self-assigned this Apr 16, 2024
Copy link

melvin-bot bot commented Apr 16, 2024

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

Copy link

melvin-bot bot commented Apr 16, 2024

Triggered auto assignment to Contributor Plus for review of internal employee PR - @sobitneupane (Internal)

Copy link

melvin-bot bot commented Apr 16, 2024

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

@thienlnam
Copy link
Contributor Author

Seems like a BE issue

@melvin-bot melvin-bot bot removed the Overdue label Apr 18, 2024
@quinthar quinthar changed the title [Track Expense] The report total is negative when converting a tracked expense to request CRITICAL: [Actionable Whispers] The report total is negative when converting a tracked expense to request Apr 18, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 22, 2024
Copy link

melvin-bot bot commented Apr 22, 2024

@sobitneupane, @thienlnam, @bfitzexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Copy link

melvin-bot bot commented Apr 24, 2024

@sobitneupane, @thienlnam, @bfitzexpensify Eep! 4 days overdue now. Issues have feelings too...

@thienlnam
Copy link
Contributor Author

I am seeing that this is also fixed in https://github.com/Expensify/Auth/pull/10564 as well

@melvin-bot melvin-bot bot removed the Overdue label Apr 24, 2024
@quinthar
Copy link
Contributor

Great, can we close this?

@thienlnam
Copy link
Contributor Author

Yup, this is on production now

@thienlnam thienlnam reopened this May 6, 2024
@thienlnam
Copy link
Contributor Author

This is still happening when converting tracked expenses to requests on an IOU with existing requests - https://expensify.slack.com/archives/C03U7DCU4/p1715000997219589
cc @shawnborton / @dannymcclain

@melvin-bot melvin-bot bot added the Overdue label May 8, 2024
@thienlnam
Copy link
Contributor Author

Found the issue - it relies with how we handle the amount negative values for IOUs depending on who is the owner of the IOU. Working on it here https://github.com/Expensify/Auth/pull/10798

@melvin-bot melvin-bot bot removed the Overdue label May 8, 2024
@thienlnam
Copy link
Contributor Author

Fix is in review

@melvin-bot melvin-bot bot added the Overdue label May 13, 2024
@thienlnam
Copy link
Contributor Author

Merged - pending deploy

Copy link

melvin-bot bot commented May 21, 2024

@sobitneupane, @thienlnam, @bfitzexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Copy link

melvin-bot bot commented May 23, 2024

@sobitneupane, @thienlnam, @bfitzexpensify Huh... This is 4 days overdue. Who can take care of this?

Copy link

melvin-bot bot commented May 27, 2024

@sobitneupane, @thienlnam, @bfitzexpensify 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

@thienlnam
Copy link
Contributor Author

We're done here!

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. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review
Projects
No open projects
Status: CRITICAL
Development

No branches or pull requests

4 participants