Commit 405f4311 by Tuomas Riihimäki

BUG

1 parent 99d9a3b0
......@@ -131,12 +131,13 @@ public class AccountEventBean implements AccountEventBeanLocal {
@Override
public AccountEvent markDelivered(AccountEvent e, Calendar c) {
accountfacade.reload(e);
e = accountfacade.reload(e);
if (e.getDelivered() != null)
{
throw new EJBException("AccountEvent " + e + " already marked paid!");
}
e.setDelivered(c);
return e;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!