Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0032541 | Openbravo ERP | A. Platform | public | 2016-03-23 15:39 | 2016-03-23 21:50 |
|
Reporter | malsasua | |
Assigned To | caristu | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Community Appliance |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR16Q2 | |
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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0032542 | 3.0PR16Q1.1 | closed | caristu | invoice report can not be printed by manual roles | caused by | feature request | 0030783 | | closed | NaroaIriarte | reduce the number of clicks to print documents |
|
Attached Files | |
|
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 | bug_revision_view_page.php?rev_id=11540#r11540 |
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 | bug_revision_view_page.php?bugnote_id=0085298#r11542 |
2016-03-23 21:50 | hudsonbot | Checkin | |
2016-03-23 21:50 | hudsonbot | Note Added: 0085303 | |
Notes |
|
|
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
|
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
---
|
|
|
|
|
|
|
|
|
|
|