Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027724Openbravo ERP00. Application dictionarypublic2014-10-01 16:452014-10-02 10:55
gorkaion 
dmitry_mezentsev 
immediateminorN/A
closedfixed 
5
pi 
 
gorkaion
Core
No
0027724: Api break new mandatory column added without default or oncreate default
There is a new column (dateacct) in M_Transaction_Cost table that does not have a default value. The column is initialized by a ModuleScript but as there is no default any module doing insertions will fail.

 [checkAPI]
 [checkAPI] 17790 ERROR - +++++++++++++++++++++++++++++++++++++++++++++++++++
 [checkAPI] 17799 ERROR - Errors in API model validation
 [checkAPI] 17807 ERROR - +++++++++++++++++++++++++++++++++++++++++++++++++++
 [checkAPI] 17815 ERROR - Added mandatory column without default or onCreateDefault: M_TRANSACTION_COST.DATEACCT
 [checkAPI] 17823 ERROR -
N/A
No tags attached.
Issue History
2014-10-01 16:45gorkaionNew Issue
2014-10-01 16:45gorkaionAssigned To => dmitry_mezentsev
2014-10-01 16:45gorkaionModules => Core
2014-10-01 16:45gorkaionTriggers an Emergency Pack => No
2014-10-01 16:47gorkaionDescription Updatedbug_revision_view_page.php?rev_id=6710#r6710
2014-10-01 18:15hgbotCheckin
2014-10-01 18:15hgbotNote Added: 0070622
2014-10-01 18:15hgbotStatusnew => resolved
2014-10-01 18:15hgbotResolutionopen => fixed
2014-10-01 18:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/33396e0539c5d81ec795f34e580d8fbb443ac2e7 [^]
2014-10-02 10:47dmitry_mezentsevNote Added: 0070651
2014-10-02 10:55gorkaionReview Assigned To => gorkaion
2014-10-02 10:55gorkaionNote Added: 0070652
2014-10-02 10:55gorkaionStatusresolved => closed

Notes
(0070622)
hgbot   
2014-10-01 18:15   
Repository: erp/devel/api-checks
Changeset: 33396e0539c5d81ec795f34e580d8fbb443ac2e7
Author: Gorka Ion DamiƔn <gorkaion.damian <at> openbravo.com>
Date: Wed Oct 01 16:53:21 2014 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/33396e0539c5d81ec795f34e580d8fbb443ac2e7 [^]

Fixed issue 27724.Add mandatory column M_Transaction_Cost.Dateacct

---
M model/src-db/database/model/tables/M_TRANSACTION_COST.xml
---
(0070651)
dmitry_mezentsev   
2014-10-02 10:47   
Approved.
(0070652)
gorkaion   
2014-10-02 10:55   
Integration api check passed successfully