When attempting to add a configurable product via the Admin panel > Sales > Order > Create New Order button. If you add a Parent product without selecting a child product you get a message that you need to choose an option. If you attempt to remove the parent product without a child product selected you get the error:
Notice: Undefined index: type in /home/m2track/public_html/vendor/magento/module-gift-message/Model/Save.php on line 74
Magento 2.1.2 CE
PHP 7
NginX Hosted service (mage mojo)
Chrome Browser.
Hi, thank you for your report. I was not able to reproduce your issue by original steps, It is always force me to select option in pop-up.
But I succeed in such steps sequence:
To get message about configurable product doesn't have sub-products I have to open another tab and delete child product. After update previous tab with order creation in admin.
I create internal MAGETWO-61530 issue with my steps. Unfortunately I cannot reproduce this issue with your steps. Is it OK for you @spyrule
According to contributor guide, tickets without response for two weeks should be closed.
If this issue still reproducible please feel free to create the new one: format new issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result and specify Magento version.
@veloraven , If you read the response from @olysenko , there is an internal ticket applied. Not sure why this is being closed.
@olysenko - Yes, I'm ok with your method.