diff options
Diffstat (limited to 'catalog-model/src/main/java')
-rw-r--r-- | catalog-model/src/main/java/org/openecomp/sdc/be/model/PropertyDefinition.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/PropertyDefinition.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/PropertyDefinition.java index c06df6541f..6e313eda6c 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/PropertyDefinition.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/PropertyDefinition.java @@ -46,6 +46,9 @@ public class PropertyDefinition extends PropertyDataDefinition implements IOpera public PropertyDefinition(PropertyDefinition pd) { super(pd); + if (pd.getSchema() != null && pd.getSchema().getProperty() instanceof PropertyDefinition) { + this.getSchema().setProperty(new PropertyDefinition(pd.getSchema().getProperty())); + } setConstraints(pd.getConstraints()); } |