Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024289Openbravo ERPA. Platformpublic2013-07-09 08:522015-03-18 08:59
shankarb 
shankarb 
immediatemajorhave not tried
closedfixed 
30Professional Appliance
 
3.0MP26 
shankarb
Core
No
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 https://issues.openbravo.com/view.php?id=20623. [^] 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 => http://code.openbravo.com/erp/devel/pi/rev/bed326b6ddf6f08b10cf22cd7403aff84c0e3750 [^]
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

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

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] http://wiki.openbravo.com/wiki/Attachments [^]

---
M build.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/AttachmentsAH.java
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/TabAttachments.java
M src/org/openbravo/erpCommon/businessUtility/TabAttachments_data.xsql
M src/org/openbravo/erpCommon/utility/reporting/ReportManager.java
A src/org/openbravo/erpCommon/utility/MigrateAttachments.java
---
(0059963)
shankarb   
2013-07-13 09:17   
API change has been approved and appropriate description has been added to the API changes wiki.
(0060040)
hudsonbot   
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: https://code.openbravo.com/erp/devel/main/rev/9a5d5983399f [^]

Maturity status: Test