-
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
[$250] Workspace - "[Onyx] Provided collection" console errors appear after creating a WS #42299
Comments
Triggered auto assignment to @MitchExpensify ( |
@MitchExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Same error solved here https://expensify.slack.com/archives/C049HHMV9SM/p1689120594593919 |
Job added to Upwork: https://www.upwork.com/jobs/~014ddfbda5cc9dce3a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra ( |
Can you please help identify what response from the OpenReport is causing this error @shubham1206agra? Seems like some of the onyx data might be malformed |
I am not able to repro this. |
I think this is related to this PR https://github.com/Expensify/Auth/pull/10090 that was deployed for a bit. it causes reports to be duplicated in the mergeCollection call but one set of reports is incorrectly added with 0,1,2,.. indices. That as a consequence and the mergeCollection as a whole is not applied cc @jasperhuangg Thats because here, we are going to mark the entire update as malformed and none of the reports from the mergeCollection will get merged into onyx. |
Thank you @mountiny for looking into it. I didn't realize that mergeCollection worked like this and should have been more careful when adding the changes. The incorrect indices were not intended to be on production at all–a Web PR that was held on the Auth PR was meant to go out shortly afterwards, but was held up on the merge freeze. |
This is hard to catch, no problem |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.74.0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #41651
Action Performed:
Expected Result:
No console errors should appear
Actual Result:
"Expensify.tsx:43 [Onyx] Provided collection doesn't have all its data belonging to the same parent." console errors appear after creating a WS. Sometimes the errors appear after a few seconds, sometimes it takes 1-2 minutes
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6481631_1715778347799.bandicam_2024-05-15_14-59-11-002.mp4
logs (2).txt
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @shubham1206agraThe text was updated successfully, but these errors were encountered: