Commit e43fe346 authored by Peter Harrison's avatar Peter Harrison

[#54] Template Cache not refreshing.

parent d003ce0d
......@@ -107,7 +107,7 @@ public class TemplateController {
ocm.insert(template);
ocm.save();
this.cacheInvalidationManager.invalidate(TEMPLATE, templateId);
this.cacheInvalidationManager.invalidate(TEMPLATE, templateCache.getCacheId(boardId,templateId));
} finally {
ocm.logout();
}
......@@ -127,7 +127,7 @@ public class TemplateController {
try {
ocm.update(template);
ocm.save();
this.cacheInvalidationManager.invalidate(TEMPLATE, templateId);
this.cacheInvalidationManager.invalidate(TEMPLATE, templateCache.getCacheId(boardId,templateId));
} finally {
ocm.logout();
}
......
Markdown is supported
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