Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0032541 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | major | always | 2016-03-23 15:39 | 2016-03-23 21:50 | |||
| Reporter | malsasua | View Status | public | |||||
| Assigned To | caristu | |||||||
| Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR16Q2 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 64cf7b4c5e72 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
| OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | alostale | |||||||
| OBNetwork customer | OBPS | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | Production - QA Approved | |||||||
| Regression date | 2015-10-27 | |||||||
| Regression introduced in release | 3.0PR16Q1 | |||||||
| Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/cbf2d65774b8afda5265c76b78642271a0a7246a [^] | |||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0032541: invoice report can not be printed by manual roles | |||||||
| Description | it is not possible to print a invoice with a manual role. Error is returned: org.openbravo.base.exception.OBSecurityException: Entity ADWindow is not readable by the user 100 | |||||||
| Steps To Reproduce | in F&B, use role "Finance" . go to sales invoice window . print one record | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||||||||
|
|||||||||||||||
Notes |
|
|
(0085293) caristu (viewer) 2016-03-23 15:49 |
It is necessary to retrieve the window information using admin mode. The stack trace of the error: org.openbravo.base.exception.OBSecurityException: Entity ADWindow is not readable by the user 100 at org.openbravo.dal.security.EntityAccessChecker.checkReadable(EntityAccessChecker.java:343) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:605) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:592) at org.openbravo.dal.service.OBDal.get(OBDal.java:297) at org.openbravo.erpCommon.businessUtility.PrinterReports.doPost(PrinterReports.java:65) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:228) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:428) 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:293) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:450) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:399) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) at java.lang.Thread.run(Thread.java:745) |
|
(0085294) hgbot (developer) 2016-03-23 16:11 |
Repository: erp/devel/pi Changeset: 64cf7b4c5e7244ca023b091057a58d5eaf0786eb Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Wed Mar 23 16:10:06 2016 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/64cf7b4c5e7244ca023b091057a58d5eaf0786eb [^] fixes issue 32541: invoice report can not be printed by manual roles Now the Window object is retrieved using admin mode. --- M src/org/openbravo/erpCommon/businessUtility/PrinterReports.java --- |
|
(0085296) alostale (viewer) 2016-03-23 16:29 |
Code reviewed + verified |
|
(0085298) caristu (viewer) 2016-03-23 16:35 edited on: 2016-03-23 16:35 |
Created test in Testlink: https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-10007 [^] |
|
(0085303) hudsonbot (viewer) 2016-03-23 21:50 |
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/618cfeb90f07 [^] Maturity status: Test |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2016-03-23 15:39 | malsasua | New Issue | |
| 2016-03-23 15:39 | malsasua | Assigned To | => platform |
| 2016-03-23 15:39 | malsasua | OBNetwork customer | => Yes |
| 2016-03-23 15:39 | malsasua | Modules | => Core |
| 2016-03-23 15:39 | malsasua | Regression level | => Production - QA Approved |
| 2016-03-23 15:39 | malsasua | Triggers an Emergency Pack | => No |
| 2016-03-23 15:40 | malsasua | Description Updated | View Revisions |
| 2016-03-23 15:48 | caristu | Assigned To | platform => caristu |
| 2016-03-23 15:48 | caristu | Status | new => acknowledged |
| 2016-03-23 15:49 | caristu | Note Added: 0085293 | |
| 2016-03-23 15:49 | caristu | Status | acknowledged => scheduled |
| 2016-03-23 15:57 | caristu | Regression date | => 2015-10-27 |
| 2016-03-23 15:57 | caristu | Regression introduced in release | => 3.0PR16Q1 |
| 2016-03-23 15:57 | caristu | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/cbf2d65774b8afda5265c76b78642271a0a7246a [^] |
| 2016-03-23 15:57 | caristu | Relationship added | caused by 0030783 |
| 2016-03-23 16:11 | hgbot | Checkin | |
| 2016-03-23 16:11 | hgbot | Note Added: 0085294 | |
| 2016-03-23 16:11 | hgbot | Status | scheduled => resolved |
| 2016-03-23 16:11 | hgbot | Resolution | open => fixed |
| 2016-03-23 16:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/64cf7b4c5e7244ca023b091057a58d5eaf0786eb [^] |
| 2016-03-23 16:14 | caristu | Review Assigned To | => alostale |
| 2016-03-23 16:29 | alostale | Note Added: 0085296 | |
| 2016-03-23 16:29 | alostale | Status | resolved => closed |
| 2016-03-23 16:29 | alostale | Fixed in Version | => 3.0PR16Q2 |
| 2016-03-23 16:35 | caristu | Note Added: 0085298 | |
| 2016-03-23 16:35 | caristu | Note Edited: 0085298 | View Revisions |
| 2016-03-23 21:50 | hudsonbot | Checkin | |
| 2016-03-23 21:50 | hudsonbot | Note Added: 0085303 | |
| Copyright © 2000 - 2009 MantisBT Group |