Feature request from davidverholen, posted on GitHub Jan 16, 2018
Preconditions
- Magento 2.2.2 Commerce Edition (Most likely the same behavior in OS)
- API Integration in place
Steps to reproduce
- Create a custom required, global product attribute that can be used for configurations (e.g. select)
- Create one or more simple products with different values for the attribute
- Create a configurable product over the rest api for the created simple(s) and leave the required attribute empty
(I think the API point is only important for reproducing since creating the product in the backend would most likely lead to have the default value / first value in select for the attribute submitted)
Expected result
- The created attribute should not be required for the configurable product when it is used for configurations
Actual result
- The attribute is required for the configurable product
"message":"Product with id \"%1\" does not contain required attribute \"%2\"
Current Workaround is to set the attribute to not required