-
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
[$1000] Web - Money Request IOU doesn't doesn't appear as latest reportAction #22884
Comments
Triggered auto assignment to @sakluger ( |
Bug0 Triage Checklist (Main S/O)
|
I've noticed that if you try requesting money in a new chat where the other person hasn't chatted before, you get a red brick road indicator, so an error occurred. This is also evident in the video above. In addition, if you click the report discussing this money request (the one with the red brick road indicator), you get a message stating it's not there. expensify-request-money-new-chat-pt1.movHowever, if the person you're chatting with has sent a message prior, it works fine. expensify-request-money-new-chat-pt-2.movIs it intended you can't request money from someone who hasn't chatted with you before? I see how this could be since the person you're chatting with may not exist/no longer exist. Either way, I think it would be best to determine what the bug is before moving forward. Is it:
I can create a bug report in Slack if the first option has a different root cause, and that can be worked on separately. |
If the issue ends up being the IOU report not appearing as the latest |
I couldn't reproduce this issue in v1.3.41-0 |
@sakluger Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~01382dceefde674ee1 |
Current assignee @sakluger is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
This seems like a unique bug, adding external label. |
I have another bug when I follow the steps: |
@ShogunFire We already have a issue for that: Please mark your bug report as dupe. |
Thanks @Talha345 I should verify better before reporting bugs |
Unable to reproduce on STG. |
I was also able to sometimes replicate with a user without an account on STG.This is also related to #23038 which happens always. |
I made a proposal that fixes both bugs here |
@ShogunFire just go confirm, are you saying that this bug only happens when you request money from someone who does not have an Expensify account? And you think that this bug has the same root cause as #23038? |
It happens because in getOptions here: App/src/libs/OptionsListUtils.js Lines 803 to 813 in d449072
If there is no options in our known personal details but the search value is a valid email or phone number we create and return an option userToInvite. This option will then be added to the list that the user can choose from, for example here: Lines 99 to 106 in c74032f
|
@ShogunFire got it, thanks for clarifying! If that's the case then your proposal sounds good to me. Assigning you |
📣 @thesahindia Please request via NewDot manual requests for the Reviewer role ($1000) |
📣 @ShogunFire 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @esh-g 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Not overdue |
Thanks @jasperhuangg I am almost done with the PR, is the C+ going to review it ? It's working but I am doubting if there is a cleaner way to do it. |
Yes, the @thesahindia should be able to help you review it. |
PR ready for review |
@jasperhuangg It doesn't look like @thesahindia is present for the review |
Unassigning @thesahindia since they weren't able to review any proposals here and haven't been able to review the PR. |
Taken over as C+. Reviewing the PR. |
@mountiny I looked through the PR and it looks like we may be going a different direction (although if seems that @ShogunFire has one more idea). If we do go a different direction, would we close out this GH issue or just restart the process of accepting proposals? |
Yeah the problem with these flows is that using email in combination with the secure logins is very hard and there is many workarounds. So the better solution is to update the flows to accept accountIDs but that also means more backend work. Aldo already has that on his plate but currently its deprioritized to focus on the recent waves. I think it might be better to close/ hold this for the solution with accountIDs as thats the real solution This is the issue btw #22480 |
I have been following the discussion on the PR and it seems that we don't have a proper solution. So I agree with Mountiny to hold this issue until a plan is prepared. |
I have not been following this issue that much but isn't the problem here the created timestamp update for the report preview action? Do we correctly update it when optimistic actions take place? Ot is the issue body outdated |
I'm not able to reproduce this issue following the steps in the OP, am I missing something? |
Chatted 1:1 with @jasperhuangg and we decided to close this issue since it's no longer reproducible with the instructions in the OP. Please report a new bug if anything comes up. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
When requesting money, the IOU should be shown at the last, after all messages.
Actual Result:
IOU isn't the last message.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.40.4
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-07-13.at.6.01.20.PM.mov
Recording.3584.mp4
Expensify/Expensify Issue URL:
Issue reported by: @esh-g
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689165314598769
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: