Commit fa1af42b authored by Piotr Gawron's avatar Piotr Gawron
Browse files

automatic cache o map on project upload

parent 00e75b98
...@@ -4,6 +4,7 @@ minerva (15.0.0~alpha.1) stable; urgency=medium ...@@ -4,6 +4,7 @@ minerva (15.0.0~alpha.1) stable; urgency=medium
sessions (#836) sessions (#836)
* Small improvement: simple molecules in sbgn compliant view are drawn as * Small improvement: simple molecules in sbgn compliant view are drawn as
ellipses not circles (#796) ellipses not circles (#796)
* Small improvement: uploaded map is automatically cached (#983)
* Bug fix: structural states of proteins are imported properly from SBGNML PD * Bug fix: structural states of proteins are imported properly from SBGNML PD
(#995) (#995)
* Bug fix: clear button icon, refresh comments button and show overview * Bug fix: clear button icon, refresh comments button and show overview
......
...@@ -134,7 +134,7 @@ public class ProjectService implements IProjectService { ...@@ -134,7 +134,7 @@ public class ProjectService implements IProjectService {
private LayoutDao layoutDao; private LayoutDao layoutDao;
/** /**
* Utils that help to manage the sessions in custom multithreaded * Utils that help to manage the sessions in custom multi-threaded
* implementation. * implementation.
*/ */
private DbUtils dbUtils; private DbUtils dbUtils;
...@@ -394,6 +394,7 @@ public class ProjectService implements IProjectService { ...@@ -394,6 +394,7 @@ public class ProjectService implements IProjectService {
} }
logger.info("Project " + project.getProjectId() + " created successfully."); logger.info("Project " + project.getProjectId() + " created successfully.");
modelService.getLastModelByProjectId(project.getProjectId());
} catch (HibernateException e) { } catch (HibernateException e) {
outOfMemoryBuffer = null; outOfMemoryBuffer = null;
logger.error("Problem with database", e); logger.error("Problem with database", e);
......
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