-
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] After creating a group with a new user, user is automatically removed from the group (or we navigate away) #20812
Comments
Triggered auto assignment to @dylanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
I can't reproduce this with web but in iOS I can 🤔 |
@Beamanator This seems to be something on the backend, the new report data is sent correctly, the params with the emailList too, the optimistic data is also correct, but when it receives the updated data from the backend, the new user data is not in the |
@Beamanator I'm not able to reproduce on my side with iOS - can you elaborate a bit more what we should see? |
Bumping this @Beamanator! |
Yes sorry for the delay! 🙏 @dylanexpensify you're also not able to reproduce on iOS? 😅 Basically the user was seeing that, if they create a group with 2 users - 1 existing and 1 brand new one that doesn't exist yet (a.k.a. creating the group will create their account), they saw that:
If you're not seeing that on staging iOS, maaaaaaaybe we can close this out? Or ask for better reproduction steps? |
Ahh I'll try again for good measure, but may need to see about repro steps bein better!! Thanks man! |
Ahh was able to repro! Thanks for the check @Beamanator!! |
Job added to Upwork: https://www.upwork.com/jobs/~01e256c96a0de2398f |
Current assignee @dylanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
Hi! |
📣 @waterim! 📣
|
how to join Expensify slack account |
📣 @AbeerAhmad! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@nitin-kukreti As I understand, we cant create group for just 1 user. @s77rt Am I right? Because Im getting something like this after creating a group just with 1 new user and trying to send a message: Updated! |
@waterim no we can create group with one person (also with person which not exist) |
@s77rt |
I'd recommend looking in |
@Beamanator Here I dont have even my newly created user :D |
@Beamanator when we are requesting from mobile devices for gerrating new Report with a user which not exit giving accounId=-1 in api response but when we are performaing same operation from desktop web we are getting accurate response in which accountId is not -1. |
@waterim aahhhh this is the response to an API command, sorry i thought you were looking in Onyx directly :D @nitin-kukreti that's quite strange, it's very unlikely that the data "should" be sent / returned different depending on the platform (mobile vs web) - we strive to make it all the same so we don't have weird edge cases for 1 platform |
@Beamanator Is the issue still reproducible from your end? (test against staging server). Currently it appears that only @nitin-kukreti is able to reproduce which is odd |
@Beamanator and @s77rt MWebBefore ReloadingAfter ReloadingResponse Is totally different (Before it was array of 7 but after reloading on new request its only array of 5 as In previous response two entry were duplicate ) but accoudId exist for newly created user its not -1 Webresponse in web is similar to response of mWeb but here account Id is not -1 but their also have two duplicate entry I hope this will be helpful to resolve this one 😊. |
@nitin-kukreti I really doubt we get different responses based on the device. I'm still unable to reproduce the bug. Also the |
Agreed response shouldn't be different based on device - check you're on the same env (staging / production) on both 🙏
Agreed 👍 We'll be removing all
👍 |
@Beamanator |
MWebnot getting detail of newly created user
after refreshing pagesame report open but this time response is correct
WebEvery thing is ok
after Reload
Apart form this problem I notice a inconsistent API response after reloading page we are getting different response for same report in key=personalDetailsList |
@s77rt @waterim @dylanexpensify 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! |
@nitin-kukreti That's weird 😅 Just double check that all those request are being sent to the correct server and that is the staging server. I don't know why you are the only one who can reproduce this. From my end both web and mweb return same data |
Melvin
We are not even close to reproducing the bug 😅 That's a good thing I hope |
reviewing today and posting next steps! |
@s77rt can you repro? Or should we close this out? cc @Beamanator |
Hoping we can close this out 🙏 |
@dylanexpensify I can't repro. Let's close this |
@s77rt @waterim @dylanexpensify this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
Melvin we will probably close this one |
Closing! |
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:
The optimistic report should remain, and you should be able to type in the chat
Actual Result:
The new user is removed for the group, or maybe we navigate to a different report
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number:
main
Reproducible in staging?: N
Reproducible in production?: N
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
Expensify/Expensify Issue URL:
Issue reported by: @niravkakadiya25
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686831616374889
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: