Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014625
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2010-09-20 18:212010-12-09 16:06
ReporternetworkbView Statuspublic 
Assigned Toadrianromero 
PriorityurgentResolutionfixedFixed in Version2.50MP23
StatusclosedFix in branchFixed in SCM revision9e30454d56c4
ProjectionnoneETAnoneTarget Version2.50MP23
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP21SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014625: It is not possible to see an image in a report using $P{BASE_WEB}+"/../utility/ShowImage?id=IMAGEID"

DescriptionIt is not possible to see an image in a report using $P{BASE_WEB}+"/../utility/ShowImage?id=IMAGEID"

- Reported by: XME
- Ticket: 9345
Steps To Reproduce- As System Administrator go to Application Dictionary || Module
- Create a Template
- Go to Application Dictionary || Tables and Columns || Table
- Select m_product
- Select AD_Image_ID:
       - Reference: Image BLOB

- ant smartbuild
- restart tomcat

- AS openbravo Admin go to Master Data Management || Product
- Select Hammer and add an image.

- Change C_OrderJR.jrxml.
    --> image's propierties: $P{BASE_WEB}+"/../utility/ShowImage?id=96DAF4398CAE45C8A5E03769FD0AFEB2" (this is the ID of the image)

- Save
- ant smartbuild
- restart tomcat

- Go to Sales Management || Transactions || Sales Order
- Print a record
- Realize that the image does not appear
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0014705 closedadrianromero Unable to print documents when accessing the system through localhost 
related to defect 0015161 closedmigueldejuana When use the new showImage API in MP23 and no image id is found a green image is shown 
related to defect 00174243.0MP2 closeddalsasua Some reports can't be printed in PDF 
related to backport 00174252.50MP32 closeddalsasua Some reports can't be printed in PDF 

-  Notes
(0031354)
adrianromero (manager)
2010-09-24 17:54

This is documented here: http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Concepts/Reports#Adding_images_and_logos_to_a_report [^]
(0031494)
hgbot (developer)
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
---
(0031496)
hgbot (developer)
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
---
(0031498)
hgbot (developer)
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
---
(0031507)
adrianromero (manager)
2010-09-30 11:45

* Steps to test

It has to be verified that the logo is properly printed in the following PDFs you can access when pressing the button "print" in the following windows:

Sales Orders and Purchase Orders
Goods Shipments and Receive Goods
Sales Invoices and Purchase invoices

Read also the following document section http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Concepts/Reports#Adding_images_and_logos_to_a_report [^]

And verify in a PDF report that both functions:
org.openbravo.erpCommon.utility.Utility.showImage() and
org.openbravo.erpCommon.utility.Utility.showImageLogo()

Work properly in all cases documented invoked from a PDF report

* Other areas affected

The old method to access images has not been modified and continues working the same way. No other areas affected because this is a new method to retrieve application images.
(0031703)
hudsonbot (developer)
2010-10-08 20:59

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/079e136502c9 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f476e192559f [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18505.obx [^]
(0031705)
hudsonbot (developer)
2010-10-08 20:59

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f526d232f792 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f476e192559f [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18505.obx [^]
(0031707)
hudsonbot (developer)
2010-10-08 20:59

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/9e30454d56c4 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f476e192559f [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18505.obx [^]

- Issue History
Date Modified Username Field Change
2010-09-20 18:21 networkb New Issue
2010-09-20 18:21 networkb Assigned To => adrianromero
2010-09-20 18:31 networkb Description Updated View Revisions
2010-09-20 18:38 albertobg Issue Monitored: albertobg
2010-09-21 09:37 pjuvara Category 07. Sales management => A. Platform
2010-09-24 17:54 adrianromero Note Added: 0031354
2010-09-27 12:59 adrianromero Relationship added related to 0014705
2010-09-30 11:25 hgbot Checkin
2010-09-30 11:25 hgbot Note Added: 0031494
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: 0031496
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: 0031498
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:45 adrianromero Note Added: 0031507
2010-10-08 20:59 hudsonbot Checkin
2010-10-08 20:59 hudsonbot Note Added: 0031703
2010-10-08 20:59 hudsonbot Checkin
2010-10-08 20:59 hudsonbot Note Added: 0031705
2010-10-08 20:59 hudsonbot Checkin
2010-10-08 20:59 hudsonbot Note Added: 0031707
2010-11-15 08:09 alostale Relationship added related to 0015161
2010-11-24 17:29 psarobe Status resolved => closed
2010-11-24 17:30 psarobe Fixed in Version => 2.50MP23
2010-12-09 16:06 anonymous sf_bug_id 0 => 3133479
2011-05-31 08:30 jecharri Relationship added related to 0017424
2011-05-31 08:31 jecharri Relationship added related to 0017425


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker