Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034571 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2016-11-17 17:51 | 2016-12-16 18:38 | |||
Reporter | JONHM | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 82b271d48d3d | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | Book1.xlsx [^] (7,874 bytes) 2016-11-17 17:51 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0091704) hgbot (developer) 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 (developer) 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 --- |
(0091720) caristu (developer) 2016-11-21 18:13 |
Code reviewed + tested OK: files whose data type is larger than 32 can now be uploaded. |
(0092648) hudsonbot (developer) 2016-12-16 18:38 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dc8bf00badd0 [^] Maturity status: Test |
(0092649) hudsonbot (developer) 2016-12-16 18:38 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dc8bf00badd0 [^] Maturity status: Test |
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 |
Copyright © 2000 - 2009 MantisBT Group |