getValidationCycleDAO().create(cycle); // RKV
ValidationCycleRelation link = cycle.getContext();
- // RKV: aStudy.addRelation(link);
+ aStudy.addRelation(link);
aStudyDTO.getAllRelations().add(link); // RKV
validactor.put(cname, link.getTo()); // Replaces the cycle if exists as default,
aValidationCycle.setApprover(vprop.getApprover()); // May be null
aValidationCycle.setSignatory(vprop.getSignatory()); // May be null
if (aValidationCycle.isSaved()) {
- getValidationCycleDAO().update(aValidationCycle);
+ getValidationCycleDAO().merge(aValidationCycle);
}
}