-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-04-05] [$500] Chat - "Auth OpenReport returned an error" appears when refresh thread page from archived chat #37551
Comments
Triggered auto assignment to @garrettmknight ( |
@garrettmknight FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - "Auth OpenReport returned an error" appears when refresh thread page from archived chat What is the root cause of that problem?We currently allow user to reply to a message in an archived chat. What changes do you think we should make in order to solve the problem?We should not allow user to reply to a message in an archived chat by modify By doing this, we can make sure that if the report action has child replies, we should show the reply in thread button because user still has access to the thread. It's what we've done with deleted action here. What alternative solutions did you explore? (Optional)NA |
Agreed that this shouldn't be allowed. |
Job added to Upwork: https://www.upwork.com/jobs/~01b01e8b28bedc178c |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale ( |
@akinwale we already have a proposal above, heads up! |
Dupe of #37603 |
Bringing my proposal from #37603 (comment) in case we want to keep this issue instead: ProposalPlease re-state the problem that we are trying to solve in this issue."Reply Thread" Button Available in Archived Workspaces Despite User Inability to Reply. What is the root cause of that problem?Here: App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 184 to 189 in e13819e
we don't have a condition to disable the "reply in thread" action when the report is archived. What changes do you think we should make in order to solve the problem?we should return false in if (isArchivedRoom){
return false;
} ResultArchived.report.disable.reply.Recording.2024-03-01.170539.mp4What alternative solutions did you explore? (Optional)We can include a check to enable the "Reply in Thread" action buttons for report actions with reportAction?.childVisibleActionCount, but I believe it's more logical to disable the "Reply in Thread" option for actions with existing replies, as users cannot add further replies, and the option's name might be confusing in this context. We should deactivate the option. If users wish to view existing replies, they can click on the replies count link to open the thread. |
Updated proposal to include detailed explanation (no changes in solution). |
ProposalPlease re-state the problem that we are trying to solve in this issue.The "Reply Thread" button is available in archived workspaces, even though users cannot reply to the thread. What is the root cause of that problem?We don't disable reply in thread for report action of archived room Line 4965 in 623c191
What changes do you think we should make in order to solve the problem?
We shouldn't use Line 4965 in 623c191
What alternative solutions did you explore? (Optional)NA |
@garrettmknight, @akinwale Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@akinwale can you review these proposals? |
I will review later today. |
@garrettmknight I have not been able to reproduce the error following the specified steps. |
@akinwale Still able to reproduce on staging. Screen.Recording.2024-03-08.at.10.09.54.mov |
Ok, I was able to reproduce after deleting the workspace to arrive at this state. Reviewing the proposals now. |
After reviewing, we can move forward to @gijoe0295's proposal since the solution follows the same idea as a previous implementation (delete thread). 🎀👀🎀 C+ reviewed. |
Triggered auto assignment to @roryabraham, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@gijoe0295 your proposal looks good, but I'm going to require that we add unit tests to cover this function. Thanks! |
❌ There was an error making the offer to @akinwale for the Reviewer role. The BZ member will need to manually hire the contributor. |
❌ There was an error making the offer to @gijoe0295 for the Contributor role. The BZ member will need to manually hire the contributor. |
@garrettmknight looks like the Upwork automation needs some help ☝🏼 |
@gijoe0295 @akinwale new offers out. |
Accepted. Thanks! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.57-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-04-05. 🎊 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:
|
Payment Summary
BugZero Checklist (@garrettmknight)
|
@akinwale can you complete the checklist? |
Not a regression. This specific case was not handled.
Regression Test Steps
Do we agree 👍 or 👎? |
@garrettmknight Done. |
Thanks! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.45-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4350580
Email or phone of affected tester (no customers): applausetester+0507gm@applause.expensifail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition:
Expected Result:
There should be no error message when refresh page
Actual Result:
"Auth OpenReport returned an error" system message appear when refresh thread page from archived individual workspace chat
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6397412_1709230358381.Recording__2411.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @akinwaleThe text was updated successfully, but these errors were encountered: