Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024289Openbravo ERPA. Platformpublic2013-07-09 08:522015-03-18 08:59
immediatemajorhave not tried
30Professional Appliance
0024289: Retrieving attachments API Change
API change to change the attachment model. Earlier attachments were stored in this format, tableId-recordId. Now it will changed as per the specifications in alternate 2 in issue [^] It a critical change that would affect java process that uses the earlier format to access the attachments. For existing attachments in the old model, it will be retrieved and can be downloaded/deleted from the Application as before.
Try to created more than attachments for more than 32K records
No tags attached.
related to design defect 00206233.0MP25 closed shankarb 32K limit for attachments 
Issue History
2013-07-09 08:52shankarbNew Issue
2013-07-09 08:52shankarbAssigned To => dmitry_mezentsev
2013-07-09 08:52shankarbModules => Core
2013-07-09 08:52shankarbTriggers an Emergency Pack => No
2013-07-11 13:35dmitry_mezentsevNote Added: 0059950
2013-07-11 13:35dmitry_mezentsevAssigned Todmitry_mezentsev => shankarb
2013-07-13 08:54shankarbStatusnew => scheduled
2013-07-13 08:54shankarbfix_in_branch => pi
2013-07-13 09:11shankarbRelationship addedrelated to 0020623
2013-07-13 09:16hgbotCheckin
2013-07-13 09:16hgbotNote Added: 0059962
2013-07-13 09:16hgbotStatusscheduled => resolved
2013-07-13 09:16hgbotResolutionopen => fixed
2013-07-13 09:16hgbotFixed in SCM revision => [^]
2013-07-13 09:17shankarbReview Assigned To => shankarb
2013-07-13 09:17shankarbNote Added: 0059963
2013-07-13 09:17shankarbStatusresolved => closed
2013-07-13 09:17shankarbFixed in Version => 3.0MP26
2013-07-16 14:26hudsonbotCheckin
2013-07-16 14:26hudsonbotNote Added: 0060040
2015-03-18 08:59alostaleRelationship addedrelated to 0028842
2015-03-18 08:59alostaleRelationship deletedrelated to 0028842

2013-07-11 13:35   
Approved with the comment that backward compatibility mode should be clearly explained in the API change description.
2013-07-13 09:16   
Repository: erp/devel/pi
Changeset: bed326b6ddf6f08b10cf22cd7403aff84c0e3750
Author: Shankar Balachandran <shankar.balachandran <at>>
Date: Thu Jul 11 11:00:28 2013 +0530
URL: [^]

Fixes Issue 0020623, Fixes Issue 24289: 32K limit for attachments

The attachment model has been changed as explained in the wiki[1].
A new ant task has been added to migrate attachments from old model to new model.

[1] [^]

M build.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/
M src-db/database/model/tables/C_FILE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/erpCommon/businessUtility/
M src/org/openbravo/erpCommon/businessUtility/TabAttachments_data.xsql
M src/org/openbravo/erpCommon/utility/reporting/
A src/org/openbravo/erpCommon/utility/
2013-07-13 09:17   
API change has been approved and appropriate description has been added to the API changes wiki.
2013-07-16 14:26   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: [^]

Maturity status: Test