Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0013580 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2010-06-08 15:54 | 2010-06-11 00:00 | |||
Reporter | gmauleon | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 9353f9f896b0 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP17 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0013580: Not able to use multireports with an especific document type | |||||||
Description | If 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 Solution | The 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 "-" | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 (viewer) 2010-06-10 10:54 |
Tested working fine |
(0028259) hudsonbot (viewer) 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 [^] |
![]() |
|||
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 15:54 | gmauleon | OBNetwork customer | => Yes |
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 |