Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0032630 | Openbravo ERP | A. Platform | public | 2016-04-08 12:22 | 2016-04-18 08:27 | |||||||
Reporter | alostale | |||||||||||
Assigned To | caristu | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR16Q2 | Fixed in Version | 3.0PR16Q2 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | alostale | |||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0032630: template role cannot be used as session role | |||||||||||
Description | When a role marked as template is used to create a session, errors are logged when trying to save some preferences. This makes not possible to save ie. recent navigation items. | |||||||||||
Steps To Reproduce | 1. Create a new role: * name: bt * level: client+org * manual: yes * template: yes * org access: EspaƱa Norte * user: assignment: Openbravo * window access: Sales Order 2. Login with Openbravo user using that role 3. Open Sales Order window ERROR in log: 4388732 [http-8080-6] ERROR org.hibernate.LazyInitializationException - failed to lazily initialize a collection of role: ADRole.aDRoleInheritanceInheritFromList, no session or session was closed org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: ADRole.aDRoleInheritanceInheritFromList, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:375) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:368) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111) at org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:272) at org.openbravo.role.inheritance.RoleInheritanceManager.propagateNewAccess(RoleInheritanceManager.java:380) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:45) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) at org.openbravo.role.inheritance.RoleInheritanceManager$Proxy$_$$_WeldClientProxy.propagateNewAccess(RoleInheritanceManager$Proxy$_$$_WeldClientProxy.java) at org.openbravo.role.inheritance.InheritedAccessEnabledEventHandler.doAction(InheritedAccessEnabledEventHandler.java:107) at org.openbravo.role.inheritance.InheritedAccessEnabledEventHandler.onSave(InheritedAccessEnabledEventHandler.java:69) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-04-08 12:25 | alostale | Type | defect => backport | |||||||||
2016-04-08 12:25 | alostale | Target Version | => 3.0PR16Q2 | |||||||||
2016-04-14 17:46 | hgbot | Checkin | ||||||||||
2016-04-14 17:46 | hgbot | Note Added: 0085647 | ||||||||||
2016-04-14 17:46 | hgbot | Status | scheduled => resolved | |||||||||
2016-04-14 17:46 | hgbot | Resolution | open => fixed | |||||||||
2016-04-14 17:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR16Q2/rev/4270b2af7fe3a9e9690e09cbca27ebf9336bf285 [^] | |||||||||
2016-04-18 08:27 | alostale | Review Assigned To | => alostale | |||||||||
2016-04-18 08:27 | alostale | Note Added: 0085684 | ||||||||||
2016-04-18 08:27 | alostale | Status | resolved => closed | |||||||||
2016-04-18 08:27 | alostale | Fixed in Version | => 3.0PR16Q2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|