-
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 2022-01-11] [Network] No error messages shown to user when setpassword gets an error from the API #4737
Comments
Triggered auto assignment to @tjferriss ( |
should I made another issue for the API not sending the correct link out or will that get one made internally somewhere else? |
I reported a duplicate issue it seems. I am proposing the following solution. Proposed Solution Add a catch block to setPassword API:
|
@tjferriss Huh... This is 4 days overdue. Who can take care of this? |
I would modify: App/src/libs/actions/Session.js Lines 261 to 281 in 8a5cf2d
To resemble: App/src/libs/actions/Session.js Lines 229 to 231 in 8a5cf2d
Where the error handling would be in a catch block. |
I had a look at how API.js handles it and we have a bunch of switch cases to cover off giving the right translated strings in the Errors to give to translateLocal: Lines 222 to 251 in 8a5cf2d
Do we have such sophistication of HTTP codes for this API call? For a simple fix I can just use the message in the API response to display. But to bring this upto standard with the rest of the app with translations I need a mapping of the different HTTP error codes to copy. |
The API response not being translated should be its own issue. I'll make one later :) |
@tjferriss 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@tjferriss 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@akshayasalvi can you link to the duplicate issue you previously mentioned? If you're working on a solution there then can we close this issue? |
@tjferriss the issue is #4745 . I am not working on it at the moment. One of your team member asked me to apply to this issue and closed the other one . here’s my proposal for the same #4737 (comment) |
Thanks for referencing it and sorry for the delay here. I'm going to tag engineering so someone can take a look and remove my assignment. |
Triggered auto assignment to @chiragsalian ( |
Triggered auto assignment to @kadiealexander ( |
Hired you in Upwork @akshayasalvi, sorry for the oversight there! |
Thanks a lot @kadiealexander. No worries :) |
Hi @akshayasalvi, I've placed this issue on hold as per this update, as we are prioritising issues related to a feature release scheduled for 9/24. As an apology for the delay, we will add a $100 bonus as a thank you for waiting. |
@chiragsalian, @akshayasalvi, @kadiealexander Whoops! This issue is 2 days overdue. Let's get this updated quick! |
On n-6 hold melvin. Shoo. Edit i just noticed its daily, doesn't make sense for something thats on hold to be daily. Demoting to weekly. |
Please refer to this post for updated information on the |
Hold has been removed, please go for gold @akshayasalvi!! |
This issue has not been updated in over 15 days. @chiragsalian, @akshayasalvi, @kadiealexander eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.24-19 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 2022-01-11. 🎊 |
Paid, thanks @akshayasalvi!! |
@kadiealexander This PR was on n6-hold and company offsite hold. Bonus for the same wasn’t added |
Oops, sorry for missing that one! Have issued the bonus now. :) |
Thanks a lot, @kadiealexander for helping here. |
@kadiealexander Should I have had a reporting bonus for this issue? |
Hey Anthony! The reporting bonus came into effect in September last year, a few weeks after this issue was raised. (Link to Slack post). The post is clear about issues raised before this date not qualifying for the reporting bonus, but if you think this should be reassessed for this issue please raise the question in #expensify-open-source to have the team review this. :) |
no worries! thanks for the info :) |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
sign up as a new user and click the link. Delete the last character of the url and navigate.
Expected Result:
An error should be shown to the user explaining why the request didn't work.
In this case say the key has likely expired and a new one will be waiting in their emails.
I would also expect the email from expensify to be another link to new.expensify.com to finish the set password flow
Actual Result:
https://user-images.githubusercontent.com/47184118/129949187-00c5b590-ca4e-4a7a-abee-54b49ece9952.mp4
the second email has a link to the old expensify password reset flow, not to the new.expensify.com/setpassword/.../...
Workaround:
User would have to guess what went wrong (I'm simulating an expired token).
User would have to check emails finish the flow in the old site and then navigate to the new site.
Platform:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: