You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the result of \Magento\Customer\Model\Customer\Source\Group::toOptionArray as options in an (multiselect) attribute source model, the respective customer group CUST_GROUP_ALL is not getting selected in the Magento Admin-Panel despite the value of the group being set.
The text was updated successfully, but these errors were encountered:
Preconditions
Steps to reproduce
\Magento\Customer\Model\Customer\Source\Group::toOptionArray
Expected result
$customerGroups['value']
should be of type stringActual result
\Magento\Customer\Api\Data\GroupInterface::CUST_GROUP_ALL
) is integerSolution
GroupInterface::CUST_GROUP_ALL
to stringmagento2/app/code/Magento/Customer/Model/Customer/Source/Group.php
Line 59 in 354fc11
When using the result of
\Magento\Customer\Model\Customer\Source\Group::toOptionArray
as options in an (multiselect) attribute source model, the respective customer groupCUST_GROUP_ALL
is not getting selected in the Magento Admin-Panel despite the value of the group being set.The text was updated successfully, but these errors were encountered: