-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
EAV attribute backend model 'ArrayBackend' filters non numeric values #37675
Comments
Hi @DiskoPete. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
@magento I am working on this |
Hi @DiskoPete! 👋 |
@magento add to contributors team |
Hi @DiskoPete! 👋 |
@magento I am working on this |
Hi @engcom-November. Thank you for working on this issue.
|
Hello @DiskoPete, Thank you for reporting and collaboration! We have tried to reproduce the issue on 2.4-develop, We found that the custom attribute value is not being saved and is being deleted when we try to change the value from REST API call, There is already an issue on Custom attribute being deleted. You can refer the below screenshots After using PUT to change custom attribute value, The custom attribute is being deleted. Hence putting the Issue on hold. Thanks. |
Hello @DiskoPete Thank you for your contribution and collaboration! An internal Magento team is working on this issue right now (as Jira ticket |
@magento I'm working on it |
This ticket is closed, but the linked MR is still open...does anyone have a link the the MR that fixed this issue? |
Preconditions and environment
Steps to reproduce
\Magento\Eav\Model\Entity\Attribute\Backend\ArrayBackend
backend modelExpected result
Changed/new attribute values are saved to the product.
Actual result
Attribute values are not saved
Additional information
The non numeric values are filtered here and won't be saved:
https://github.com/magento/magento2/blob/2.4.6/app/code/Magento/Eav/Model/Entity/Attribute/Backend/ArrayBackend.php#L67
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: