mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-23 22:47:57 +01:00
Fix been lazy loading issue.
This commit is contained in:
parent
63975464ca
commit
884a93478b
@ -58,6 +58,7 @@ public class MvcMindmapController {
|
||||
final MindMapBean mindmap = findMindmapBean(id);
|
||||
model.addAttribute("principal", Utils.getUser());
|
||||
model.addAttribute("mindmap", mindmap);
|
||||
model.addAttribute("mapFullName", mindmap.getCreator().getFullName());
|
||||
final Locale locale = LocaleContextHolder.getLocale();
|
||||
model.addAttribute("locale", locale.toString().toLowerCase());
|
||||
return "mindmapViewonly";
|
||||
|
@ -26,8 +26,6 @@
|
||||
<prop key="hibernate.default_batch_fetch_size">200</prop>
|
||||
<prop key="hibernate.nestedTransactionAllowed">true</prop>
|
||||
<prop key="hibernate.auto_quote_keyword">true</prop>
|
||||
<prop key="hibernate.enable_lazy_load_no_trans">true</prop>
|
||||
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
@ -71,7 +71,7 @@
|
||||
</a>
|
||||
|
||||
<div id="mapDetails">
|
||||
<span class="title"><spring:message code="CREATOR"/>:</span><span>${mindmap.creator.fullName}</span>
|
||||
<span class="title"><spring:message code="CREATOR"/>:</span><span>${mapFullName}</span>
|
||||
<span class="title"><spring:message code="DESCRIPTION"/>:</span><span>${mindmap.title}</span>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user