-
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-05-20] [$250] Expense - Console error shows up when opening date editor in transaction thread #41760
Comments
Triggered auto assignment to @hayata-suenaga ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@hayata-suenaga 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 #wave-collect - Release 1 |
Job added to Upwork: https://www.upwork.com/jobs/~01947b8d6b6d6db97d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expense - Console error shows up when opening date editor in transaction thread What is the root cause of that problem?
Reason for adding /**
* We check to see if this key is flagged as safe for eviction and add it to the recentlyAccessedKeys list so that when we
* run out of storage the least recently accessed key can be removed.
*/
function addKeyToRecentlyAccessedIfNeeded(mapping) {
if (!isSafeEvictionKey(mapping.key)) {
return;
}
// Try to free some cache whenever we connect to a safe eviction key
OnyxCache_1.default.removeLeastRecentlyUsedKeys();
if ('withOnyxInstance'in mapping && mapping.withOnyxInstance && !isCollectionKey(mapping.key)) {
// All React components subscribing to a key flagged as a safe eviction key must implement the canEvict property.
if (mapping.canEvict === undefined) {
throw new Error(`Cannot subscribe to safe eviction key '${mapping.key}' without providing a canEvict value.`);
}
addLastAccessedKey(mapping.key);
}
} App/src/pages/iou/request/step/IOURequestStepDate.tsx Lines 142 to 162 in 9f4bf60
What changes do you think we should make in order to solve the problem?Add What alternative solutions did you explore? (Optional) |
Proposal Updated
|
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@Krishna2323 I assigned you. please let me know when you open a PR to fix it 🙇 |
@hayata-suenaga, PR is up, recording videos. |
@hayata-suenaga @fedirjh, PR ready for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.72-1 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-05-20. 🎊 For reference, here are some details about the assignees on this issue:
|
I haven't reviewed the PR. The only thing left to do is make the payment for @Krishna2323. No need for a regression test. |
Issue is ready for payment but no BZ is assigned. @Christinadobrzyn you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
Payouts due:
Upwork job is here. No regression test so closing this. |
@Christinadobrzyn I am not eligible for the payment. I have issued a refund. |
ah thank you @fedirjh, I wasn't sure about that. Thanks for issuing the refund. |
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.71-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
No console error will show up
Actual Result:
Console error shows up when opening date editor in transaction thread.
The same issue also happens when opening date picker in confirmation page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6473656_1715080251902.date.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @fedirjhThe text was updated successfully, but these errors were encountered: