-
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
[$500] Web- Split bill - Unable to split the money with new users in a group #20964
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @stitesExpensify ( |
Related thread. We couldn't reproduce on staging. Closing. |
Issue is reproducible on build 1.3.83.10 Recording.4982.mp4 |
@kbecciv is this only on staging? If so I'll re-add the blocker label |
cc @mountiny since I know you were working on this |
I have just retested on 1.3.84 and could not repro with non-existing expensifail first time and then with non-existing gmail accounts and it worked fine. Adding Needs Reproduction label cc @luacmartins and @youssef-lr in case you would run into this |
Should we close the issue if we cant reproduce it anymore? |
It it still reproducible. VideotoLowerCaseCrash.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Cannot split bill and gives a console error when splitting bill with new users or in a group with new users What is the root cause of that problem?
Line 1057 in a456ef9
throws an error because participant.login is undefined and it does not have a toLowerCase() method.
What changes do you think we should make in order to solve the problem?We should add Line 1445 in a456ef9
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~01a34b44e2ad9be2a6 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Triggered auto assignment to @peterdbarkerUK ( |
Bug0 Triage Checklist (Main S/O)
|
Current assignee @stitesExpensify is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
This won't work if the user has set a display name in their profile, as I thinnk we shouldn't allow adding a user to the split if their @c3024 have you tried your solution by having one of the participant set their display name? |
@youssef-lr Disallowing splitting a bill with a user without login may also be not a good idea in my opinion. We can create a group with unknown users and composer menu has one of the options as split bill. Disabling it when one of the members has their login hidden from the user appears wacky to me. Fixing it from the backend is ideal. I think there is no need to pass email to the backend and at the least the backend should not validate the email. |
I think we can do both:
|
As far as I understand, here Lines 1179 to 1181 in 0d11e0b
we send both email and accountID and backend validates both and throws an error if either of them is not sent.
So, I think we cannot do this (that is send |
Yeah I can work on it. |
Then we can change this Line 1057 in 0d11e0b
to send an empty string when login does not exist for a user with something like this
or pass |
Closing this one in favor of #23470. Backend PR should be ready shortly, there's no changes required in App, but I'll create a small cleanup PR and add some comments. |
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:
Able to split the money with new users in a group
Actual Result:
Unable to split the money with new users in a group
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.29.0
Reproducible in staging?: Yes
Reproducible in production?: No
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
green-2023-06-17_14.56.24.mp4
Recording.3138.mp4
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686993012583369
https://expensify.slack.com/archives/C049HHMV9SM/p1686991867243109
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: