ot.addProperty(op);
op.setObjectTemplate(ot);
op.setCampaign(ot.getCampaign());
try {
ot.save();
}
catch(Exception e) {
logger.error("Exception while trying to save object template: " + e.getLocalizedMessage(), e);
alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), e