You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Awaiting payment 21-12-23] [$1000] Duplicate room name error doesn't appear if you aren't a member of the original room #21747
BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Now create a New room and choose the workspace you created
Click the room header and leave the room
Now create a New room again using the same name of the room you just left and the same workspace you selected for the first room
Expected 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?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
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
Okay, so I actually don't think the user should be getting this far in the flow if the room name is a dupe. When you're still a member of a room, we show an in-line error:
But here, when you leave the room AND then try and create a new room with the same name, we don't do that. We let you continue on and error out on creation. So I think we should be showing a error message in-line the room name field if the room has a dupe name on the workspace you've selected. That would avoid this scenario. It seems like our check for if a room already exists takes into account rooms you are a member of, which in this case, you aren't a member of the room.
changed the title [-]Web - Settings doesn't work on a room that has an error of 'previously created'[/-][+]Duplicate room name error doesn't appear if you aren't a member of the original room[/+]on Jul 3, 2023
changed the title [-]Duplicate room name error doesn't appear if you aren't a member of the original room[/-][+][$1000] Duplicate room name error doesn't appear if you aren't a member of the original room[/+]on Jul 3, 2023
📣 @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 Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
@trjExpensify@jasperhuangg Could we get the payment for this processed before the holidays? Thanks!
Seems like since this is still marked as hold so the payment automation date didn't happen...
changed the title [-][HOLD E/E #290783] [$1000] Duplicate room name error doesn't appear if you aren't a member of the original room[/-][+][Awaiting payment 21-12-23] [$1000] Duplicate room name error doesn't appear if you aren't a member of the original room[/+]on Dec 21, 2023
BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Activity
dukenv0307 commentedon Jun 27, 2023
Proposal
Please 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
ReportDetailPage, we don't have any check to hide setting item if report has an errorApp/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)
melvin-bot commentedon Jun 27, 2023
Triggered auto assignment to @trjExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jun 27, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)trjExpensify commentedon Jun 30, 2023
Okay, so I actually don't think the user should be getting this far in the flow if the room name is a dupe. When you're still a member of a room, we show an in-line error:

But here, when you leave the room AND then try and create a new room with the same name, we don't do that. We let you continue on and error out on creation. So I think we should be showing a error message in-line the room name field if the room has a dupe name on the workspace you've selected. That would avoid this scenario. It seems like our check for if a room already exists takes into account rooms you are a member of, which in this case, you aren't a member of the room.
[-]Web - Settings doesn't work on a room that has an error of 'previously created'[/-][+]Duplicate room name error doesn't appear if you aren't a member of the original room[/+]trjExpensify commentedon Jul 3, 2023
Okay, updated the OP following the discussion in thread.
CC: @MitchExpensify
[-]Duplicate room name error doesn't appear if you aren't a member of the original room[/-][+][$1000] Duplicate room name error doesn't appear if you aren't a member of the original room[/+]melvin-bot commentedon Jul 3, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01cbde78f15d909ff4
148 remaining items
melvin-bot commentedon Nov 21, 2023
📣 @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
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
melvin-bot commentedon Nov 21, 2023
📣 @priya-zha 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
melvin-bot commentedon Nov 21, 2023
📣 @allroundexperts Please request via NewDot manual requests for the Reviewer role ($1000)
jasperhuangg commentedon Nov 21, 2023
@esh-g awesome, let's move forward with your proposal! thanks :)
esh-g commentedon Nov 21, 2023
PR is here: #31655
cc @jasperhuangg @allroundexperts
jasperhuangg commentedon Nov 29, 2023
@allroundexperts bump on the review, thanks!
esh-g commentedon Dec 21, 2023
@trjExpensify @jasperhuangg Could we get the payment for this processed before the holidays? Thanks!
Seems like since this is still marked as hold so the payment automation date didn't happen...
[-][HOLD E/E #290783] [$1000] Duplicate room name error doesn't appear if you aren't a member of the original room[/-][+][Awaiting payment 21-12-23] [$1000] Duplicate room name error doesn't appear if you aren't a member of the original room[/+]trjExpensify commentedon Dec 21, 2023
Confirming payments:
Settled up with @esh-g and @priya-zha. @allroundexperts you can request. Closing!
JmillsExpensify commentedon Jan 24, 2024
$1,000 payment to @allroundexperts based on comment above.