Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0007180 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 03. Procurement management | major | always | 2009-01-28 10:59 | 2009-04-21 10:54 | |||
Reporter | pheenan | View Status | public | |||||
Assigned To | pheenan | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 2.50beta | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 13538 | |||
Projection | none | ETA | none | Target Version | pi | |||
OS | Linux 32 bit | Database | Oracle | Java version | 1.6 | |||
OS Version | Ubuntu 8.10 | Database version | 11g | Ant version | 1.7 | |||
Product Version | pi | SCM revision | 12348 | |||||
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 | 0007180: Requisition Order not printing | |||||||
Description | When printing a requisition an error is returned. Following correcting these errors the report returns blank. | |||||||
Steps To Reproduce | Log into the application - Procurement - Transactions - Requisition - Create a requisition and click the print icon in the toolbar. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0012827) svnbot (viewer) 2009-01-29 15:55 |
Repository: openbravo Revision: 12483 Author: pheenan Date: 2009-01-29 15:55:49 +0100 (Thu, 29 Jan 2009) Fixed 7180. Updated report in iReports. Changed parameter being passed to the subreport. Reformatted query to include spaces for correct parsing of jrxml query. Report should be ported to the new printing structure through the print controller. --- U trunk/src/org/openbravo/erpReports/RptM_Requisition.java U trunk/src/org/openbravo/erpReports/RptM_Requisition.jrxml U trunk/src/org/openbravo/erpReports/RptM_Requisition_Lines.jrxml --- https://dev.openbravo.com/websvn/openbravo/?rev=12483&sc=1 [^] |
(0013816) sureshbabu (viewer) 2009-02-20 11:44 |
Still not able to print the Requisition. |
(0013906) pheenan (viewer) 2009-02-23 11:26 |
This issue seems to be related to a change in the handling of pdf printing in the HttpSecureAppServlet class. The output type for this class has been changed to reportId = UUID.randomUUID(); saveReport(variables, jasperPrint, exportParameters, strFileName + "-" + (reportId) + "." + strOutputType); printPagePopUpDownload(os, strFileName + "-" + (reportId) + "." + strOutputType); This means that the content type for the response is an "application/octet-stream" which may not be defined int he web.xml file of the tomcat server. If this is not defined as below then the output will not be recognised and the document will not be rendered. Required mapping in the web.xml file of the tomcat server.... <mime-mapping> <extension>bin</extension> <mime-type>application/octet-stream</mime-type> </mime-mapping> This change in handling also effects the ExportGrid function which is passing through the same printPagePopUpDownload method. |
(0013951) svnbot (viewer) 2009-02-23 16:01 |
Repository: openbravo Revision: 13538 Author: pheenan Date: 2009-02-23 16:01:13 +0100 (Mon, 23 Feb 2009) Fixed 7180. Added line to avoid errors in mapping the output file. --- U trunk/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java --- https://dev.openbravo.com/websvn/openbravo/?rev=13538&sc=1 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2009-01-28 10:59 | pheenan | New Issue | |
2009-01-28 10:59 | pheenan | Assigned To | => pheenan |
2009-01-28 10:59 | pheenan | sf_bug_id | 0 => 2542665 |
2009-01-28 10:59 | pheenan | OBNetwork customer | => No |
2009-01-28 10:59 | pheenan | Regression testing | => No |
2009-01-28 11:31 | pheenan | Status | new => scheduled |
2009-01-28 11:31 | pheenan | fix_in_branch | => trunk |
2009-01-29 15:55 | svnbot | Checkin | |
2009-01-29 15:55 | svnbot | Note Added: 0012827 | |
2009-01-29 15:55 | svnbot | Status | scheduled => resolved |
2009-01-29 15:55 | svnbot | Resolution | open => fixed |
2009-01-29 15:55 | svnbot | svn_revision | => 12483 |
2009-02-20 11:44 | sureshbabu | Status | resolved => new |
2009-02-20 11:44 | sureshbabu | Resolution | fixed => open |
2009-02-20 11:44 | sureshbabu | Note Added: 0013816 | |
2009-02-23 11:26 | pheenan | Note Added: 0013906 | |
2009-02-23 16:01 | svnbot | Checkin | |
2009-02-23 16:01 | svnbot | Note Added: 0013951 | |
2009-02-23 16:01 | svnbot | Status | new => resolved |
2009-02-23 16:01 | svnbot | Resolution | open => fixed |
2009-02-23 16:01 | svnbot | svn_revision | 12483 => 13538 |
2009-04-21 10:54 | psarobe | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |