-
Bug
-
Resolution: Done
-
Medium
-
London Release
-
None
-
None
To reproduce:
- Select a VFC from the catalog
- Go to the properties view
- Checkout the VFC
- Select a property
- Make any update to the property
- Click the Save button - nothing is sent to the backend, nothing happens at all except the modal is exited
If the VFC is checked out before going to the properties view then there is no issue
If you navigate from the properties view and back then the issue is resolved
During the checkout the readonly field on the property seems to change from undefined to true and hence the following check in property-form-view-model.ts exits the modal without saving the changes:
if ((this.$scope.editPropertyModel.property.readonly && !this.$scope.isPropertyValueOwner) || (!this.$scope.forms.editForm.$dirty && angular.equals(JSON.stringify(this.$scope.myValue), this.$scope.editPropertyModel.property.value))) { this.$uibModalInstance.close(); return; }