Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007440Openbravo ERP02. Master data managementpublic2009-02-09 12:252009-03-04 06:42
networkb 
gorkaion 
immediatemajoralways
closedfixed 
5
2.40 
2.40MP3 
Core
No
0007440: Exportation to excel product price lists fails
Exportation to excel in window Product Prices generates a damaged file.

This would probably be reproduced in more windows.


1. Go to menu item:

Master Data Management || Pricing || Price List || Price List Version || Product Price.

2. Set grid view
3. Click on "Export to excel" button on the main toolbar.

Then, the generated file cannot be opened or is damaged.

Log error:
16:16:14 [ajp-8009-2] ERROR org.openbravo.erpCommon.utility.ExportGrid - Error captured: javax.servlet.ServletException: Report design not valid :
1. The columns and the margins do not fit the page width.

According to https://issues.openbravo.com/view.php?id=7416 [^] this issue has also been reproduced in:
* General Setup || Security || Role || Role >> Process Access
* General Setup || Security || Role || Role >> Window Access
commsup_sprint6, maintenances
related to backport 0007285 closed gorkaion The export buttons don't work on Product price tab on Price list tab 
blocks defect 0007430 closed gorkaion Exportation to excel product price lists fails 
Issue History
2009-02-09 17:41rafarodaTypedefect => backport
2009-02-09 17:41rafarodafix_in_branch => 2.40
2009-02-09 19:04rafarodaRelationship addedrelated to 0007285
2009-02-11 19:29svnbotCheckin
2009-02-11 19:29svnbotNote Added: 0013372
2009-02-11 19:29svnbotStatusscheduled => resolved
2009-02-11 19:29svnbotResolutionopen => fixed
2009-02-11 19:29svnbotsvn_revision => 13071
2009-02-12 18:55gorkaionTag Attached: commsup_sprint6
2009-02-12 18:55gorkaionTag Attached: maintenances
2009-03-03 17:31psarobeFixed in Version => 2.40MP3
2009-03-04 06:42sureshbabuStatusresolved => closed
2009-03-04 06:42sureshbabuNote Added: 0014349

Notes
(0013372)
svnbot   
2009-02-11 19:29   
Repository: openbravo
Revision: 13071
Author: gorkaion
Date: 2009-02-11 19:29:25 +0100 (Wed, 11 Feb 2009)

Fixed bug 7440. Set the minimum width of the generated file to 595 when the total width of the columns is smaller. Added log4j to GridBO and ReportDesignVO classes.

---
U branches/r2.40/src/org/openbravo/erpCommon/utility/ExportGrid.java
U branches/r2.40/src/org/openbravo/erpCommon/utility/GridBO.java
U branches/r2.40/src/org/openbravo/erpCommon/utility/ReportDesignBO.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=13071&sc=1 [^]
(0014349)
sureshbabu   
2009-03-04 06:42   
Retested in context http://79.125.57.19/openbravo240mp3psg [^]