-
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
[$1000] [Onyx re-key] Prop type warnings / errors #20802
Comments
Triggered auto assignment to @NicMendonca ( |
Bug0 Triage Checklist (Main S/O)
|
@Beamanator what should I be doing with this one? 👀 |
haha good question 😬 I think we can keep this open for a bit, but hopefully soon all of these will be resolved - I'll assign myself too to keep an eye out |
@Beamanator heads up I am going OOO until Wednesday. Please re-assign if action is required before then. Thanks! |
@Beamanator, @NicMendonca Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@Beamanator anything needed from me here yet? |
@NicMendonca I think we should be able to get 1 external person to audit the app & see if all of the above reported console errors are fixed - if not, spin up a PR to fix them 👍 |
Job added to Upwork: https://www.upwork.com/jobs/~0144288ee67ea3d1ae |
Current assignee @NicMendonca is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.We get some prop type warnings / errors What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?We should change propTypes to Number here Line 33 in 40c494f
because this func uses accountID from Onyx here:Lines 24 to 30 in 0e21bc5
Lines 576 to 580 in 0e21bc5
and we should explicitly convert accountID to Number when it is passed as a string from route params:App/src/pages/ValidateLoginPage/index.js Lines 43 to 59 in 0e21bc5
accountID is string here:
also here func params should be described properly and should be of type Number because selectedEmployees is an array of Number App/src/pages/workspace/WorkspaceMembersPage.js Lines 211 to 235 in 0e21bc5
and we should convert to Number here:App/src/pages/workspace/WorkspaceMembersPage.js Lines 252 to 254 in 0e21bc5
|
@Beamanator Is this like an investigation + fix? Because I can see proposals but I don't see any investigations? |
@mananjadhav - yeah i think investigation just to the point of "does this proptype error still exist" & if it does, recommend the fix |
@Beamanator @mananjadhav All of the mentioned cases of console errors are now resolved |
Okkk thanks @alexxxwork - if you see other cases please feel free to report in #expensify-bugs - for now let's close! |
Hello @Beamanator! There is another console error when requesting money. Let me know if I need to open a separate ticket for that. Thank you |
@kbecciv yes please create a different issue, this specific issue deals with a different type of console error (unrelated to what you found) 👍 |
Sound good @Beamanator |
Here I'll list a few places people have reported proptypes being incorrect:
This only occurs in
main
for now, but we should get it fixed soonUpwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: