Commit 54a92217 authored by Ondřej Pavlica's avatar Ondřej Pavlica
Browse files

Fix OrderService caching

parent 06b5f4b3
Pipeline #140125 failed with stages
in 2 minutes and 28 seconds
......@@ -43,10 +43,10 @@ public class OrderServiceImpl extends PersistenceServiceImpl<OrderDto, Order> im
public OrderDto get(long id, boolean loadBottleData) {
if (!loadBottleData) {
return get(id);
return get(id, false);
var entity = orderDao.get(id);
var entity = orderDao.get(id, false);
if (entity == null) {
return null;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment