Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0019580 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 01. General setup | critical | have not tried | 2012-01-27 12:29 | 2012-02-02 18:19 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | jecharri | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0MP8 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 4ad8836205f2 | ||||
Projection | none | ETA | none | Target Version | 3.0MP8 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
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 | 0019580: Initial Org setup fails with dal permission check error | |||||||
Description | Initial Org setup fails when being run in smoketest. The error can also be reproduced manually easily (check by marvintm). http://builds.openbravo.com/job/int-smoke-oracle-test/477/artifact/SANDBOX/automation/pi/last-results/int-smoke-oracle-inc/screenshots/clientAndOrganizationShouldBeSetUp.png [^] Relevant part of the stacktrace of the instance used in that build: b3e0edee 2012-01-26 20:16:54,714 [ajp-8009-2] ERROR org.openbravo.base.exception.OBSecurityException - Entity ADImage is not directly readable, only id and identifier properties are readable, property ADImage.bindaryData is neither of these. org.openbravo.base.exception.OBSecurityException: Entity ADImage is not directly readable, only id and identifier properties are readable, property ADImage.bindaryData is neither of these. at org.openbravo.base.structure.BaseOBObject.checkDerivedReadable(BaseOBObject.java:245) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:207) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:187) at org.openbravo.model.ad.utility.Image.getBindaryData(Image.java:180) at sun.reflect.GeneratedMethodAccessor484.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197) at org.openbravo.model.ad.utility.Image_$$_javassist_141.getBindaryData(Image_$$_javassist_141.java) at org.openbravo.erpCommon.businessUtility.InitialOrgSetup.addImages(InitialOrgSetup.java:532) at org.openbravo.erpCommon.businessUtility.InitialOrgSetup.createOrganization(InitialOrgSetup.java:184) at org.openbravo.erpCommon.ad_forms.InitialOrgSetup.doPost(InitialOrgSetup.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:422) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:427) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:384) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) at java.lang.Thread.run(Thread.java:619) b3e0edee 2012-01-26 20:16:54,760 [ajp-8009-2] ERROR org.openbravo.base.exception.OBSecurityException - Entity ADTree is not directly readable, only id and identifier properties are readable, property ADTree.description is neither of these. org.openbravo.base.exception.OBSecurityException: Entity ADTree is not directly readable, only id and identifier properties are readable, property ADTree.description is neith er of these. at org.openbravo.base.structure.BaseOBObject.checkDerivedReadable(BaseOBObject.java:245) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:207) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:187) at org.openbravo.model.ad.utility.Tree.getDescription(Tree.java:166) at org.openbravo.erpCommon.businessUtility.COAUtility.createAccounting(COAUtility.java:119) at org.openbravo.erpCommon.businessUtility.InitialOrgSetup.insertAccountingModule(InitialOrgSetup.java:435) at org.openbravo.erpCommon.businessUtility.InitialOrgSetup.createReferenceData(InitialOrgSetup.java:261) at org.openbravo.erpCommon.businessUtility.InitialOrgSetup.createOrganization(InitialOrgSetup.java:222) at org.openbravo.erpCommon.ad_forms.InitialOrgSetup.doPost(InitialOrgSetup.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:422) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:427) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:384) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) at java.lang.Thread.run(Thread.java:619) b3e0edee 2012-01-26 20:16:54,760 [ajp-8009-2] ERROR org.openbravo.erpCommon.businessUtility.InitialOrgSetup - createReferenceData() - Exception while processing accounting modules b3e0edee 2012-01-26 20:16:54,760 [ajp-8009-2] ERROR org.openbravo.erpCommon.businessUtility.InitialOrgSetup - Exception org.openbravo.base.exception.OBSecurityException: Entity ADTree is not directly readable, only id and identifier properties are readable, property ADTree.description is neith er of these. at org.openbravo.base.structure.BaseOBObject.checkDerivedReadable(BaseOBObject.java:245) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:207) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:187) at org.openbravo.model.ad.utility.Tree.getDescription(Tree.java:166) at org.openbravo.erpCommon.businessUtility.COAUtility.createAccounting(COAUtility.java:119) at org.openbravo.erpCommon.businessUtility.InitialOrgSetup.insertAccountingModule(InitialOrgSetup.java:435) at org.openbravo.erpCommon.businessUtility.InitialOrgSetup.createReferenceData(InitialOrgSetup.java:261) at org.openbravo.erpCommon.businessUtility.InitialOrgSetup.createOrganization(InitialOrgSetup.java:222) at org.openbravo.erpCommon.ad_forms.InitialOrgSetup.doPost(InitialOrgSetup.java:71) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:422) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:427) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:384) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) at java.lang.Thread.run(Thread.java:619) | |||||||
Steps To Reproduce | see selenium screenshot. However can be also reproduced by trying to create a new organization (process show green: completed sucessfully, but the error is shown in the log) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0044691) marvintm (viewer) 2012-01-30 12:00 |
The problem only happens when the role doesn't have access to two windows: - Tree and Node Image - Application Image If the role has access to those windows, the problem doesn't happen. |
(0044706) hgbot (developer) 2012-01-30 16:47 |
Repository: erp/devel/pi Changeset: 4ad8836205f2bc89f59837ba4807a756fec4e517 Author: Javier Etxarri <javier.echarri <at> openbravo.com> Date: Mon Jan 30 16:47:20 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/4ad8836205f2bc89f59837ba4807a756fec4e517 [^] Fixes issue 19580: Initial Org setup fails with dal permission check error. Now, in execution time, the process has access to all propierties of entities ADImage and ADTree --- M src/org/openbravo/erpCommon/businessUtility/InitialOrgSetup.java --- |
(0044750) hudsonbot (viewer) 2012-02-01 08:58 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/933a9b7b9d89 [^] Maturity status: Test |
(0044830) jonalegriaesarte (viewer) 2012-02-02 18:19 |
Deleted the permission to - Tree and Node Image - Application Image and the errors do no appear in the logs. Tried several options in organization creation (with and without accounting, generic, ...) |
![]() |
|||
Date Modified | Username | Field | Change |
2012-01-27 12:29 | shuehner | New Issue | |
2012-01-27 12:29 | shuehner | Assigned To | => jonalegriaesarte |
2012-01-27 12:29 | shuehner | Modules | => Core |
2012-01-27 12:29 | shuehner | OBNetwork customer | => No |
2012-01-27 12:29 | shuehner | version | => pi |
2012-01-27 12:29 | shuehner | Target Version | => 3.0MP8 |
2012-01-30 10:37 | jonalegriaesarte | Assigned To | jonalegriaesarte => jecharri |
2012-01-30 11:57 | marvintm | Relationship added | has duplicate 0019588 |
2012-01-30 12:00 | marvintm | Note Added: 0044691 | |
2012-01-30 12:03 | shuehner | Assigned To | jecharri => marvintm |
2012-01-30 12:06 | marvintm | Assigned To | marvintm => jecharri |
2012-01-30 16:47 | hgbot | Checkin | |
2012-01-30 16:47 | hgbot | Note Added: 0044706 | |
2012-01-30 16:47 | hgbot | Status | new => resolved |
2012-01-30 16:47 | hgbot | Resolution | open => fixed |
2012-01-30 16:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4ad8836205f2bc89f59837ba4807a756fec4e517 [^] |
2012-02-01 08:58 | hudsonbot | Checkin | |
2012-02-01 08:58 | hudsonbot | Note Added: 0044750 | |
2012-02-02 18:19 | jonalegriaesarte | Note Added: 0044830 | |
2012-02-02 18:19 | jonalegriaesarte | Status | resolved => closed |
2012-02-02 18:19 | jonalegriaesarte | Fixed in Version | => 3.0MP8 |
Copyright © 2000 - 2009 MantisBT Group |