-
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 2023-10-24] [$500] DEV: console error on click of send money #29464
Comments
Triggered auto assignment to @lschurr ( |
Job added to Upwork: https://www.upwork.com/jobs/~01260d59659dd2e2bf |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale ( |
📣 @ilmzone! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.console error on click of send money What is the root cause of that problem?https://expensify.slack.com/archives/C01GTK53T8Q/p1695110739750909 What changes do you think we should make in order to solve the problem?https://github.com/Expensify/App/blob/main/src/pages/iou/ReceiptSelector/NavigationAwareCamera.js and const NavigationAwareCamera = React.forwardRef(({torchOn, onTorchAvailability, ...props}, ref) => {
++
export default NavigationAwareCamera or const ForwaredNavigationAwareCamera = React.forwardRef(NavigationAwareCamera);
ForwaredNavigationAwareCamera.propTypes = propTypes;
ForwaredNavigationAwareCamera.displayName = 'NavigationAwareCamera';
ForwaredNavigationAwareCamera.defaultProps = defaultProps;
export default ForwaredNavigationAwareCamera |
While both proposals so far would solve the issue, I would recommend going with @pradeepmdk's solution as this follows the documented coding standards. The 🎀 👀 🎀 C+ reviewed. |
Triggered auto assignment to @cristipaval, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @akinwale 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @pradeepmdk 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @gadhiyamanan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@akinwale Pr is ready for review |
🎯 ⚡️ Woah @akinwale / @pradeepmdk, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.85-4 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 2023-10-24. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
@akinwale could you work on the checklist for this one? |
No offending PR, but there is now a standard for using
Not a regression, it was an erroneous implementation approach with
Regression test
Do we agree 👍 or 👎 |
@lschurr Done! |
Payment summary:
|
All paid! Closing. |
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: Dev
Reproducible in staging?: Reproduced in Dev only
Reproducible in production?: No
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: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697088716700199
Action Performed:
Expected Result:
should not show console error
Actual Result:
console error appears(forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Screen_Recording_20231012_110955_New.Expensify.Dev.mp4
Android: mWeb Chrome
Screen_Recording_20231012_110826_Chrome.mp4
iOS: Native
Simulator.Screen.Recording.-.iPhone.13.-.2023-10-12.at.11.11.14.mp4
iOS: mWeb Safari
RPReplay_Final1697088838.MP4
MacOS: Chrome / Safari
Screen.Recording.2023-10-12.at.10.59.50.AM.mov
MacOS: Desktop
Screen.Recording.2023-10-12.at.11.06.21.AM.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: