Product Specification Characteristics are not properly patching all properties
## Initial state
Create a new Product Specification (POST) containing a productSpecCharacteristic array
`
{ "name": "New Bug Reproduction Spec", "description": "test product spec characteristic creation/update", "lifecycleStatus": "Active", "productSpecCharacteristic": \[ { "name": "TestCharacteristic_Color", "description": "test", "valueType": "String", "configurable": true, "productSpecCharacteristicValue": \[ { "value": "Blue", "isDefault": true } \] } \] }
`
## Patch working
Update the created Product Specification (PATCH), switching the characteristic name to "TestCharacteristic_Color_NEW"
`
{ "name": "New Bug Reproduction Spec", "description": "test product spec characteristic creation/update", "lifecycleStatus": "Active", "productSpecCharacteristic": \[ { "name": "TestCharacteristic_Color_NEW", "description": "test", "valueType": "String", "configurable": true, "productSpecCharacteristicValue": \[ { "value": "Blue", "isDefault": true } \] } \] }
`
## Patch Not working
Update the created Product Specification (PATCH), switching anything but name
`
{
"name": "Bug Reproduction Spec1",
"description": "test product spec characteristic creation/update1",
"lifecycleStatus": "Active",
"productSpecCharacteristic": [
{
"name": "TestCharacteristic_Color_NEW",
"description": "test1",
"valueType": "ENUM",
"configurable": false,
"productSpecCharacteristicValue": [
{
"value": "Blue",
"isDefault": false
},
{
"value": "Redish",
"isDefault": false
}
]
}
]
}
`
It returns 200, without respecting the changes, **but if you change also the name, the changes are set**
issue