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

[$250] Hybrid App Android : Showing a Fix banner when there is nothing to fix #49740

Open
1 of 6 tasks
m-natarajan opened this issue Sep 25, 2024 · 37 comments
Open
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Sep 25, 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: 9.0.40-0
Reproducible in staging?: Y
Reproducible in production?:
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: @jliexpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1727237125506689

Action Performed:

  1. SmartScan receipt with a field that falls outside the Workspace rules (e.g. over $10 USD on Coffee Workspace)
  2. Confirm that it gets added to current unsubmitted Report under the Workspace
  3. Click on expense and change field (e.g. edit expense amount to reflect $10 USD)
  4. Observe the Fix banner on Report
  5. Exit app and open again
  6. Observe the Fix banner on Report

Expected Result:

Fix Banner replaced with the status of the report or the next step displayed

Actual Result:

Fix banner displayed even after applying the fix

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

screen-20240925-130712.mp4
az_recorder_20240925_154938.mp4

Add any screenshot/video evidence

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021839400983690827454
  • Upwork Job ID: 1839400983690827454
  • Last Price Increase: 2024-09-26
@m-natarajan m-natarajan added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 25, 2024
Copy link

melvin-bot bot commented Sep 25, 2024

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

@sakluger sakluger added the External Added to denote the issue can be worked on by a contributor label Sep 26, 2024
@melvin-bot melvin-bot bot changed the title Hybrid App Android : Showing a Fix banner when there is nothing to fix [$250] Hybrid App Android : Showing a Fix banner when there is nothing to fix Sep 26, 2024
Copy link

melvin-bot bot commented Sep 26, 2024

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 26, 2024
Copy link

melvin-bot bot commented Sep 26, 2024

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

Copy link

melvin-bot bot commented Sep 30, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Sep 30, 2024
@JKobrynski
Copy link
Contributor

Hi, I'm Julian from Callstack - expert agency - and I would like to work on this issue.

@melvin-bot melvin-bot bot removed Help Wanted Apply this label when an issue is open to proposals by contributors Overdue labels Oct 1, 2024
@sakluger
Copy link
Contributor

sakluger commented Oct 1, 2024

Thanks @JKobrynski!

@JKobrynski
Copy link
Contributor

It actually happens on all platforms:

Mobile web:

web-compressed.mov

iOS:

ios-compressed.mp4

@JKobrynski
Copy link
Contributor

I think the reason why this is happening might be that the UpdateMoneyRequestAmountAndCurrency API command doesn't update reportNextStep_<id> Onyx entry. After the amount is changed to a value below the limit, the Onyx entry still stores the message that was shown for an invalid amount. What do you think? Could it be done on the backend?

@melvin-bot melvin-bot bot added the Overdue label Oct 7, 2024
@JKobrynski
Copy link
Contributor

@sakluger have you had the chance to take a look at my question above? 🙏

@melvin-bot melvin-bot bot removed the Overdue label Oct 7, 2024
@sakluger sakluger added Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor labels Oct 7, 2024
@sakluger
Copy link
Contributor

sakluger commented Oct 7, 2024

I'll ask our internal engineers if they can help: https://expensify.slack.com/archives/C036QM0SLJK/p1728317833800759

Copy link

melvin-bot bot commented Oct 9, 2024

@sakluger @rushatgabhane @JKobrynski 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 Oct 9, 2024
@sakluger
Copy link
Contributor

sakluger commented Oct 9, 2024

No updates.

@melvin-bot melvin-bot bot removed the Overdue label Oct 9, 2024
@JKobrynski
Copy link
Contributor

Hey! FYI I'm back from the sick leave, I'll continue working on this issue

@JKobrynski
Copy link
Contributor

Seems like for this specific violation flow, there is a bug in the next steps logic as the cache for the expense is not recomputed, I will need to follow up on this one

Do you think there is anything that can be done on the frontend or is this backend only?

CC: @mountiny

@JKobrynski
Copy link
Contributor

@mountiny kindly bump 🙏

@mountiny
Copy link
Contributor

@JKobrynski this is backend issue

@mountiny
Copy link
Contributor

mountiny commented Nov 6, 2024

Havent got around yet

@mountiny
Copy link
Contributor

mountiny commented Nov 6, 2024

Created a follow up that should hopefully fix this issue with cache

@melvin-bot melvin-bot bot added the Overdue label Nov 14, 2024
@mountiny
Copy link
Contributor

It requires more debugging but I havent had time

@melvin-bot melvin-bot bot removed the Overdue label Nov 14, 2024
@melvin-bot melvin-bot bot added the Overdue label Nov 25, 2024
@mountiny
Copy link
Contributor

Same,

@melvin-bot melvin-bot bot removed the Overdue label Nov 25, 2024
@melvin-bot melvin-bot bot added the Overdue label Dec 4, 2024
@melvin-bot melvin-bot bot removed the Overdue label Dec 4, 2024
@mountiny
Copy link
Contributor

mountiny commented Dec 4, 2024

@dangrous is leading the way on fixing this in the backend by making sure the violations are always recomputed

@dangrous
Copy link
Contributor

dangrous commented Dec 5, 2024

Hi! Yes, this should hopefully be fixed by https://github.com/Expensify/Web-Expensify/pull/44527. I need to figure out how to test SmartScan locally, otherwise we can just hold and retest it when complete.

@mountiny mountiny removed their assignment Dec 9, 2024
@dangrous
Copy link
Contributor

dangrous commented Dec 9, 2024

Fix PR is merged, not yet deployed. Hopefully we can retest and close this soon!

@dangrous
Copy link
Contributor

Fix is on staging, can we retest this and close?

@melvin-bot melvin-bot bot added the Overdue label Dec 19, 2024
@sakluger
Copy link
Contributor

@melvin-bot melvin-bot bot removed the Overdue label Dec 19, 2024
@dangrous
Copy link
Contributor

An updated version of the fix for this is now in review - the original fix was unfortunately reverted so we don't need the retest yet... Given the holidays though the timing might work out either way?

@melvin-bot melvin-bot bot added the Overdue label Dec 30, 2024
@dangrous
Copy link
Contributor

dangrous commented Jan 6, 2025

Fix in review, I need to respond to comments now that I'm back from holiday break. Soon!

@melvin-bot melvin-bot bot removed the Overdue label Jan 6, 2025
@dangrous
Copy link
Contributor

dangrous commented Jan 8, 2025

The fix is ready, but we're debating a bit some performance tradeoffs that are seemingly required for the fix. Ideally we'll have resolution soon though

@dangrous
Copy link
Contributor

Getting there! Both PRs that should fix this have been moved forward (discussion complete) and we should be nearly there.

@dangrous dangrous added the Reviewing Has a PR in review label Jan 16, 2025
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. Internal Requires API changes or must be handled by Expensify staff Reviewing Has a PR in review Weekly KSv2
Projects
Status: Bugs and Follow Up Issues
Development

No branches or pull requests

7 participants