db.execute(() -> {
db.setComment(ackCom);
alert.setAcknowledged(true);
alert.setAcknowledgedAt(new Timestamp(System.currentTimeMillis()));
alert.setAcknowledgedById(contact.getId());
<BUG>db.setAlert(alert);
});</BUG>
if (! alert.getCheck().getState().isSuppressedOrInDowntime())
{
SendAcknowledge sendAck = alert.createAcknowledgeNotification(Calendar.getInstance(), contact, ackCom);

db.execute(() -> {
db.setComment(ackCom);
alert.setAcknowledged(true);
alert.setAcknowledgedAt(new Timestamp(System.currentTimeMillis()));
alert.setAcknowledgedById(contact.getId());
db.setAlert(alert);
db.acknowledgeCheck(alert.getCheckId(), true);
});
if (! alert.getCheck().getState().isSuppressedOrInDowntime())
{
SendAcknowledge sendAck = alert.createAcknowledgeNotification(Calendar.getInstance(), contact, ackCom);
