-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Requesting payments and Splitting bills with self causes indefinite loading #3572
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Should we combine this GH with this GH into one issue? |
Triggered auto assignment to @Dal-Papa ( |
Trying to split a bill with yourself rips open SpaceTime and causes a
singularity. Please don't do it.
…On Sun, Jun 13, 2021, 6:54 PM MelvinBot ***@***.***> wrote:
Triggered auto assignment to @Dal-Papa <https://github.com/Dal-Papa> (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319
for more details.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3572 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEMNUTWPEAJG3A7QQ6ICRLTSVONVANCNFSM46TFKXTA>
.
|
Hey @Santhosh-Sellavel! Do you have a proposal for how you plan to prevent this from happening? I'm thinking it would be something along the lines of filtering out the user both here and here. What are your thoughts? |
@Christinadobrzyn @Santhosh-Sellavel I've closed the other, related issue out and updated this issue to include both Splitting Bills and Requesting Money 👍 |
Hey @jasperhuangg , If yes Let me know how you need to handle, I'll propose with technical solution. |
Here is my proposal, First in both files will add the following lines to retrieve myPersonalDetails as a prop. Then, Change the above line in respective files to:
this will filter out the logged-in user |
Hey @jasperhuangg , Instead of duplicating logic, will add a function in OptionUtils and invoke from both files. I proposed with Please share your thoughts. |
Hey @Santhosh-Sellavel, That looks good, although you'll probably wanna look into using Also, there's a separate issue where we'll still move forward with the IOU request if we've typed in an email address that doesn't appear as a search result. Just wanted to clarify with you that this issue is unrelated to the task at hand. |
Hey @jasperhuangg , I don't know exactly why, But I am assume it may due to user typed with upper case. In my phone when I initiate search first letter is always in upperCase, unless I manually switch it lower (Which I feel unnecessary). So for the safer side I used
Thanks for suggestion, will send a updated proposal soon. |
Hey @jasperhuangg, In [OptionsListUtils.js]
So will invoke the method by modifying the following line in respective files. with Kindly share your thoughts on this. |
Hey @jasperhuangg, Another case for this issue, When using email for sign in, But for mobile, it doesn't work in this case. So we should get appended result with '@expensify.sms' in the One last scenario, If the user requests to primary login, we have it almost handled with my proposal(Need to finalize on mobile number). But to handle when the user requests to secondary login, we cannot handle it with For handling the case we need to fetch It has So need to valid Share your thoughts & Let me know If I'm missing something. |
Hey @jasperhuangg , Post your comments |
Post your thoughts, @Dal-Papa |
Hey @Santhosh-Sellavel sorry for the delayed response, I was trying to find a way for you to get your own |
I couldn't able to find you in slack group. Ping me there, we can discuss more over there. |
@Dal-Papa Upwork job for this ? |
Triggered auto assignment to @stephanieelliott ( |
Job in Upwork is here: https://www.upwork.com/jobs/~0180725decbdd185e0 Heads up @Santhosh-Sellavel, we'll want to agree on a comprehensive proposal here in the GH issue before hiring in Upwork. Once you settle on the solution you'd plan to implement, please post it here in the issue as a comment. |
Triggered auto assignment to @deetergp ( |
Already completed, Proposals: Proposal Acceptance Slack discussion Even PR is merged #4062 |
Ah ok thanks for clarifying @Santhosh-Sellavel. Looks like #4063 was the PR merged for this fix. I hired you on Upwork, please accept the offer and we will pay up for the issue + reporting bonus ASAP! |
7-day regression period was already completed, paid in Upwork! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Expected Result:
Requesting payments and splitting bills with self should not be allowed.
Actual Result:
Requesting payments and splitting bills with self results in infinite loading.
Action Performed:
Splitting bills:
Requesting money:
Workaround:
Need close and reopen app. Refresh in web.
We can restrict the user to pick own email from search result. As we do for new chat with self.
Or if team we have other ideas, I'll do that.
I'll work on my proposal, based on your inputs.
Platform:
Where is this issue occurring?
I personal able to reproduce on android & web, I sure it will occur on all platform.
Version Number:1.0.65
Notes/Photos/Videos:
Splitting bills:
https://user-images.githubusercontent.com/85645967/121790974-99f67980-cc02-11eb-969c-c355961de0c3.mp4
Requesting money:
https://user-images.githubusercontent.com/85645967/121790494-872d7600-cbfd-11eb-964a-1bd8fe0eaa1a.mp4
Expensify/Expensify Issue URL:
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: