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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007180
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2009-01-28 10:592009-04-21 10:54
ReporterpheenanView Statuspublic 
Assigned Topheenan 
PrioritynormalResolutionfixedFixed in Version2.50beta
StatusclosedFix in branchpiFixed in SCM revision13538
ProjectionnoneETAnoneTarget Versionpi
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.10Database version11g Ant version1.7
Product VersionpiSCM revision12348 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007180: Requisition Order not printing

DescriptionWhen printing a requisition an error is returned.

Following correcting these errors the report returns blank.
Steps To ReproduceLog into the application
- Procurement
- Transactions
- Requisition
- Create a requisition and click the print icon in the toolbar.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0012827)
svnbot (reporter)
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 (reporter)
2009-02-20 11:44

Still not able to print the Requisition.
(0013906)
pheenan (reporter)
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 (reporter)
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 [^]

- Issue History
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 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
Powered by Mantis Bugtracker