-
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-08-07] [$250] Desktop - Task - Error occurs when update long content for task description for second time #42660
Comments
Triggered auto assignment to @bfitzexpensify ( |
@bfitzexpensify 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 |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task - Error occurs when update long content for task description for second time What is the root cause of that problem?We don't remove the optimistic message if an error occurs, this interfers with get older report action calls since the current report action does not exist in server. What changes do you think we should make in order to solve the problem?We should update Line 489 in c22945a
value: {[editTaskReportAction.reportActionID]: null}, ResultBeforeScreen.Recording.2024-05-28.at.2.02.36.AM.movAfterScreen.Recording.2024-05-28.at.1.44.43.AM.mov |
Job added to Upwork: https://www.upwork.com/jobs/~011028270f108dc08b |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Edited Task - Error occurs when description content exceed the 500 characters after parsed as html. What is the root cause of that problem?This error occurs when description content exceed the 500 characters after parsed as html in getParsedComment(), when we parse the description to HTML format using Technical explanationIn other words we validate the text has a max length of 500 characters, ie, the next text has 493 characters: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent placerat consectetur enim sit amet sodales. Etiam elementum, lorem id sollicitudin dignissim, quam nibh sodales arcu, imperdiet consequat risus mi sit amet lorem. Donec iaculis at tortor eget vulputate. Duis dignissim non diam id mattis. Suspendisse sit amet consequat elit, feugiat mattis libero. In hendrerit dui ac ante hendrerit condimentum nec ddddDonec tellus odio, tristique non hendrerit quis, scelerisque placerat odio. But this is converted to (505 characters): Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent placerat consectetur enim sit amet sodales. Etiam elementum, lorem id sollicitudin dignissim, quam nibh sodales arcu, imperdiet consequat risus mi sit amet lorem. Donec iaculis at tortor eget vulputate. Duis dignissim non diam id mattis. Suspendisse sit amet consequat elit, feugiat mattis libero. In hendrerit dui ac ante hendrerit condimentum nec What changes do you think we should make in order to solve the problem?We can validate the parsed description max length instead of the plain text here: App/src/pages/tasks/TaskDescriptionPage.tsx Lines 41 to 43 in 63a20f4
Like:
Test:Max.lenght.parsed.description.mp4What alternative solutions did you explore?We can remove the ReportUtils.getParsedComment(description) and let the description as a plain text. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The error occurs when updating long content for the task description for a second time, after that user can't update the description or task name What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
Note: We already had the same logic in WorkspaceNewRoomPage. What alternative solutions did you explore? (Optional)NA |
Triggered auto assignment to @adelekennedy ( |
Adding a second BZ team member to keep an eye on this while I'm ooo until June 11th. Current status: proposal review. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@abdulrahuman5196 there are three proposals to review - will you be able to check them out today? |
hi will check on this today |
@samilabud 's proposal addresses the root cause of html text length mismatch since we use length of the plain text for comparison. @neonbhai 's proposal should remove the new optimistic task action, but I think the solution should be fixing the html text length mismatch which would fix the issue at root. This could be considered as a extended fix but not the core fix. @tienifr's proposal seems to be a improved combination of the both, so I don't think I can value it as a separate proposal. |
@samilabud 's proposal here #42660 (comment) looks good and works well. 🎀 👀 🎀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.14-6 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-08-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:
|
@bondydaa What do you mean by updating the test steps? |
regression test steps |
These test steps here? Update them so that they make sure to maintain the description <500 chars? Sorry for the annoying questions but wanna make sure I do it right, first time logging into TestRail 😅 |
@carlosmiceli , @abdulrahuman5196, the C+, is responsible for proposing regression test steps, then the QA team will decide where to create them, if needed |
@mallenexpensify great, thanks for letting us know! Will cross this off my list of pending things then. |
Payments have been made -we're just waiting for the regression test steps @abdulrahuman5196 |
Not a regression IMO
Yes.
@adelekennedy I haven't received payment for this. And I am getting paid in newDot. Thank you. |
@abdulrahuman5196 that's my bad - I see that you ended the contract vs us closing and paying out Contributor: @abdulrahuman5196 paid $250 via Upwork ( Matt A did on 8/30 as a bonus payment) |
Payment is still pending on this issue. |
This comment was marked as resolved.
This comment was marked as resolved.
@adelekennedy I closed the contract before because I am getting paid via newDot now 😅 as called out. |
🤦♀️ Payouts due:
|
@abdulrahuman5196 , can you please cancel your NewDot payment request! I've paid you via Upwork. You were assigned to this issue before your eligibility date. Thx |
Deleted the newDot expense. Thank you for payment. |
hi not overdue, We can close this issue @adelekennedy |
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.76-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?/runs/view/21450&group_by=cases:section_id&group_order=asc&group_id=291935
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The error of the app shows, warning the user because the content too long
Actual Result:
The error occurs when updating long content for the task description for a second time, after that user can't update the description or task name
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6493142_1716830309579.Screen_Recording_2024-05-27_at_23.57.54.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @carlosmiceli / @adelekennedyThe text was updated successfully, but these errors were encountered: