
+ " was removed, order was canceled"));
</BUG>
transportOrder.setTransportUnitBK(null);
<BUG>if (LOGGER.isDebugEnabled()) {
LOGGER.debug("Successfully unlinked and canceled TransportOrder: " + transportOrder.getPk());

}</BUG>
} catch (StateChangeException sce) {
<BUG>transportOrder.setProblem(new Message(sce.getMessage()));
</BUG>
} finally {

TransportOrder.State.INITIALIZED);
if (!transportOrders.isEmpty()) {
for (TransportOrder transportOrder : transportOrders) {
try {
transportOrder.setState(TransportOrder.State.CANCELED);
transportOrder.setProblem(new Message.Builder().withMessage("TransportUnit " + transportUnit
+ " was removed, order was canceled").build());
transportOrder.setTransportUnitBK(null);
LOGGER.debug("Successfully unlinked and canceled TransportOrder [{}]", transportOrder.getPk());
} catch (StateChangeException sce) {
transportOrder.setProblem(new Message.Builder().withMessage(sce.getMessage()).build());
} finally {
