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

Magento sends list with empty string for category mapping sometimes: [""] #236

Closed
skwp opened this issue Apr 25, 2016 · 3 comments
Closed
Labels

Comments

@skwp
Copy link
Contributor

skwp commented Apr 25, 2016

We are seeing this in some requests

category_uuids:[""]

In other words it's an array with one element, which is an empty string. This is not a valid mapping. If no mappings are present we should send an empty array.

@skwp skwp added the bug label Apr 25, 2016
@dunagan5887
Copy link
Contributor

@skwp Should I begin work on this one?

@skwp
Copy link
Contributor Author

skwp commented Apr 25, 2016

Yes if this is a quick thing please let's knock it out

@dunagan5887
Copy link
Contributor

Looking at the code I'm not sure how this would be happening on the current version of the module. I can put in a fix to try to prevent this, but that would not address whatever deeper issue is causing this issue. Is there any way we could get a database dump for one of the instances sending these requests? Also could you provide the entire requests which contains the empty category_uuids array?

@skwp skwp closed this as completed Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants