Skip to content
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

Grouper: cannot read property '0' of undefined #312

Open
neSpecc opened this issue Aug 2, 2022 · 1 comment · May be fixed by #275
Open

Grouper: cannot read property '0' of undefined #312

neSpecc opened this issue Aug 2, 2022 · 1 comment · May be fixed by #275
Assignees

Comments

@neSpecc
Copy link
Member

neSpecc commented Aug 2, 2022

Sometimes Grouper falls down due to following error

image

@neSpecc neSpecc self-assigned this Aug 2, 2022
@neSpecc
Copy link
Member Author

neSpecc commented Aug 2, 2022

The problem: the PHP catcher sends some data via the incompatible format under invalid names and types. This issue was reported under codex-team/hawk.php#39

Such fields leads to the issues with diff calculation since fields could have different structure and types.

function arrayDiff(source, target) {
const diffArray = [];
for (let i = 0; i < target.length; i++) {
diffArray[i] = deepDiff(source[i], target[i]);
}
return diffArray;
}

neSpecc added a commit that referenced this issue Aug 2, 2022
@neSpecc neSpecc linked a pull request Aug 2, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant