This leads to the bugs:
Bug: the system requires to set a configurable option of configurable (not simple) product
After resaving a configurable product the system makes it simple (not configurable)