-
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
[HOLD for payment 2024-06-11] App crashes due to trying to access accountIdToName prop in epensimark on an undefined variable #42161
Comments
Triggered auto assignment to @twisterdotcom ( |
Hi, I'm Marcin from Software Mansion and I would like to work on this |
Doesn't look like I'm needed here as no C+ reviewed these PRs, but LMK if anybody needs paying. |
@robertKozik @war-in I think we still have a type error as here we use |
Yeah you're right, there is typo in the types. I'll spin up the PR soon |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
We've reverted PR #42176 that updated expensify-common version in the App, because it caused multiple crashes. The crash will happen again if we update expensify-common version in the App for some reason. Can anyone please fix the issue from root cause i.e. in expensify-common please. Thanks! |
@war-in said they would work on it and I assigned them. |
Nice, okay @war-in let us know if you need any help here. |
@iwiznia @twisterdotcom I've found what the bug is. This PR introduced Please share your thoughts 🙏 |
I don't get this. What part of |
Based on this error I found the line which uses jquery. Network is used by Screen.Recording.2024-06-03.at.12.58.10.mov |
Hmmmm why is it using that? We call |
I think the callstack looks like this:
Where function serverLoggingCallback(logger, params) {
return API(Network('/api/')).logToServer(params);
}
export default new Logger({
serverLoggingCallback,
clientLoggingCallback,
isDebug: isWindowAvailable() ? window.DEBUG : false,
}); |
The |
The export default new Logger({
serverLoggingCallback,
clientLoggingCallback,
isDebug: isWindowAvailable() ? window.DEBUG : false,
}); |
Looking at the code Also |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.78-5 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 2024-06-11. 🎊 For reference, here are some details about the assignees on this 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:
|
1st PR for this was reverted. |
I can't access a chat with a client, possible same issue https://github.com/Expensify/Expensify/issues/403390 |
@war-in @blazejkustra we are missing re-updating the version of expensify commons the App uses, no? |
Afaik @blazejkustra updated the |
Okay, Is this ready for payment yet or not? Does it even need payment? Perhaps only for @ikevin127 somewhere? |
@twisterdotcom I reviewed the initial PR as C+ but it was reverted in #42914, therefore no payment is due here and the hold for payment can be removed. Not sure if I'm still needed as reviewer for PR number 2 🤔 |
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
I was able to load the chat today without issue 😁 thank you for the fix! |
Looks like it was internally reviewed. Okay, closing this then. |
Context https://expensify.slack.com/archives/C04878MDF34/p1715699038416249
Issue Owner
Current Issue Owner: @twisterdotcomThe text was updated successfully, but these errors were encountered: