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

Improved check for attribute codes in "additional_attributes" field #9299

Merged
merged 1 commit into from
Apr 19, 2017

Conversation

ccasciotti
Copy link
Contributor

@ccasciotti ccasciotti commented Apr 18, 2017

This PR adds the capability to handle uppercased attribute codes in "additional_attributes" field.
Assume that you have this content in additional_attributes field:

attributecode1=value1,ATTRIBUTECODE2=value2

and in your database both attributes have code in lowercase.
With current behavior the second attribute is skipped, with this PR the system also handles the second attribute without skipping it.

I've added also two new test cases to test both methods parseAttributesWithoutWrappedValues and parseAttributesWithWrappedValues

@ishakhsuvarov ishakhsuvarov self-assigned this Apr 19, 2017
@ishakhsuvarov ishakhsuvarov added this to the April 2017 milestone Apr 19, 2017
@magento-team magento-team merged commit 6cdb992 into magento:develop Apr 19, 2017
magento-team pushed a commit that referenced this pull request Apr 19, 2017
@magento-team
Copy link
Contributor

@ccasciotti thank you for your contribution. Your Pull Request has been successfully merged

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 this pull request may close these issues.

3 participants