-
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
Make sure amount is string before trimming #14850
Conversation
|
@robertjchen Thanks for fixing this, let me know if you need help with this, added CP Staging label so we can get this out and fix the deploy blocker! |
@mollfpr @neil-marcellini One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosTesting this flow is tough as you need to get past onfido. I am going to approve this change since its a simple change which should work on all platforms. WebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
@mountiny Is this still need my review? 😅 |
@mollfpr Correct, no need, thank you! |
Manually CPing https://github.com/Expensify/App/actions/runs/4105073775 |
Make sure amount is string before trimming (cherry picked from commit 68797f3)
…-14850 🍒 Cherry pick PR #14850 to staging 🍒
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.2.65-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/mountiny in version: 1.2.65-2 🚀
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
Thanks for the review! This fixes a deploy blocker where verification amounts need to be converted to string before calling
trim()
.Fixed Issues
$ #14847
$ #14847 (comment)
Tests
Follow sequence of actions as described: #14847 (comment)
In short, connect bank manually in a workspace, and witness a JS error when entering validation amounts.
Offline tests
N/A
QA Steps
Follow sequence of actions as described: #14847 (comment)
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android