-
Notifications
You must be signed in to change notification settings - Fork 3k
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] [$125] App crashes when click on Category while creating Money request #36622
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01c8a1b900f7b1723d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
Triggered auto assignment to @joekaufmanexpensify ( |
We (applause) think this might be related to #wave6-collect-submitters |
ProposalPlease re-state the problem that we are trying to solve in this issue.App crashes when click on Category while creating Money request What is the root cause of that problem?We are trying to access App/src/libs/OptionsListUtils.ts Lines 848 to 849 in 1c0d126
For category of & the name is html encoded ampersand while the category key is & What changes do you think we should make in order to solve the problem?As I have seen it with repeated testing the categories list the BE returns is unreliable in terms of html encoding and decoding we can add nullish checker to make it equivalent to the state of the code before the TS migration #32470 to avoid this edge case crash
What alternative solutions did you explore? (Optional) |
Can't reproduce now although I can reproduce 30 minutes ago |
Not reproducible for me either. |
Closing as this isn't consistently reproducible! |
Coming from @FitseTLT's comment here #36473 (comment) Can we retest with this reproduction steps and a specific category? Precondition: Steps:
@FitseTLT can you please add detailed proposal with example - like what is the structure of category object at that time in code and reason for crash. And also there are many occurrences in CategoryPicker component and OptionsList where we access properties(name and enabled) of category object. So combining all such crash inducing occurrences and fixing it once would be great. We fixed one crash here #36157 |
Sure, I'll try and reproduce with those steps today. |
@MonilBhavsar I just tried to reproduce with the steps you listed above, and it worked fine for me. No crash or issues. |
Thanks Joe for taking another look! |
@MonilBhavsar @joekaufmanexpensify Today I had time to check it and it is still reproducible (I easily reproduced it three times in a row using steps in the vid); here is a video that shows it. Basically as U can see from the Vid the step is same as the OP except may be before disabling "People must categorize expenses" I open the category page it works and I disable it and get back then it crashes with same root cause as in my proposal Untitled.Project2.mp4 |
Can you please mention reproduction steps in order and include a category name, if any specific category name caused the crash? |
Precondition :
|
|
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:
|
@alitoshmatov could you please handle checklist so we can prep to issue payment? |
bump @alitoshmatov for when you have a sec |
|
Payment Summary
BugZero Checklist (@joekaufmanexpensify)
|
Great. All set to issue payment! |
Old upwork job had closed, so opened new one: https://www.upwork.com/jobs/~01b6e231738f508b43 |
@alitoshmatov offer sent for $125! |
@FitseTLT offer sent for $125! |
Accepted |
1 similar comment
Accepted |
@alitoshmatov $125 sent and contract ended! |
@FitseTLT $125 sent and contract ended! |
upwork job closed. |
All set. Thanks everyone! |
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.42-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:
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:
Action Performed:
Precondition:
User is an employee of Collect workspace on Old Dot
Steps:
Expected Result:
Employee should be able to navigate to Category and select item
Actual Result:
App crashes when click on Category while creating Money request
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6381048_1708022955985.Gravar__2318.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: