Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013588 | Openbravo ERP | 09. Financial management | public | 2010-06-09 12:38 | 2010-06-17 00:00 |
|
Reporter | networkb | |
Assigned To | iperdomo | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.50MP18 | |
Target Version | 2.50MP19 | Fixed in Version | 2.50MP19 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0013588: Using VMWARE appliance, there is an error when exporting grid in Assets window |
Description | If you export assets window grid (to any format) you will realize that some columns have a incomplete label. |
Steps To Reproduce | 1. 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] |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | defect | 0013078 | 2.50MP17 | closed | balamurugan | Error when exporting grid in Assets window |
|
Attached Files | ExportGrid.xls (14,336) 2010-06-14 13:12 https://issues.openbravo.com/file_download.php?file_id=2678&type=bug
ExportGrid.csv (559) 2010-06-14 13:12 https://issues.openbravo.com/file_download.php?file_id=2679&type=bug
ExportGrid.pdf (6,142) 2010-06-14 13:12 https://issues.openbravo.com/file_download.php?file_id=2680&type=bug
Ubuntu-ExportGrid.csv (590) 2010-06-14 13:24 https://issues.openbravo.com/file_download.php?file_id=2681&type=bug
Ubuntu-ExportGrid.pdf (6,159) 2010-06-14 13:25 https://issues.openbravo.com/file_download.php?file_id=2682&type=bug
Ubuntu-ExportGrid.xls (14,336) 2010-06-14 13:25 https://issues.openbravo.com/file_download.php?file_id=2683&type=bug
VM-ExportGrid.csv (537) 2010-06-14 14:04 https://issues.openbravo.com/file_download.php?file_id=2685&type=bug
VM-ExportGrid.pdf (6,120) 2010-06-14 14:04 https://issues.openbravo.com/file_download.php?file_id=2686&type=bug
VM-ExportGrid.xls (14,336) 2010-06-14 14:04 https://issues.openbravo.com/file_download.php?file_id=2687&type=bug
ORA-ExportGrid.csv (561) 2010-06-14 14:12 https://issues.openbravo.com/file_download.php?file_id=2688&type=bug
ORA-ExportGrid.pdf (6,159) 2010-06-14 14:13 https://issues.openbravo.com/file_download.php?file_id=2689&type=bug
ORA-ExportGrid.xls (14,336) 2010-06-14 14:13 https://issues.openbravo.com/file_download.php?file_id=2690&type=bug |
|
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:38 | networkb | OBNetwork customer | => Yes |
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 | bug_revision_view_page.php?bugnote_id=0028207#r478 |
2010-06-09 13:34 | dalsasua | Note Edited: 0028207 | bug_revision_view_page.php?bugnote_id=0028207#r479 |
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 |
Notes |
|
(0028207)
|
dalsasua
|
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
|
|
|
|
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. |
|
|
|
This error is also reproduced in pi, not only in the virtual appliance. |
|
|
|
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. |
|
|
|
The attached files are produced on an instance built from pi @ rev ae808d1e7781 |
|
|
|
Ubuntu* files are generated from Openbravo Ubuntu package |
|
|
|
VM* files are generated from 2.50MP18 virtual appliance |
|
|
|
ORA* files are generated on Oracle instances based on pi @ rev ae808d1e7781 |
|
|
|
Please confirm _all_ environment details. I cannot reproduce the error.
The 2.50MP18 virtual appliance is working fine. |
|
|
(0028435)
|
hgbot
|
2010-06-15 11:06
|
|
|
|
(0028436)
|
hgbot
|
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
---
|
|
|
|
|
|
|
|
|
|
Tested in a MP18 Virtual Appliance. Before, it didn't work. After updating to MP19 candidate, it worked correctly. |
|