Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034571 | Openbravo ERP | A. Platform | public | 2016-11-17 17:51 | 2016-12-16 18:38 |
|
Reporter | JONHM | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | 3.0PR17Q1 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0034571: Cannot attach xlsx files |
Description | Cannot attach xlsx files to any record |
Steps To Reproduce | 1) Open G/L Journal and select some record
2) Press Attachments/Add and add the attached file (Book1.xlsx)
-> It shows error: dataType: Value (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) is too long, it has length 65, the maximum allowed length is 32 |
Proposed Solution | It appears to be related to the length of the String, because xlsx files type is "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" and the default String of the column is only 32 characters length. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0029862 | | closed | caristu | Ability to generate excel reports with more than 65532 rows | has duplicate | defect | 0035196 | | closed | collazoandy4 | Error when attaching an Excel file in Simple G/L Journal Window |
|
Attached Files | Book1.xlsx (7,874) 2016-11-17 17:51 https://issues.openbravo.com/file_download.php?file_id=10067&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2016-11-17 17:51 | JONHM | New Issue | |
2016-11-17 17:51 | JONHM | Assigned To | => platform |
2016-11-17 17:51 | JONHM | File Added: Book1.xlsx | |
2016-11-17 17:51 | JONHM | Modules | => Core |
2016-11-17 17:51 | JONHM | Triggers an Emergency Pack | => No |
2016-11-17 17:56 | jfrances | Issue Monitored: jfrances | |
2016-11-21 15:22 | alostale | Assigned To | platform => alostale |
2016-11-21 15:22 | alostale | Review Assigned To | => caristu |
2016-11-21 15:30 | hgbot | Checkin | |
2016-11-21 15:30 | hgbot | Note Added: 0091704 | |
2016-11-21 15:31 | hgbot | Status | new => resolved |
2016-11-21 15:31 | hgbot | Resolution | open => fixed |
2016-11-21 15:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/82b271d48d3de85a54e6d5aaeb32872891fc509e [^] |
2016-11-21 18:10 | hgbot | Checkin | |
2016-11-21 18:10 | hgbot | Note Added: 0091719 | |
2016-11-21 18:13 | caristu | Note Added: 0091720 | |
2016-11-21 18:13 | caristu | Status | resolved => closed |
2016-11-21 18:13 | caristu | Fixed in Version | => 3.0PR17Q1 |
2016-11-21 18:14 | caristu | Relationship added | related to 0029862 |
2016-12-16 18:38 | hudsonbot | Checkin | |
2016-12-16 18:38 | hudsonbot | Note Added: 0092648 | |
2016-12-16 18:38 | hudsonbot | Checkin | |
2016-12-16 18:38 | hudsonbot | Note Added: 0092649 | |
2017-02-08 17:10 | egoitz | Relationship added | has duplicate 0035196 |
Notes |
|
(0091704)
|
hgbot
|
2016-11-21 15:30
|
|
Repository: erp/devel/pi
Changeset: 82b271d48d3de85a54e6d5aaeb32872891fc509e
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Nov 21 15:28:27 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/82b271d48d3de85a54e6d5aaeb32872891fc509e [^]
fixed bug 34571: Cannot attach xlsx files
It was failing because tyka detected type is too long for column size.
In case type is longer than this size, it will not be saved, this is a purely
informational field with no functional effect, so it is save not to store it.
Resizing column, would require a table recreation which could be problematic
because its volume is pontentially high.
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachImplementationManager.java
---
|
|
|
(0091719)
|
hgbot
|
2016-11-21 18:10
|
|
Repository: erp/devel/pi
Changeset: 64b44ea14896a47c9b567f42ec2c1de7b05cbd9b
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Nov 21 18:00:55 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/64b44ea14896a47c9b567f42ec2c1de7b05cbd9b [^]
related to issue 34571: removed duplicated semicolon
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/AttachImplementationManager.java
---
|
|
|
|
Code reviewed + tested OK: files whose data type is larger than 32 can now be uploaded. |
|
|
|
|
|
|
|