Skip to content

Update max length for attribute_code (30 to 255) #10199

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

Merged
merged 1 commit into from
Jul 11, 2017
Merged

Update max length for attribute_code (30 to 255) #10199

merged 1 commit into from
Jul 11, 2017

Conversation

Nolwennig
Copy link
Member

@Nolwennig Nolwennig commented Jul 10, 2017

Description

According with 'attribute_code' (size 255) see in https://github.com/magento/magento2/blob/develop/app/code/Magento/Eav/Setup/InstallSchema.php#L644 , I update the ATTRIBUTE_CODE_MAX_LENGTH constant value from 30 to 255;

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

According with 'attribute_code' (size 255) see in https://github.com/magento/magento2/blob/develop/app/code/Magento/Eav/Setup/InstallSchema.php#L644 , I update the ATTRIBUTE_CODE_MAX_LENGTH constant value from 30 to 255;
@Ctucker9233
Copy link

@magento-team this PR doesn't appear to be in 2.2 as of 2.2.7. Does it need to be ported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants