-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[SMARTSCAN] [$500] MEDIUM: Scan - Workspace admin sees empty report when employee manually enters Scan request details #29828
Comments
Triggered auto assignment to @sakluger ( |
Job added to Upwork: https://www.upwork.com/jobs/~0100429f58a52793a1 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
Admin can't see it because receipt scan is in progress, a receipt that is still scanning is a whisper so only visible to the user who started it. once the scan completes or fails if the admin refreshes or leave chat and come back they would see the receipt and the changes. |
@AmjedNazzal I think it should update without needing to |
I agree that it should update. Even though the receipt is still scanning, the user manually entered details, which takes priority over the scanned details. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@sakluger, @allroundexperts Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Still waiting for proposals. |
@sakluger @allroundexperts this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@sakluger, @allroundexperts Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I asked for help from our expert contributors: https://expensify.slack.com/archives/C03UK30EA1Z/p1698769699421359 |
Callstack was out for a bank holiday yesterday, hoping to hear back today. |
Hi, I'm Artur from Callstack - expert contributor group - and I would like to work on this issue. |
📣 @artus9033! 📣
|
Is this the "delay" in updating to not being a whisper?
|
Correct - that's exactly the thing. It seems like the backend takes the whisper that has been edited manually into account when computing the total (which is probably unwanted behaviour), however does not send over the individual request details. |
@trjExpensify I guess it was, however currently the problem is not at this step: after the requestor edits the request manually, it never turns into a non-whisper. For instance, the scan request edited manually I created on Nov. 16th is still a whisper today: |
Interesting, yeah. I was giving it a go to repro this and the whisper went away for a request to a workspace (i.e WueCvRA7Q6.mp4 |
Unassigning myself according to this |
@trjExpensify I checked today and it seems like this is reproducible if you hurry to edit the amount manually before scanning is finished - afterwards, the request remains a whisper forever. Moreover, I compared the network responses with the newest backend changes. I created a test workspace with 4 requests, one of which remained a whisper forever (if you would like to investigate on your side, it's this one). The below is a screenshot of network traffic regarding actions ( And below is from the other recipient's side: As can be seen, the missing action is 795...508: And this transaction (503...303) is the missing report item (left: requestor, right: other recipient): However, as visible above, both sides see a valid total sum (all four transactions taken into account), despite the fact that the other recipient "sees" only 3 of them. This makes me certain that the bug is some kind of race condition or inconsistent handling of state between scanning and manual editing on backend side. |
Sasha has been back from OOO for a couple weeks but I never unassigned myself, doing that now since we don't need two BZ on this issue |
Cool @arthurmfgtab so I think @Gonals & @cristipaval you might need to dig into this then. CC: @mountiny as well. :) |
@trjExpensify I think you meant to tag @artus9033 😄 |
Haha, yup. I totally did! |
@sakluger, @allroundexperts Huh... This is 4 days overdue. Who can take care of this? |
Switching to weekly since this is Internal but doesn't have an assigned engineer. It's in the "FIRE" section of the milestone, so an engineer should pick it up once they have time. |
This issue also involves interrupting the receipt scanning albeit while splitting a bill in a workspace room. This time, an error is shown after the interruption. Not sure if it's related but just thought I'd mention it. |
This issue has not been updated in over 15 days. @sakluger, @Gonals, @allroundexperts eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
This is fixed |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.3.85-2
Reproducible in staging?: Yes
Reproducible in production?: Yes
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:
Expected Result:
Workspace admin should be able to view the expense in expense report page
Actual Result:
Workspace admin is unable to view the expense in expense report page. Only the amount is seen in the report page. There is no expense preview that leads to expense details page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Bug6240983_1697571472403.20231018_025445.mp4
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @cristipavalThe text was updated successfully, but these errors were encountered: