-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Reseting the date of incorporation crashes the app #14417
Comments
I reproduced the bug locally, seems we didn't implement an initial value for the |
Job added to Upwork: https://www.upwork.com/jobs/~015f5204e26a9f2c93 |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @aimane-chnaif ( |
PR up. |
@marcochavezf , can you elaborate on this please? My understand is that there was a regression and @esh-g caught it, then we fixed it. If so, they're, at least, due compensation for finding the regression and reporting it. If they also provided the solution that we used, and you're wondering if compensation is due for that, we'd need to discuss more (cuz I'm unsure) |
I am assigned here but not in PR. It seems automation doesn't work correctly. Shall I review PR? |
Regression !!!!I caught a regression from this PR: https://expensify.slack.com/archives/C049HHMV9SM/p1674144058692939 Solution diff --git a/src/components/DatePicker/index.ios.js b/src/components/DatePicker/index.ios.js
index 6f37202cf..960fa798c 100644
--- a/src/components/DatePicker/index.ios.js
+++ b/src/components/DatePicker/index.ios.js
@@ -41,6 +41,7 @@ class DatePicker extends React.Component {
showPicker(event) {
// Opens the popover only after the keyboard is hidden to avoid a "blinking" effect where the keyboard was on iOS
// See https://github.com/Expensify/App/issues/14084 for more context
+ this.initialValue = this.state.selectedDate;
if (!this.props.isKeyboardShown) {
this.setState({isPickerVisible: true});
return;
@@ -50,7 +51,6 @@ class DatePicker extends React.Component {
listener.remove();
});
Keyboard.dismiss();
- this.initialValue = this.state.selectedDate;
event.preventDefault();
}
Reposting the comment from the PR to this issue |
Yes, I thought this would work like reporting a regular bug as this PR was merged into staging.... |
Oh I noticed @thesahindia already started reviewing PR |
I agree we should compensate for finding and reporting it.
Yeah, I saw the solution after I created the PR since it's a one-line change, so technically I didn't use the solution provided but it's the same solution 😄 |
Thanks @marcochavezf , i'll plan to compensate @esh-g $250 for reporting the regression when I pay out this issue. @aimane-chnaif I think the issue for assignment got borked cuz the PR was created at the same time as you were assigned here. Let's consider it an edge case for now unless anyone disagrees |
The PR #14427 is merged, so is this issue now resolved? |
@esh-g , per CONTRIBUTING.md,
That's also when we consider it resolved. |
Yes, just wanted to confirm that it was on the 7-day period 👍 |
Were there any regressions found in this time? |
@mallenexpensify, this is ready for the payment. |
Thanks @thesahindia , sorry for the delay @esh-g , the issue wasn't having the It might say $1000 for the job, payment will be $250 for reporting. |
Applied, thanks! |
@mallenexpensify I have applied under the name Tanya G. |
@esh-g and @thesahindia both hired, can you please accept the job and reply here once you have? |
@mallenexpensify Accepted, successfully! |
Accepted! |
@esh-g paid $250 for reporting @thesahindia can you complete steps 1-3 below? 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:
Checking on this the last step here https://expensify.slack.com/archives/C01SKUP7QR0/p1675906686840469 Regression Test Buddy Check! |
https://expensify.slack.com/archives/C01GTK53T8Q/p1675961152450879 |
I am not sure what the first 4 steps are but if they look something like below then we are good
|
@marcochavezf @mallenexpensify this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
Thanks @thesahindia , we should be all set! Update TestRail GH is |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
1.Connect a bank account
2. Under company information, select incorporation date
3. Click on Reset option
Expected Result:
The date should be reset to today
Actual Result:
App crashes
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.56-0
Reproducible in staging?: Y
Reproducible in production?: Could not check
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
Notes/Photos/Videos:
Screen.Recording.2023-01-19.at.9.28.14.PM.mov
MRWN4995.1.MP4
Expensify/Expensify Issue URL:
Issue reported by: @esh-g
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1674144058692939
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: