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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013164
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementmajorsometimes2010-04-30 11:232010-05-18 21:43
ReporternetworkbView Statuspublic 
Assigned Toadrianromero 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionbe233422f299
ProjectionnoneETAnoneTarget Version2.50MP17
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product Version2.50MP11SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013164: PDF of "Price List Report" does not work

Description. in some enviroments, the PDF of "Price list report" does not work.
. the problem is reproducible in enviroment live of openbravo
Steps To Reproduce.Master Data Management || Pricing || Price List Report || Price List Report
  .price list: mafalda sales 29/03/2006

click in pdf button. The pdf generated is not correct
TagsRegression
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00108242.50MP11 closediperdomo Loading pop-up window not closing when opening *.fo reports 

-  Notes
(0026814)
adrianromero (manager)
2010-04-30 13:36

This seems to be just a problem of the PDF button that does not link correcty to the PDF report generated. If opened the resulting PDF file as a text file, you will see an html file with a link to the correct PDF generated.
(0026825)
hgbot (developer)
2010-04-30 16:46

Repository: erp/devel/pi
Changeset: be233422f299cfbceccce1c23eada8eab1342ffd
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Apr 30 16:45:11 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/be233422f299cfbceccce1c23eada8eab1342ffd [^]

Fixes issue 0013164: PDF of Price List Report does not work

---
M src/org/openbravo/erpCommon/ad_reports/ReportPricelist.html
---
(0026826)
adrianromero (manager)
2010-04-30 17:03

* Testing of the issue:
To test the issue, as Openbravo Admin, follow the steps to reproduce and verify that the pdf is properly generated.

* Explanation of the changeset that fixes the issue:
The changeset that fix this issue consist in the modification of the file ReportPriceList.html to return a file with extension .html instead .pdf that is the correct extension because actually the generated file is a .html file and inside the html file there is a link to the correct .pdf file

* Other areas affected by the changeset:
Other areas affected are all html reports that are invoked using the javascript function openServletNewWindow() that returns a file with extension .pdf. All these html files has been tested and works:

works ./ReportToInvoiceConsignmentJR.html: onclick="openServletNewWindow('FIND', true, 'ReportToInvoiceConsignmentJR.pdf', 'ReportToInvoiceConsignmentJR', null, false, '700', '1000', true);return false;"
not found ./ReportWarehouseDetailInventoryJR.html: onclick="openServletNewWindow('FIND', false, 'ReportWarehouseDetailInventoryJR.pdf', 'ReportWarehouseDetailInventoryJR', null, false, '700', '1000', true);return false;"
works ./ReportShipmentFilterJR.html: onclick="openServletNewWindow('EDIT_PDF', false, 'ReportShipmentEditionJR.pdf', 'ReportShipmentEditionJR', null, false, '700', '1000', true);return false;"
not found ./ReportProduction.html: onclick="openServletNewWindow('FIND', false, 'ReportProductionPDF.pdf', 'ReportProductionPDF', null, false, '700', '1000', true);return false;"
works ./ReportMaterialTransactionFilter.html: onclick="openServletNewWindow('EDIT_PDF', false, 'ReportMaterialTransactionEdition.pdf', 'ReportMaterialTransactionEdition', null, false, '700', '1000', true);return false;"
not found ./ReportToInvoiceConsignment.html: onclick="openServletNewWindow('FIND', false, 'ReportToInvoiceConsignment.pdf', 'ReportToInvoiceConsignment', null, false, '700', '1000', true);return false;"
works ./ReportProjectProgress.html: onclick="openServletNewWindow('PDF', true, 'ReportProjectProgress.pdf', 'ReportProjectProgress', null, false, '700', '1024', true);return false;"
works ./ReportMaterialTransactionEditionJR.html: onclick="openServletNewWindow('EDIT_PDF', false, 'ReportMaterialTransactionEditionJR.pdf', 'ReportMaterialTransactionEditionJR', null, false, '700', '1000', true);return false;"
works ./ReportPurchaseDimensionalAnalysesFilterJR.html: onclick="openServletNewWindow('EDIT_PDF', true, 'ReportPurchaseDimensionalJR.pdf', 'ReportPurchaseDimensionalAnalysesFilterJR', null, false, '700', '1000', true);return false;"
works ./ReportProjectProfitabilityJR.html: onclick="openServletNewWindow('PDF', true, 'ReportProjectProfitabilityJR.pdf', 'ReportProjectProfitabilityJR', null, false, '700', '1024', true);return false;"
works ./ReportProjectBuildingSiteJR.html: onclick="openServletNewWindow('PDF', true, 'ReportProjectBuildingSiteJR.pdf', 'ReportProjectBuildingSiteJR', null, false, '700', '1024', true);return false;"
(0026855)
arunkumar (reporter)
2010-05-03 13:00

Tested Working fine
(0027467)
hudsonbot (developer)
2010-05-18 21:43

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/be233422f299 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]

- Issue History
Date Modified Username Field Change
2010-04-30 11:23 networkb New Issue
2010-04-30 11:23 networkb Assigned To => adrianromero
2010-04-30 13:36 adrianromero Status new => scheduled
2010-04-30 13:36 adrianromero Note Added: 0026814
2010-04-30 13:36 adrianromero fix_in_branch => pi
2010-04-30 13:39 psarobe Priority normal => immediate
2010-04-30 13:39 psarobe fix_in_branch pi =>
2010-04-30 13:41 psarobe Tag Attached: Regression
2010-04-30 13:52 iperdomo Relationship added related to 0010824
2010-04-30 13:52 psarobe version 2.50MP14 => 2.50MP11
2010-04-30 16:46 hgbot Checkin
2010-04-30 16:46 hgbot Note Added: 0026825
2010-04-30 16:46 hgbot Status scheduled => resolved
2010-04-30 16:46 hgbot Resolution open => fixed
2010-04-30 16:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/be233422f299cfbceccce1c23eada8eab1342ffd [^]
2010-04-30 17:03 adrianromero Note Added: 0026826
2010-05-03 13:00 arunkumar Note Added: 0026855
2010-05-03 13:00 arunkumar Status resolved => closed
2010-05-04 00:00 anonymous sf_bug_id 0 => 2996198
2010-05-11 18:19 jpabloae Target Version 2.50MP16 => 2.50MP17
2010-05-18 21:43 hudsonbot Checkin
2010-05-18 21:43 hudsonbot Note Added: 0027467


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker