-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Custom Product Attribute changes 'backend_type' when 'is_user_defined = 1' and get updated/saved in Admin Backend #9219
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
Comments
After digging into the code the problem starts in the file: module-catalog/Controller/Adminhtml/Product/Attribute/Save.php on line 199
So when the Attribute is user defined The method getBackendTypeByInput() is defined in: module-eav/Model/Entity/Attribute.php
By this method the frontend_input: select will always return int For the moment the solution will be to change the custom attribute to is_user_defined = 0 but I think this should be handled different for user defined attributes by not setting the backend_type based on the frontend_input Or are there any reasons this is handled this way? |
@mhauri, thank you for your report. |
should I commit ? After checking long conversion I am confuse(whether it is merged or not) in status @okorshenko @ishakhsuvarov |
I'm working on it #SQUASHTOBERFEST @okorshenko @ishakhsuvarov |
Hi @mhauri. Thank you for your report. The fix will be available with the upcoming 2.2.8 release. |
Hi @mhauri. Thank you for your report. The fix will be available with the upcoming 2.3.1 release. |
[Spartans] Bugfixes Delivery
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: