Expected behavior:
When updating object property name, even if some of its aspect properties or aspects are “softly” removed, it should only rename property, and do nothing with values.
Actual behavior:
When updating object property name, all of its values are lost.
Steps to reproduce:
I had aspect “Dimensions” with 3 properties: “Width”, “Height”, “Depth” (all of them have the measure “Metre” and base type “Decimal”). I assigned “Description” to a property of the object (With name “Box”). I assigned NullValue to “Description”, and 2m to Width, 2m to Height, 2m to Depth.
Then I removed aspect “Height”. As it is used in property and in value, that was “soft” remove. Then I removed property “Height” from aspect “Dimensions”. As it is used in object value, it was “soft” remove. Then I try to rename property of object “Box”, that points to aspect “Dimensions” from null to “My Dimensions”. After successful rename, if I try to fetch the state of the object, I can see that all of its values are lost.
I expect all the values to remain as they were, including ones, corresponding to aspects or aspect properties, that were “softly” removed.
Expected behavior: When updating object property name, even if some of its aspect properties or aspects are “softly” removed, it should only rename property, and do nothing with values.
Actual behavior: When updating object property name, all of its values are lost.
Steps to reproduce: I had aspect “Dimensions” with 3 properties: “Width”, “Height”, “Depth” (all of them have the measure “Metre” and base type “Decimal”). I assigned “Description” to a property of the object (With name “Box”). I assigned NullValue to “Description”, and 2m to Width, 2m to Height, 2m to Depth. Then I removed aspect “Height”. As it is used in property and in value, that was “soft” remove. Then I removed property “Height” from aspect “Dimensions”. As it is used in object value, it was “soft” remove. Then I try to rename property of object “Box”, that points to aspect “Dimensions” from null to “My Dimensions”. After successful rename, if I try to fetch the state of the object, I can see that all of its values are lost. I expect all the values to remain as they were, including ones, corresponding to aspects or aspect properties, that were “softly” removed.