Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007430Openbravo ERP02. Master data managementpublic2009-02-09 12:252009-02-27 06:39
networkb 
gorkaion 
immediatemajoralways
closedfixed 
5
2.40 
pi 
Core
No
0007430: 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
related to defect 0007281 closed gorkaion The export buttons don't work on Product price tab on Price list tab 
depends on backport 0007440 closed gorkaion Exportation to excel product price lists fails 
has duplicate defect 0007416 closed rafaroda No exporta a excel ni permisos a ventanas ni permisos a procesos 
Issue History
2009-02-09 12:25networkbNew Issue
2009-02-09 12:25networkbAssigned To => rafaroda
2009-02-09 12:25networkbsf_bug_id0 => 2581252
2009-02-09 12:25networkbRegression testing => No
2009-02-09 12:35rafarodaRelationship addedrelated to 0007281
2009-02-09 12:45rafarodaRelationship addedrelated to 0007416
2009-02-09 13:46rafarodaPrioritynormal => immediate
2009-02-09 17:41rafarodaAssigned Torafaroda => gorkaion
2009-02-09 17:41rafarodaProposed Solution updated
2009-02-09 17:41rafarodaStatusnew => scheduled
2009-02-09 17:41rafarodafix_in_branch => trunk
2009-02-09 17:43rafarodaRelationship replacedhas duplicate 0007416
2009-02-10 11:57rafarodaNote Added: 0013297
2009-02-11 18:42svnbotCheckin
2009-02-11 18:42svnbotNote Added: 0013366
2009-02-11 18:42svnbotStatusscheduled => resolved
2009-02-11 18:42svnbotResolutionopen => fixed
2009-02-11 18:42svnbotsvn_revision => 13066
2009-02-12 18:55gorkaionTag Attached: commsup_sprint6
2009-02-27 06:39sureshbabuStatusresolved => closed
2009-02-27 06:39sureshbabuNote Added: 0014122
2009-02-27 06:39sureshbabuFixed in Version => trunk

Notes
(0013297)
rafaroda   
2009-02-10 11:57   
The same issue has been found in:
* Financial Management || Accounting || Setup || Accounting Schema || Accounting Schema >> Account Schema Tables
(0013366)
svnbot   
2009-02-11 18:42   
Repository: openbravo
Revision: 13066
Author: gorkaion
Date: 2009-02-11 18:42:28 +0100 (Wed, 11 Feb 2009)

Fixed bug 7430. 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 trunk/src/org/openbravo/erpCommon/utility/ExportGrid.java
U trunk/src/org/openbravo/erpCommon/utility/GridBO.java
U trunk/src/org/openbravo/erpCommon/utility/ReportDesignBO.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=13066&sc=1 [^]
(0014122)
sureshbabu   
2009-02-27 06:39   
Retested in context 79.125.56.185/openbravotrunk