Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||||||||||||||
View Issue Details | |||||||||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||||||
0032627 | Openbravo ERP | A. Platform | public | 2016-04-08 12:22 | 2016-06-17 19:36 | ||||||||||||||||||||||||||||
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 | Fixed in Version | 3.0PR16Q3 | |||||||||||||||||||||||||||||||
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 | 0032627: 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:22 | alostale | New Issue | |||||||||||||||||||||||||||||||
2016-04-08 12:22 | alostale | Assigned To | => platform | ||||||||||||||||||||||||||||||
2016-04-08 12:22 | alostale | OBNetwork customer | => No | ||||||||||||||||||||||||||||||
2016-04-08 12:22 | alostale | Modules | => Core | ||||||||||||||||||||||||||||||
2016-04-08 12:22 | alostale | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||||||
2016-04-08 12:22 | alostale | Relationship added | related to 0032626 | ||||||||||||||||||||||||||||||
2016-04-08 12:23 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=11714#r11714 | ||||||||||||||||||||||||||||||
2016-04-08 12:23 | alostale | Relationship added | related to 0030931 | ||||||||||||||||||||||||||||||
2016-04-08 12:24 | alostale | Assigned To | platform => caristu | ||||||||||||||||||||||||||||||
2016-04-08 12:25 | alostale | Status | new => scheduled | ||||||||||||||||||||||||||||||
2016-04-11 08:45 | hgbot | Checkin | |||||||||||||||||||||||||||||||
2016-04-11 08:45 | hgbot | Note Added: 0085544 | |||||||||||||||||||||||||||||||
2016-04-11 08:45 | hgbot | Status | scheduled => resolved | ||||||||||||||||||||||||||||||
2016-04-11 08:45 | hgbot | Resolution | open => fixed | ||||||||||||||||||||||||||||||
2016-04-11 08:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f7c2d3f60821875696fc7f5ce1150da6d2e633da [^] | ||||||||||||||||||||||||||||||
2016-04-11 08:46 | caristu | Review Assigned To | => alostale | ||||||||||||||||||||||||||||||
2016-04-14 17:13 | alostale | Note Added: 0085644 | |||||||||||||||||||||||||||||||
2016-04-14 17:13 | alostale | Status | resolved => new | ||||||||||||||||||||||||||||||
2016-04-14 17:13 | alostale | Resolution | fixed => open | ||||||||||||||||||||||||||||||
2016-04-14 17:31 | hgbot | Checkin | |||||||||||||||||||||||||||||||
2016-04-14 17:31 | hgbot | Note Added: 0085645 | |||||||||||||||||||||||||||||||
2016-04-14 17:43 | caristu | Status | new => scheduled | ||||||||||||||||||||||||||||||
2016-04-14 17:46 | caristu | Status | scheduled => resolved | ||||||||||||||||||||||||||||||
2016-04-14 17:46 | caristu | Resolution | open => fixed | ||||||||||||||||||||||||||||||
2016-04-18 08:26 | alostale | Note Added: 0085683 | |||||||||||||||||||||||||||||||
2016-04-18 08:26 | alostale | Status | resolved => closed | ||||||||||||||||||||||||||||||
2016-04-18 08:26 | alostale | Fixed in Version | => 3.0PR16Q3 | ||||||||||||||||||||||||||||||
2016-06-17 19:36 | hudsonbot | Checkin | |||||||||||||||||||||||||||||||
2016-06-17 19:36 | hudsonbot | Note Added: 0087436 | |||||||||||||||||||||||||||||||
2016-06-17 19:36 | hudsonbot | Checkin | |||||||||||||||||||||||||||||||
2016-06-17 19:36 | hudsonbot | Note Added: 0087449 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|