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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015161
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2010-11-11 12:552012-04-26 12:25
ReporteralbertobgView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionout of dateFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product Version2.50MP23SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015161: When use the new showImage API in MP23 and no image id is found a green image is shown

DescriptionWhen we use the new ShowImage API introduced in the MP23 release, using the expression org.openbravo.erpCommon.utility.Utility.showImage("IMAGEID"), if "IMAGEID" is null, the showImage object returns an awt.image object completely green.

We will solved this issue using the expression:
($F{IDIMATGE} == null || $F{IDIMATGE}.length() == 0) ? null : org.openbravo.erpCommon.utility.Utility.showImage($F{IDIMATGE})
And selection the option On error -> Blank of the ireport's image object.
Steps To Reproduce-Create a report and put an image object using the expression org.openbravo.erpCommon.utility.Utility.showImage($F{IDIMATGE})
-Print report for a data set that returns a null in the field IDIMATGE
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00146252.50MP23 closedadrianromero It is not possible to see an image in a report using $P{BASE_WEB}+"/../utility/ShowImage?id=IMAGEID" 

-  Notes
(0048010)
migueldejuana (developer)
2012-04-26 12:25

Working fine in current pi@86fe6f8c5c29

- Issue History
Date Modified Username Field Change
2010-11-11 12:55 albertobg New Issue
2010-11-11 12:55 albertobg Assigned To => alostale
2010-11-11 12:56 albertobg Issue Monitored: albertobg
2010-11-15 08:09 alostale Relationship added related to 0014625
2010-11-15 08:09 alostale Status new => scheduled
2010-11-15 08:09 alostale Assigned To alostale => adrianromero
2010-11-15 08:09 alostale fix_in_branch => pi
2011-06-03 10:58 dalsasua Assigned To adrianromero => dalsasua
2011-07-20 18:13 dalsasua Assigned To dalsasua => jonalegriaesarte
2012-04-03 12:20 jonalegriaesarte Assigned To jonalegriaesarte => vmromanos
2012-04-10 13:44 vmromanos Assigned To vmromanos => alostale
2012-04-24 14:58 alostale Assigned To alostale => migueldejuana
2012-04-26 12:25 migueldejuana Note Added: 0048010
2012-04-26 12:25 migueldejuana Status scheduled => closed
2012-04-26 12:25 migueldejuana Resolution open => out of date
2012-04-26 12:25 migueldejuana Fixed in Version => pi


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker