Commit 354980b7 authored by Christos Tranoris's avatar Christos Tranoris
Browse files

fix for #92

parent f9333b63
Loading
Loading
Loading
Loading
Loading
+2 −1
Changes for src/main/java/org/etsi/osl/tmf/pcm620/reposervices/ProductSpecificationRepoService.java: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -430,9 +430,10 @@ public class ProductSpecificationRepoService {
				// we need the attachment model from resource spec models
				boolean idexists = false;
				for (ProductSpecificationCharacteristic orinalAtt : prodSpec.getProductSpecCharacteristic()) {
					if (orinalAtt.getName().equals(ar.getName())) {
					if (orinalAtt.getName()!=null && ar.getName()!=null &&  orinalAtt.getName().equals(ar.getName())) {
						idexists = true;
						idAddedUpdated.put(orinalAtt.getName(), true);
						orinalAtt.updateWith( ar );
						break;
					}
				}