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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008179
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2009-03-17 19:232009-07-17 10:52
ReporterroklenardicView Statuspublic 
Assigned Toiperdomo 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revision14e465a2ca68
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_10
OS VersionUbuntu 8.10Database version8.3.5Ant version1.7.1
Product VersionmainSCM revisionchangeset: 3268:1fe0dc273386 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008179: PDF Purchase Dimensional Report Does not work

DescriptionWhen running the above report, an almost empty html file is returned:
SimpleDimensionalNoComparative.jrxml-20d988f2-733d-494d-9c0f-c110420b2157.pdf

with the following content:
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=utf-8"></META>
<TITLE></TITLE>
<LINK rel="shortcut icon" href="../web/images/favicon.ico" type="image/x-icon"></LINK>
<SCRIPT language="javascript">
    function onLoadDo(url) {
      if(typeof top.opener.top.appFrame != 'undefined')
        top.opener.top.appFrame.document.location.href = url;
      else
          top.opener.top.document.location.href = url;
      top.window.close();
    }
  </SCRIPT>
</HEAD>
<BODY onload="onLoadDo('http://localhost:8180/openbravoMain/utility/DownloadReport.html?report=SimpleDimensionalNoComparative.jrxml-20d988f2-733d-494d-9c0f-c110420b2157.pdf' [^]);" style="background-color: #505050;" id="paramHref">

</BODY></HTML>



instead of the actual PDF.
Steps To Reproduce1) Login and switch to Openbravo Admin role
2) navigate to Procurement Management || Analysis Tools || Purchase Dimensional Report
3) From Date=01-01-2004
4) To Date=01-01-2009
5) Dimensions=Product
6) click the PDF Format button
Tags250 QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0008187 closedgmauleon PDF Purchase Dimensional Report Does not work 
has duplicate defect 0007775 closeddalsasua General Ledger Report cannot be exported 
has duplicate defect 0008424 closediperdomo The reports in jasper don't work 

-  Notes
(0014805)
roklenardic (developer)
2009-03-19 19:09

Where is the link to the fix revision/changeset? I could not find this bug number in any of the commit messages of the PI branch. why PI as opposed to the main?
(0014945)
gmauleon (reporter)
2009-03-25 13:19

Im having a look into this issue and i've noticed the issues below

-The PDF that the system is trying to print is stored in tmp folder, this is incorrect should take the file stored into the attachment file configured in Openbravo.properties.


So i've seen that the PDF file are properly created under the attachment file configured in Openbravo.properties but the system is trying to get the one stored in /tmp that in fact does not exits

Related java files:

-renderJS function under
org.openbravo.base.secureApp
(0015140)
hgbot (developer)
2009-04-02 20:01

Repository: erp/devel/pi
Changeset: a3b1cd2a6d59cb83cb111b925355b14205946f76
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Thu Apr 02 20:00:49 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a3b1cd2a6d59cb83cb111b925355b14205946f76 [^]

Fixes issue 8179: Removed the content-disposition header to be able to execute the javascript code

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---
(0015153)
sureshbabu (reporter)
2009-04-03 11:41

Retested working fine
(0015190)
plujan (manager)
2009-04-03 18:31

It is not working properly if an Apache is set up "in front" of Tomcat (default Openbravo Network SMB config)
(0015192)
hgbot (developer)
2009-04-03 18:38

Repository: erp/devel/pi
Changeset: f10967662fa084d1ddeebf888637c5d5cf5bcd9f
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Apr 03 18:37:37 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f10967662fa084d1ddeebf888637c5d5cf5bcd9f [^]

Fixes issue 8179: Adding a html file extension. The response contains a html with a download report code

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---
(0015198)
plujan (manager)
2009-04-03 19:29

It is not working
(0015200)
hgbot (developer)
2009-04-03 19:36

Repository: erp/devel/pi
Changeset: 5e552073a7ed5523ec1a26e916e7ed9fc69a6cd2
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Apr 03 19:36:29 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5e552073a7ed5523ec1a26e916e7ed9fc69a6cd2 [^]

Fixes issue 8179: Added a content-type to work with apache http

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---
(0017817)
hgbot (developer)
2009-07-03 13:12

Repository: erp/devel/pi
Changeset: 25eefb3dff5d0ff8a1093ef62cd2e7fe3fd1a0c3
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Thu Apr 02 20:00:49 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/25eefb3dff5d0ff8a1093ef62cd2e7fe3fd1a0c3 [^]

Fixes issue 8179: Removed the content-disposition header to be able to execute the javascript code

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---
(0017832)
hgbot (developer)
2009-07-03 13:12

Repository: erp/devel/pi
Changeset: 9f9aeec6bd3071005af4afa84ed14e6e8b6e1450
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Apr 03 18:37:37 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9f9aeec6bd3071005af4afa84ed14e6e8b6e1450 [^]

Fixes issue 8179: Adding a html file extension. The response contains a html with a download report code

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---
(0017833)
hgbot (developer)
2009-07-03 13:12

Repository: erp/devel/pi
Changeset: 14e465a2ca687246be4148c00d6f63d5c9960b27
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Apr 03 19:36:29 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/14e465a2ca687246be4148c00d6f63d5c9960b27 [^]

