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

Inconsistency: an attribute code maximum length validation does not conform to the database field maximum length #2073

Closed
dmitrii-fediuk opened this issue Oct 10, 2015 · 8 comments

Comments

@dmitrii-fediuk
Copy link

A detailed analysis here: https://mage2.pro/t/129
See also another bug with attribute code length validation: #1978

@tanya-soroka
Copy link

Internal ticket has been created MAGETWO-44070.

@tanya-soroka
Copy link

@dfediuk issue has been fixed.

@rain2o
Copy link
Contributor

rain2o commented Nov 17, 2016

As of version 2.1.2 I am still seeing this discrepancy between the 30 character limit and the 255 character limit. I don't see where this was resolved.

@steros
Copy link
Contributor

steros commented Apr 25, 2017

@tanya-soroka this is still an issue in 2.1.5 and possibly newer, can you please reopen the ticket

@davidvarney
Copy link

davidvarney commented Jun 22, 2017

@tanya-soroka adding to @steros comment, this is still an issue in 2.1.6 and 2.1.7, can you please reopen the ticket.

@tanya-soroka This is a pretty annoying issue here. I changed the constant value from 30 to 255 and everything was fine when I programmatically added a bunch of attributes via my custom module.

@korostii
Copy link
Contributor

Hi @magento-team, can this issue be looked at?
All the code referenced in the issue report remains unchanged on both develop and 2.1-develop up until now:
https://github.com/magento/magento2/blob/2.1-develop/app/code/Magento/Eav/Model/Entity/Attribute.php

It's not clear, what was reportedly "fixed" instead, exactly?

magento-engcom-team pushed a commit that referenced this issue Feb 13, 2018
Fixed issues:
- MAGETWO-84397: Overlapping reindex processes of catalogrule_rule
- MAGETWO-84992: Bundle Product is_salable check is wrong
- MAGETWO-85205: Multiselect Attribute is not saved for a product in the admin panel when it has a related product using another attribute set
@vaguemind
Copy link

Hello , I still have this issue when importing csv file for products in version 2.3 ?!
can you advise the solution ?

Thanks

@oviliz
Copy link

oviliz commented Mar 31, 2019

@magento-admin could anyone please review this "closed" issue?

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

No branches or pull requests

8 participants