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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034571
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2016-11-17 17:512016-12-16 18:38
ReporterJONHMView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q1
StatusclosedFix in branchFixed in SCM revision82b271d48d3d
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034571: Cannot attach xlsx files

DescriptionCannot attach xlsx files to any record
Steps To Reproduce1) 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 SolutionIt 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.
TagsNo tags attached.
Attached Filesxlsx file icon Book1.xlsx [^] (7,874 bytes) 2016-11-17 17:51

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0029862 closedcaristu Ability to generate excel reports with more than 65532 rows 
has duplicate defect 0035196 closedcollazoandy4 Error when attaching an Excel file in Simple G/L Journal Window 

-  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
Powered by Mantis Bugtracker