Fixes issue 8179: Added a content-type to work with apache http

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---
(0018346)
sureshbabu (reporter)
2009-07-17 10:51

Tested working fine in VM(PI) context

- Issue History
Date Modified Username Field Change
2009-03-17 19:23 roklenardic New Issue
2009-03-17 19:23 roklenardic Assigned To => rafaroda
2009-03-17 19:23 roklenardic Regression testing => No
2009-03-18 10:43 gmauleon Assigned To rafaroda => gmauleon
2009-03-18 10:43 gmauleon Status new => acknowledged
2009-03-18 10:43 gmauleon Status acknowledged => scheduled
2009-03-18 10:43 gmauleon fix_in_branch => pi
2009-03-19 19:09 roklenardic Note Added: 0014805
2009-03-25 13:19 gmauleon Note Added: 0014945
2009-03-25 15:11 gmauleon Assigned To gmauleon => iperdomo
2009-04-01 17:44 psarobe Tag Attached: 250 QA
2009-04-01 17:44 psarobe Severity minor => major
2009-04-01 17:44 psarobe fix_in_branch pi =>
2009-04-02 15:22 pjuvara Priority normal => urgent
2009-04-02 20:01 hgbot Checkin
2009-04-02 20:01 hgbot Note Added: 0015140
2009-04-02 20:01 hgbot Status scheduled => resolved
2009-04-02 20:01 hgbot Resolution open => fixed
2009-04-02 20:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a3b1cd2a6d59cb83cb111b925355b14205946f76 [^]
2009-04-03 09:07 rafaroda Relationship added related to 0007775
2009-04-03 11:41 sureshbabu Status resolved => closed
2009-04-03 11:41 sureshbabu Note Added: 0015153
2009-04-03 11:41 sureshbabu Fixed in Version => 2.50beta
2009-04-03 14:30 iperdomo Relationship added has duplicate 0008424
2009-04-03 16:17 dalsasua Relationship replaced has duplicate 0007775
2009-04-03 18:31 plujan Status closed => new
2009-04-03 18:31 plujan Resolution fixed => open
2009-04-03 18:31 plujan Note Added: 0015190
2009-04-03 18:31 plujan Fixed in Version 2.50beta =>
2009-04-03 18:31 plujan Status new => scheduled
2009-04-03 18:31 plujan fix_in_branch => pi
2009-04-03 18:38 hgbot Checkin
2009-04-03 18:38 hgbot Note Added: 0015192
2009-04-03 18:38 hgbot Status scheduled => resolved
2009-04-03 18:38 hgbot Resolution open => fixed
2009-04-03 18:38 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/a3b1cd2a6d59cb83cb111b925355b14205946f76 [^] => http://code.openbravo.com/erp/devel/pi/rev/f10967662fa084d1ddeebf888637c5d5cf5bcd9f [^]
2009-04-03 19:29 plujan Status resolved => new
2009-04-03 19:29 plujan Resolution fixed => open
2009-04-03 19:29 plujan Note Added: 0015198
2009-04-03 19:30 plujan Status new => scheduled
2009-04-03 19:36 hgbot Checkin
2009-04-03 19:36 hgbot Note Added: 0015200
2009-04-03 19:36 hgbot Status scheduled => resolved
2009-04-03 19:36 hgbot Resolution open => fixed
2009-04-03 19:36 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/f10967662fa084d1ddeebf888637c5d5cf5bcd9f [^] => http://code.openbravo.com/erp/devel/pi/rev/5e552073a7ed5523ec1a26e916e7ed9fc69a6cd2 [^]
2009-04-03 20:11 plujan Status resolved => closed
2009-04-15 12:00 anonymous sf_bug_id 0 => 2764936
2009-07-03 13:12 hgbot Checkin
2009-07-03 13:12 hgbot Note Added: 0017817
2009-07-03 13:12 hgbot Status closed => resolved
2009-07-03 13:12 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/5e552073a7ed5523ec1a26e916e7ed9fc69a6cd2 [^] => http://code.openbravo.com/erp/devel/pi/rev/25eefb3dff5d0ff8a1093ef62cd2e7fe3fd1a0c3 [^]
2009-07-03 13:12 hgbot Checkin
2009-07-03 13:12 hgbot Note Added: 0017832
2009-07-03 13:12 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/25eefb3dff5d0ff8a1093ef62cd2e7fe3fd1a0c3 [^] => http://code.openbravo.com/erp/devel/pi/rev/9f9aeec6bd3071005af4afa84ed14e6e8b6e1450 [^]
2009-07-03 13:12 hgbot Checkin
2009-07-03 13:12 hgbot Note Added: 0017833
2009-07-03 13:12 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/9f9aeec6bd3071005af4afa84ed14e6e8b6e1450 [^] => http://code.openbravo.com/erp/devel/pi/rev/14e465a2ca687246be4148c00d6f63d5c9960b27 [^]
2009-07-17 10:51 sureshbabu Note Added: 0018346
2009-07-17 10:52 sureshbabu Status resolved => closed
2009-07-17 10:52 sureshbabu Fixed in Version 2.50MP1 => pi


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker