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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013580
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2010-06-08 15:542010-06-11 00:00
ReportergmauleonView Statuspublic 
Assigned Toadrianromero 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision9353f9f896b0
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP17SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013580: Not able to use multireports with an especific document type

DescriptionIf you try to use the grid view to print for instance a pair of invoices and your document number has a "/" inside (for instance document No "FV/000125") the print process fails and the user is not able to see the result
Steps To Reproduce-Create at least a pair of invoices with document numbers containin "/" character.
-Go to invoices grid view and select both of them
-Click on print and select "no, just print it"
-Try to open the result
Proposed SolutionThe result of the pdf is been stored in the a tmp folder and to buil the file name the system uses the document No, this reference contains a "/" and as a result the pdf is not generated.

File: org.openbravo.erpCommon.utility.reporting.Report Method: generateReportFileName

reportFilename = UUID.randomUUID().toString() + "_" + reportFilename;
//here use, for instance, the replace method to find and replace the "/" for a "-"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0028194)
hgbot (developer)
2010-06-08 18:06

Repository: erp/devel/pi
Changeset: 9353f9f896b0387d2c979bcdebac0e7f112add0e
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Jun 08 18:03:21 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9353f9f896b0387d2c979bcdebac0e7f112add0e [^]

Fixes issue 0013580: Not able to use multireports with an especific document type
It has been added a new replacement to the calculation of the filename to avoid the characters slash '/' and back slash '\'

---
M src/org/openbravo/erpCommon/utility/reporting/Report.java
---
(0028250)
arunkumar (reporter)
2010-06-10 10:54

Tested working fine
(0028259)
hudsonbot (developer)
2010-06-10 12: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/9353f9f896b0 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/90bc12ff4afd [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17576.obx [^]

- Issue History
Date Modified Username Field Change
2010-06-08 15:54 gmauleon New Issue
2010-06-08 15:54 gmauleon Assigned To => adrianromero
2010-06-08 18:06 hgbot Checkin
2010-06-08 18:06 hgbot Note Added: 0028194
2010-06-08 18:06 hgbot Status new => resolved
2010-06-08 18:06 hgbot Resolution open => fixed
2010-06-08 18:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9353f9f896b0387d2c979bcdebac0e7f112add0e [^]
2010-06-10 10:54 arunkumar Note Added: 0028250
2010-06-10 10:54 arunkumar Status resolved => closed
2010-06-10 12:59 hudsonbot Checkin
2010-06-10 12:59 hudsonbot Note Added: 0028259
2010-06-11 00:00 anonymous sf_bug_id 0 => 3014577


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker