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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013588
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2010-06-09 12:382010-06-17 00:00
ReporternetworkbView Statuspublic 
Assigned Toiperdomo 
PriorityurgentResolutionfixedFixed in Version2.50MP19
StatusclosedFix in branchpiFixed in SCM revision0e44f440ef71
ProjectionnoneETAnoneTarget Version2.50MP19
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP18SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013588: Using VMWARE appliance, there is an error when exporting grid in Assets window

DescriptionIf you export assets window grid (to any format) you will realize that some columns have a incomplete label.
Steps To Reproduce1. Download 2.50MP18 vmware virtual appliance and run
2. Financial Management || Assets || Assets || Assets : create one asset, go to grid mode and press Export to Excel grid button (or any format):

*Check that label of 11th column is "Deprecia" instead of "Depreciate"
*Check that label of 26th column is "Depreciation" instead of "Depreciation Amount"
*Check that 2 last labels are "Depreciated" instead of "Depreciated value" and "Depreciated Plan".

That also happens in PDF and CSV format

[Same error reported in bug 13078 was solved for 250mp17, but it continue failing when using vmware]
TagsNo tags attached.
Attached Filesxls file icon ExportGrid.xls [^] (14,336 bytes) 2010-06-14 13:12
csv file icon ExportGrid.csv [^] (559 bytes) 2010-06-14 13:12
pdf file icon ExportGrid.pdf [^] (6,142 bytes) 2010-06-14 13:12
csv file icon Ubuntu-ExportGrid.csv [^] (590 bytes) 2010-06-14 13:24
pdf file icon Ubuntu-ExportGrid.pdf [^] (6,159 bytes) 2010-06-14 13:25
xls file icon Ubuntu-ExportGrid.xls [^] (14,336 bytes) 2010-06-14 13:25
csv file icon VM-ExportGrid.csv [^] (537 bytes) 2010-06-14 14:04
pdf file icon VM-ExportGrid.pdf [^] (6,120 bytes) 2010-06-14 14:04
xls file icon VM-ExportGrid.xls [^] (14,336 bytes) 2010-06-14 14:04
csv file icon ORA-ExportGrid.csv [^] (561 bytes) 2010-06-14 14:12
pdf file icon ORA-ExportGrid.pdf [^] (6,159 bytes) 2010-06-14 14:13
xls file icon ORA-ExportGrid.xls [^] (14,336 bytes) 2010-06-14 14:13

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 00130782.50MP17 closedbalamurugan Error when exporting grid in Assets window 

-  Notes
(0028207)
dalsasua (reporter)
2010-06-09 12:50
edited on: 2010-06-09 13:34

It is reproducible even in a normal erp instance. No need to install the virtual machine.

My environment: Ubuntu / Oracle / Firefox

(0028208)
networkb (developer)
2010-06-09 14:01

If you increase on the AD the length of the columns afected the grid is exported properly.
A possible solution is to define the width using the lengh of the field name (not lenght of the fied) exported, and not the lenght of the column exported.
(0028220)
adrianromero (manager)
2010-06-09 16:55

This error is also reproduced in pi, not only in the virtual appliance.
(0028222)
networkb (developer)
2010-06-09 17:26

After some tests it could be related with Tomcat: same local environment accessed trough eclipse shows proper names, accessed from outside tomcat shows cut names. FYI.
(0028362)
iperdomo (reporter)
2010-06-14 13:11

The attached files are produced on an instance built from pi @ rev ae808d1e7781
(0028364)
iperdomo (reporter)
2010-06-14 13:29

Ubuntu* files are generated from Openbravo Ubuntu package
(0028366)
iperdomo (reporter)
2010-06-14 14:04

VM* files are generated from 2.50MP18 virtual appliance
(0028370)
iperdomo (reporter)
2010-06-14 14:12

ORA* files are generated on Oracle instances based on pi @ rev ae808d1e7781
(0028371)
iperdomo (reporter)
2010-06-14 14:13

Please confirm _all_ environment details. I cannot reproduce the error.
The 2.50MP18 virtual appliance is working fine.
(0028435)
hgbot (developer)
2010-06-15 11:06

Repository: erp/devel/pi
Changeset: c3208eb7eb119c4435e800dd494c4fae2addaa7f
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Jun 15 10:38:16 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c3208eb7eb119c4435e800dd494c4fae2addaa7f [^]

Updated license, reformatted text. Related to issue 13588

---
M src/org/openbravo/erpCommon/utility/ExportGrid.java
---
(0028436)
hgbot (developer)
2010-06-15 11:06

Repository: erp/devel/pi
Changeset: 0e44f440ef7198b4b663c4bb349bceddf9fcdd50
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Jun 15 10:57:17 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0e44f440ef7198b4b663c4bb349bceddf9fcdd50 [^]

Fixes issue 13588: Increased character width for column length calculation
Since we are not defining any style in plantilla.jrxml, to calculate the
column width we use the text of the column name multiplied by a factor
(character width). It seems that is a font configuration issue, is only
reproducible in some GNU/Linux environments with not all 'expected' ttf fonts
installed, e.g. rPath on the community appliance.

---
M src/org/openbravo/erpCommon/utility/ExportGrid.java
---
(0028474)
hudsonbot (developer)
2010-06-16 00:20

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/c3208eb7eb11 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3b320eca6d68 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17616.obx [^]
(0028475)
hudsonbot (developer)
2010-06-16 00:20

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/0e44f440ef71 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3b320eca6d68 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17616.obx [^]
(0028493)
marvintm (developer)
2010-06-16 12:00

Tested in a MP18 Virtual Appliance. Before, it didn't work. After updating to MP19 candidate, it worked correctly.

- Issue History
Date Modified Username Field Change
2010-06-09 12:38 networkb New Issue
2010-06-09 12:38 networkb Assigned To => dalsasua
2010-06-09 12:50 dalsasua Note Added: 0028207
2010-06-09 12:52 dalsasua Relationship added has duplicate 0013078
2010-06-09 13:11 jpabloae Issue Monitored: jpabloae
2010-06-09 13:32 dalsasua Assigned To dalsasua => adrianromero
2010-06-09 13:34 dalsasua Note Edited: 0028207 View Revisions
2010-06-09 13:34 dalsasua Note Edited: 0028207 View Revisions
2010-06-09 14:01 networkb Note Added: 0028208
2010-06-09 16:54 adrianromero Assigned To adrianromero => alostale
2010-06-09 16:55 adrianromero Note Added: 0028220
2010-06-09 17:26 networkb Note Added: 0028222
2010-06-14 12:54 iperdomo Assigned To alostale => iperdomo
2010-06-14 12:55 iperdomo Status new => scheduled
2010-06-14 12:55 iperdomo fix_in_branch => pi
2010-06-14 12:55 iciordia Status scheduled => acknowledged
2010-06-14 13:11 iperdomo Note Added: 0028362
2010-06-14 13:11 iperdomo Status acknowledged => scheduled
2010-06-14 13:12 iperdomo File Added: ExportGrid.xls
2010-06-14 13:12 iperdomo File Added: ExportGrid.csv
2010-06-14 13:12 iperdomo File Added: ExportGrid.pdf
2010-06-14 13:24 iperdomo File Added: Ubuntu-ExportGrid.csv
2010-06-14 13:25 iperdomo File Added: Ubuntu-ExportGrid.pdf
2010-06-14 13:25 iperdomo File Added: Ubuntu-ExportGrid.xls
2010-06-14 13:29 iperdomo Note Added: 0028364
2010-06-14 14:04 iperdomo Note Added: 0028366
2010-06-14 14:04 iperdomo File Added: VM-ExportGrid.csv
2010-06-14 14:04 iperdomo File Added: VM-ExportGrid.pdf
2010-06-14 14:04 iperdomo File Added: VM-ExportGrid.xls
2010-06-14 14:12 iperdomo Note Added: 0028370
2010-06-14 14:12 iperdomo File Added: ORA-ExportGrid.csv
2010-06-14 14:13 iperdomo File Added: ORA-ExportGrid.pdf
2010-06-14 14:13 iperdomo File Added: ORA-ExportGrid.xls
2010-06-14 14:13 iperdomo Note Added: 0028371
2010-06-14 14:13 iperdomo Status scheduled => feedback
2010-06-15 10:05 iperdomo Status feedback => scheduled
2010-06-15 11:06 hgbot Checkin
2010-06-15 11:06 hgbot Note Added: 0028435
2010-06-15 11:06 hgbot Checkin
2010-06-15 11:06 hgbot Note Added: 0028436
2010-06-15 11:06 hgbot Status scheduled => resolved
2010-06-15 11:06 hgbot Resolution open => fixed
2010-06-15 11:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0e44f440ef7198b4b663c4bb349bceddf9fcdd50 [^]
2010-06-16 00:20 hudsonbot Checkin
2010-06-16 00:20 hudsonbot Note Added: 0028474
2010-06-16 00:20 hudsonbot Checkin
2010-06-16 00:20 hudsonbot Note Added: 0028475
2010-06-16 12:00 marvintm Note Added: 0028493
2010-06-16 12:00 marvintm Status resolved => closed
2010-06-16 12:00 marvintm Fixed in Version => 2.50MP19
2010-06-17 00:00 anonymous sf_bug_id 0 => 3017331


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker