Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014705 | Openbravo ERP | 07. Sales management | public | 2010-09-27 12:23 | 2010-12-16 22:16 |
|
Reporter | pjuvara | |
Assigned To | adrianromero | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.50MP20 | |
Target Version | | Fixed in Version | | |
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 | 0014705: Unable to print documents when accessing the system through localhost |
Description | When installing the Community Appliance with VirtualBox and using NAT networking (following instructions at http://wiki.openbravo.com/wiki/ERP/2.50/Openbravo_ERP_Installation/Community_Appliance#VirtualBox_appliance_2 [^]), you cannot print documents (invoices, sales orders, etc.) if you access the system using http://localhost:XXXX. [^] |
Steps To Reproduce | 1) Download a VirtualBox Community Appliance 2.50 MP20 or above (you need logos in the reports, available from 2.50 MP20)
2) Configure VirtualBox using NAT networking and setup port forwarding on the host machine
3) Open a browser on the host and login to http://localhost:XXXX [^] where XXXX is the port that forwards to the VirtualBox guest.
4) Using BigBazaar Admin role, open a sales invoice and press the Print Icon.
5) Acknowledge the Print Details dialog by pressing one of the two buttons.
6) You will get an error: Unable to process your report request
See attachment.
Please notice that the error does not reproduce if:
A) You access Openbravo using the IP address of the host (http://123.456.789.123:XXXX [^]) instead of localhost
or
B) You configure your document types not to include the logo
|
Proposed Solution | Because this problem happens at the intersection between IP address configuration and image retrieving, it looks like we are not passing the URL properly to JasperReports and Jasper is not able to find the image at the right URI. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0014625 | 2.50MP23 | closed | adrianromero | It is not possible to see an image in a report using $P{BASE_WEB}+"/../utility/ShowImage?id=IMAGEID" |
|
Attached Files | Screenshot-14.png (37,632) 2010-09-27 12:23 https://issues.openbravo.com/file_download.php?file_id=3126&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2010-09-27 12:23 | pjuvara | New Issue | |
2010-09-27 12:23 | pjuvara | Assigned To | => adrianromero |
2010-09-27 12:23 | pjuvara | File Added: Screenshot-14.png | |
2010-09-27 12:23 | pjuvara | OBNetwork customer | => No |
2010-09-27 12:25 | pjuvara | Assigned To | adrianromero => ioritzCia |
2010-09-27 12:59 | adrianromero | Relationship added | related to 0014625 |
2010-09-27 13:54 | adrianromero | Assigned To | ioritzCia => adrianromero |
2010-09-30 11:25 | hgbot | Checkin | |
2010-09-30 11:25 | hgbot | Note Added: 0031495 | |
2010-09-30 11:25 | hgbot | Status | new => resolved |
2010-09-30 11:25 | hgbot | Resolution | open => fixed |
2010-09-30 11:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/079e136502c9b31127c049383cc8c3b3bb56bf40 [^] |
2010-09-30 11:26 | hgbot | Checkin | |
2010-09-30 11:26 | hgbot | Note Added: 0031497 | |
2010-09-30 11:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/079e136502c9b31127c049383cc8c3b3bb56bf40 [^] => http://code.openbravo.com/erp/devel/pi/rev/f526d232f792c4f0c5ca2618feef92e602cb091d [^] |
2010-09-30 11:26 | hgbot | Checkin | |
2010-09-30 11:26 | hgbot | Note Added: 0031499 | |
2010-09-30 11:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/f526d232f792c4f0c5ca2618feef92e602cb091d [^] => http://code.openbravo.com/erp/devel/pi/rev/9e30454d56c459200018339b7d4909705494f89c [^] |
2010-09-30 11:41 | adrianromero | Note Added: 0031506 | |
2010-10-08 20:59 | hudsonbot | Checkin | |
2010-10-08 20:59 | hudsonbot | Note Added: 0031704 | |
2010-10-08 20:59 | hudsonbot | Checkin | |
2010-10-08 20:59 | hudsonbot | Note Added: 0031706 | |
2010-10-08 20:59 | hudsonbot | Checkin | |
2010-10-08 20:59 | hudsonbot | Note Added: 0031708 | |
2010-12-14 18:32 | psarobe | Note Added: 0033182 | |
2010-12-14 18:32 | psarobe | Status | resolved => closed |
2010-12-16 22:16 | anonymous | sf_bug_id | 0 => 3138784 |
Notes |
|
(0031495)
|
hgbot
|
2010-09-30 11:25
|
|
Repository: erp/devel/pi
Changeset: 079e136502c9b31127c049383cc8c3b3bb56bf40
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Sep 29 10:39:06 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/079e136502c9b31127c049383cc8c3b3bb56bf40 [^]
Fixes issue 0014625: It is not possible to see an image in a report using {BASE_WEB}+/../utility/ShowImage?id=IMAGEID
Fixes issue 0014705: Unable to print documents when accessing the system through localhost
It has been changed the way to include images in Jasper Reports adding an utility that includes directly an image without accessing to an URL
---
M src/org/openbravo/erpCommon/utility/ShowImage.java
M src/org/openbravo/erpCommon/utility/ShowImageLogo.java
M src/org/openbravo/erpCommon/utility/Utility.java
---
|
|
|
(0031497)
|
hgbot
|
2010-09-30 11:26
|
|
Repository: erp/devel/pi
Changeset: f526d232f792c4f0c5ca2618feef92e602cb091d
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Sep 29 10:40:35 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f526d232f792c4f0c5ca2618feef92e602cb091d [^]
Fixes issue 0014625: It is not possible to see an image in a report using {BASE_WEB}+/../utility/ShowImage?id=IMAGEID
Fixes issue 0014705: Unable to print documents when accessing the system through localhost
It has been modified the required Jasper Reports to include images using the new way to include images without using an URL
---
M src/org/openbravo/erpReports/C_OrderJR.jrxml
M src/org/openbravo/erpReports/RptC_Invoice.jrxml
M src/org/openbravo/erpReports/RptC_OrderPO.jrxml
M src/org/openbravo/erpReports/RptM_InOut.jrxml
---
|
|
|
(0031499)
|
hgbot
|
2010-09-30 11:26
|
|
Repository: erp/devel/pi
Changeset: 9e30454d56c459200018339b7d4909705494f89c
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Sep 29 12:08:23 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9e30454d56c459200018339b7d4909705494f89c [^]
Fixes issue 0014625: It is not possible to see an image in a report using {BASE_WEB}+/../utility/ShowImage?id=IMAGEID
Fixes issue 0014705: Unable to print documents when accessing the system through localhost
Shipments report had an small issue that has been fixed in the reference to the Organization id parameter
---
M src/org/openbravo/erpReports/RptM_InOut.jrxml
---
|
|
|
|
See Steps to test and other areas affected note of the related issue 14625 |
|
|
|
|
|
|
|
|
|
|
|
|
We cannot setup the conditions so we cannot reproduce it |
|