diff --git a/src/main/java/edu/harvard/mcz/imagecapture/entity/SpecimenPartAttribute.java b/src/main/java/edu/harvard/mcz/imagecapture/entity/SpecimenPartAttribute.java index 1592801..3870d19 100644 --- a/src/main/java/edu/harvard/mcz/imagecapture/entity/SpecimenPartAttribute.java +++ b/src/main/java/edu/harvard/mcz/imagecapture/entity/SpecimenPartAttribute.java @@ -177,7 +177,7 @@ public void setAttributeDate(Date prepTypeAttributeDate) { @Override public Object clone() { SpecimenPartAttribute newAttr = new SpecimenPartAttribute( - (SpecimenPart)specimenPartId.clone(), attributeType, attributeValue, + null, attributeType, attributeValue, attributeUnits, attributeRemark, attributeDeterminer, (Date)attributeDate.clone()); return newAttr;