-
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
[HOLD for payment 2024-02-07] [$500] Room - Unable to create a public room if I don't select a workspace #34647
Comments
Job added to Upwork: https://www.upwork.com/jobs/~014dfbb95a9411a4d8 |
Triggered auto assignment to @trjExpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
ProposalPlease re-state the problem that we are trying to solve in this issueUnable to create a public room. "Unexpected error creating this chat, please try again laterPolicy rooms can not be created on personal policies". What is the root cause of that problem?Recently this PR #34160 introduced the What this does at mount is to set a What changes do you think we should make in order to solve the problem?
In the code block above the if condition we should also check if the current state value of policyID (activePolicyID set at mount) exists within the available VideosMacOS: Chrome / SafariScreen.Recording.2024-01-17.at.17.04.47.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Room - Unable to create a public room if I don't select a workspace What is the root cause of that problem?If account has What changes do you think we should make in order to solve the problem?App/src/pages/workspace/WorkspaceNewRoomPage.js Lines 190 to 192 in 3033f99
Add more validation whether policy linked to values.policyID exists or not in workspaceOptions using same filter condition used in PolicyUtils.getActivePolicies
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Can create a public room without selecting a workspace, but results in errors. When trying to create a public room, error message to select a workspace should be shown to the user What is the root cause of that problem?We initialize the
We also initialize the public workspace options here App/src/pages/workspace/WorkspaceNewRoomPage.js Lines 199 to 207 in 3033f99
The problem is that there are cases that This is the root cause What changes do you think we should make in order to solve the problem?We need to clear the Update
to
Update App/src/pages/workspace/WorkspaceNewRoomPage.js Lines 145 to 150 in 3033f99
to
This works as expected Result34647.mp4What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Unable to create a public room. "Unexpected error creating this chat, please try again laterPolicy rooms can not be created on personal policies". What is the root cause of that problem?The active policy is the expense default of the account. But it's hidden in
What changes do you think we should make in order to solve the problem?We should remove this condition now Line 19 in 3033f99
What alternative solutions did you explore? (Optional)We can check if the active policy of this accout isn't enable now, we can choose the first policy from |
Asking about this one in #vip-vsb here: https://expensify.slack.com/archives/C066HJM2CAZ/p1705526775582279 I'm unsure of:
If not on #2, my suggestion is to show an in-line form error to "Please choose a workspace", as the only options should be group workspace types. |
So I haven't thoroughly reviewed all the proposals yet, but at a high level I'm proposing a twofold solution:
|
For |
📣 @ikevin127 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
#34691 ready for review! |
I am so confused about how the selection process goes here. It looks like you didn't check the edit history of proposals. The first proposal was wrong and so I submitted a proposal with correct RCA. The former proposals was updated later. Of course, I would respect the decision of C+/internal team, but I want you to check the edit history at least. We have similar discussions recently. Please check https://expensify.slack.com/archives/C01GTK53T8Q/p1703083893742679 |
This was @ikevin127's proposal before others posted. |
@roryabraham Actually |
@thesahindia PR is ready for review #34796 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.33-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-02-07. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
👋 checklist time here! |
Same Melv, awaiting the checklist! |
Steps for test case -
|
Don't forget about the rest of the checklist? :) As for the regression test, looks like we're going to be adding one already, so I've suggested a modification to it in that GH. |
Regression test sorted, @thesahindia you need to complete the rest of the checklist so we can issue payments and close this one out. |
https://expensify.slack.com/archives/C01GTK53T8Q/p1708594431270969
Done
Done |
Thanks! Payment summary as follows:
Closing this out! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.26.1
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing #33715
Action Performed:
Expected Result:
I should be receiving an error message that I must select a workspace before creating a room.
Actual Result:
Unable to create a public room. "Unexpected error creating this chat, please try again laterPolicy rooms can not be created on personal policies".
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6345321_1705500809073.bandicam_2024-01-17_13-45-20-887.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @thesahindiaThe text was updated successfully, but these errors were encountered: