Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0031317 | Openbravo ERP | A. Platform | public | 2015-10-30 14:25 | 2015-11-23 21:17 | ||||||||||||||
Reporter | caristu | ||||||||||||||||||
Assigned To | NaroaIriarte | ||||||||||||||||||
Priority | immediate | Severity | minor | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR16Q1 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | caristu | ||||||||||||||||||
OBNetwork customer | No | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | Coding ( Testing ) | ||||||||||||||||||
Regression date | 2015-10-27 | ||||||||||||||||||
Regression introduced in release | pi | ||||||||||||||||||
Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/cbf2d65774b8afda5265c76b78642271a0a7246a [^] | ||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0031317: Unexpected error thrown in the log having the Direct Print preference enabled | ||||||||||||||||||
Description | The following error is raised in the log having the Direct Print preference enabled: ERROR org.openbravo.erpCommon.utility.reporting.printing.PrintOrders - Error captured: javax.servlet.ServletException: Configuration Error no sender defined at org.openbravo.erpCommon.utility.reporting.printing.PrintController.post(PrintController.java:291) at org.openbravo.erpCommon.utility.reporting.printing.PrintOrders.doPost(PrintOrders.java:55) at org.openbravo.base.HttpBaseServlet.doGet(HttpBaseServlet.java:280) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) | ||||||||||||||||||
Steps To Reproduce | 1) Go to the [Preference] window and create a new record with the following information: - Property: Direct Print - Value: Y - Window: Sales Order - User: Openbravo 2) Log-out and log-in with Openbravo user. 3) Go to the [Sales Order] window, select any record in the header. 4) Click on the print button of the toolbar | ||||||||||||||||||
Proposed Solution | This is caused because having this preference enabled, in the PrintController class the getServletPath() of the request does not contain "print.html" but "printoptions.html". So the servlet is interpreting that we are trying to email the document because of this: request.getServletPath().toLowerCase().indexOf("print.html") Proposed fix attached. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=8670&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2015-10-30 14:25 | caristu | New Issue | |||||||||||||||||
2015-10-30 14:25 | caristu | Assigned To | => caristu | ||||||||||||||||
2015-10-30 14:25 | caristu | OBNetwork customer | => No | ||||||||||||||||
2015-10-30 14:25 | caristu | Modules | => Core | ||||||||||||||||
2015-10-30 14:25 | caristu | Triggers an Emergency Pack | => No | ||||||||||||||||
2015-10-30 14:26 | caristu | Relationship added | related to 0030783 | ||||||||||||||||
2015-10-30 14:28 | caristu | Assigned To | caristu => platform | ||||||||||||||||
2015-10-30 14:50 | caristu | File Added: issue31317.diff | |||||||||||||||||
2015-10-30 14:50 | caristu | Proposed Solution updated | |||||||||||||||||
2015-10-30 14:52 | caristu | Proposed Solution updated | |||||||||||||||||
2015-11-02 13:33 | alostale | Assigned To | platform => NaroaIriarte | ||||||||||||||||
2015-11-02 13:33 | alostale | Priority | normal => immediate | ||||||||||||||||
2015-11-02 13:33 | alostale | Status | new => acknowledged | ||||||||||||||||
2015-11-02 13:35 | alostale | Regression level | => Coding ( Testing ) | ||||||||||||||||
2015-11-02 13:35 | alostale | Regression date | => 2015-10-27 | ||||||||||||||||
2015-11-02 13:35 | alostale | Regression introduced in release | => pi | ||||||||||||||||
2015-11-02 13:35 | alostale | Regression introduced by commit | => http://code.openbravo.com/erp/devel/pi/rev/cbf2d65774b8afda5265c76b78642271a0a7246a [^] | ||||||||||||||||
2015-11-02 13:36 | alostale | Status | acknowledged => scheduled | ||||||||||||||||
2015-11-03 17:41 | NaroaIriarte | Relationship added | related to 0031344 | ||||||||||||||||
2015-11-04 09:01 | hgbot | Checkin | |||||||||||||||||
2015-11-04 09:01 | hgbot | Note Added: 0081459 | |||||||||||||||||
2015-11-04 09:01 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2015-11-04 09:01 | hgbot | Resolution | open => fixed | ||||||||||||||||
2015-11-04 09:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8834bc491f13275f291dfe0f4b5f9fed3bd3c302 [^] | ||||||||||||||||
2015-11-04 09:16 | alostale | Review Assigned To | => alostale | ||||||||||||||||
2015-11-09 09:52 | alostale | Review Assigned To | alostale => caristu | ||||||||||||||||
2015-11-09 10:24 | caristu | Note Added: 0081611 | |||||||||||||||||
2015-11-09 10:28 | caristu | Note Added: 0081612 | |||||||||||||||||
2015-11-09 10:28 | caristu | Status | resolved => new | ||||||||||||||||
2015-11-09 10:28 | caristu | Resolution | fixed => open | ||||||||||||||||
2015-11-09 17:04 | hgbot | Checkin | |||||||||||||||||
2015-11-09 17:04 | hgbot | Note Added: 0081629 | |||||||||||||||||
2015-11-10 09:43 | NaroaIriarte | Status | new => scheduled | ||||||||||||||||
2015-11-10 09:43 | NaroaIriarte | Status | scheduled => resolved | ||||||||||||||||
2015-11-10 09:43 | NaroaIriarte | Fixed in Version | => pi | ||||||||||||||||
2015-11-10 09:43 | NaroaIriarte | Resolution | open => fixed | ||||||||||||||||
2015-11-10 13:02 | caristu | Note Added: 0081646 | |||||||||||||||||
2015-11-10 13:02 | caristu | Status | resolved => closed | ||||||||||||||||
2015-11-10 13:02 | caristu | Fixed in Version | pi => 3.0PR16Q1 | ||||||||||||||||
2015-11-10 13:02 | caristu | Note Edited: 0081646 | bug_revision_view_page.php?bugnote_id=0081646#r10120 | ||||||||||||||||
2015-11-23 21:16 | hudsonbot | Checkin | |||||||||||||||||
2015-11-23 21:16 | hudsonbot | Note Added: 0082170 | |||||||||||||||||
2015-11-23 21:17 | hudsonbot | Checkin | |||||||||||||||||
2015-11-23 21:17 | hudsonbot | Note Added: 0082190 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|