-
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
[Awaiting payment 21-12-23] [$1000] Duplicate room name error doesn't appear if you aren't a member of the original room #21747
Comments
ProposalPlease re-state the problem that we are trying to solve in this issue.Settings doesn't work on a room that has an error of 'previously created' What is the root cause of that problem?In App/src/pages/ReportDetailsPage.js Lines 101 to 105 in 64b720c
What changes do you think we should make in order to solve the problem?We can add a check here not to show setting item if report has an error
App/src/pages/home/HeaderView.js Line 161 in 64b720c
What alternative solutions did you explore? (Optional) |
Triggered auto assignment to @trjExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Okay, updated the OP following the discussion in thread. CC: @MitchExpensify |
Job added to Upwork: https://www.upwork.com/jobs/~01cbde78f15d909ff4 |
Current assignee @trjExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
Awaiting proposals. @dukenv0307 not sure if you want to modify yours given the expected behaviour. |
@trjExpensify we use isExistingRoomto throw an error, we are passing report data to check if that report exists or not. However, in the report data, we don't have any details about the previous room |
@trjExpensify Let's bump this on slack to get more eyes on this? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Duplicate room name error doesn't appear if you aren't a member of the original room. What is the root cause of that problem?App/src/libs/actions/Report.js Lines 1709 to 1718 in 60f4817
When we leave the room, we use the SET method. The SET method is used to delete the key from storage. What changes do you think we should make in order to solve the problem?We can use the MERGE method here so that the key is not completely removed from Onyx. This also requires a backend fix. When we delete a workspace, we utilize Onyx's merge method to update the stateNum and statusNum. By using the merge method, this data remains in Onyx. As for these reports, we can utilize the 'isArchivedRoom' utility function. However, when we leave a room, we simply delete the Onyx keys associated with that report. What alternative solutions did you explore? (Optional) |
Bump where? We can chat more in the thread if you want though to discuss the best approach or clarify the intention. Thanks! |
I meant to ask for more proposals. But I see that we have a new proposal since then. Will review it and get back! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@trjExpensify, @allroundexperts, @jasperhuangg Whoops! This issue is 2 days overdue. Let's get this updated quick! |
1 similar comment
@trjExpensify, @allroundexperts, @jasperhuangg Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@trjExpensify, @allroundexperts, @jasperhuangg Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@trjExpensify, @allroundexperts, @jasperhuangg Eep! 4 days overdue now. Issues have feelings too... |
@jasperhuangg I have tested my proposal with the backend change that was done and it works just as expected. Screen.Recording.2023-11-22.at.12.12.38.AM.movFeel free to assign me and I can raise a PR! |
📣 @allroundexperts Please request via NewDot manual requests for the Reviewer role ($1000) |
📣 @esh-g 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @priya-zha 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
📣 @allroundexperts Please request via NewDot manual requests for the Reviewer role ($1000) |
@esh-g awesome, let's move forward with your proposal! thanks :) |
PR is here: #31655 |
@allroundexperts bump on the review, thanks! |
@trjExpensify @jasperhuangg Could we get the payment for this processed before the holidays? Thanks! |
Confirming payments:
Settled up with @esh-g and @priya-zha. @allroundexperts you can request. Closing! |
$1,000 payment to @allroundexperts based on comment above. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
New room
and choose the workspace you createdNew room
again using the same name of the room you just left and the same workspace you selected for the first roomExpected Result:
The room name field should have an in-line error message upon losing focus of that field
Actual Result:
You're allowed to proceed to create the room and run into an error after the creation attempt. We suspect this has something to do with the check for a duplicate room existing being limited to rooms you are a member of, not the workspace you are trying to create the room on.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.32-5
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
green-2023-06-25_13.46.19.1.mp4
Recording.919.mp4
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687680050819699
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @jasperhuanggThe text was updated successfully, but these errors were encountered: