Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011335Openbravo ERPZ. Otherspublic2009-11-12 13:552009-11-21 00:00
shuehner 
harikrishnan 
immediatecriticalhave not tried
closedfixed 
5
pi 
 
No
Core
No
0011335: api check build 204 fails
This api check build fails:

http://builds.openbravo.com/job/erp_devel_pi-module-integrity-test/204/console [^]

+++++++++++++++++++++++++++++++++++++++++++++++++++
  Errors in API model validation
+++++++++++++++++++++++++++++++++++++++++++++++++++
  Unique constraint added: table: MA_PROCESSPLAN - Unique constraint: MA_PROCESSPLAN_VALUE


No tags attached.
related to defect 00111062.50MP9 closed harikrishnan It is possible to create two process plan with same identifier 
Issue History
2009-11-12 13:55shuehnerNew Issue
2009-11-12 13:55shuehnerAssigned To => rafaroda
2009-11-12 13:55shuehnerOBNetwork customer => No
2009-11-12 13:57shuehnerRelationship addedrelated to 0011106
2009-11-12 13:57shuehnerAssigned Torafaroda => harikrishnan
2009-11-12 14:02harikrishnanAssigned Toharikrishnan => pjuvara
2009-11-12 14:02harikrishnanNote Added: 0021775
2009-11-12 14:32pjuvaraStatusnew => scheduled
2009-11-12 14:32pjuvaraNote Added: 0021777
2009-11-12 14:32pjuvaraAssigned Topjuvara => harikrishnan
2009-11-12 14:32pjuvarafix_in_branch => pi
2009-11-12 15:14hgbotCheckin
2009-11-12 15:14hgbotNote Added: 0021778
2009-11-12 15:14hgbotStatusscheduled => resolved
2009-11-12 15:14hgbotResolutionopen => fixed
2009-11-12 15:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/1137934c55bf01fa97f93c5714488f6dad86fbc1 [^]
2009-11-20 10:06rafarodaNote Added: 0022048
2009-11-20 10:06rafarodaStatusresolved => closed
2009-11-20 16:05psarobeNote Added: 0022068
2009-11-20 16:05psarobeStatusclosed => new
2009-11-20 16:05psarobeResolutionfixed => open
2009-11-20 16:06psarobeNote Added: 0022069
2009-11-20 16:06psarobeStatusnew => scheduled
2009-11-20 19:01hgbotCheckin
2009-11-20 19:01hgbotNote Added: 0022079
2009-11-20 19:01hgbotStatusscheduled => resolved
2009-11-20 19:01hgbotResolutionopen => fixed
2009-11-20 19:01hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/api-checks/rev/1137934c55bf01fa97f93c5714488f6dad86fbc1 [^] => http://code.openbravo.com/erp/devel/api-checks/rev/21252857d1ccec7cc93c0080d9beecc434899070 [^]
2009-11-20 19:03rafarodaNote Added: 0022081
2009-11-20 19:03rafarodaStatusresolved => closed
2009-11-21 00:00anonymoussf_bug_id0 => 2901474

Notes
(0021775)
harikrishnan   
2009-11-12 14:02   
Paolo,

i have made a fix by adding unique constraint to a column in database.This breaks the API consistency.Im waiting for your approval to fix it in the API.

Thanks

Hari
(0021777)
pjuvara   
2009-11-12 14:32   
API violation approved.

Please publish notification and progress with the fix.
(0021778)
hgbot   
2009-11-12 15:14   
Repository: erp/devel/api-checks
Changeset: 1137934c55bf01fa97f93c5714488f6dad86fbc1
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Nov 12 19:42:38 2009 +0530
URL: http://code.openbravo.com/erp/devel/api-checks/rev/1137934c55bf01fa97f93c5714488f6dad86fbc1 [^]

Fixes Issue 11335: api check build 204 fails.

---
M model/model/tables/MA_PROCESSPLAN.xml
---
(0022048)
rafaroda   
2009-11-20 10:06   
Verified in the API.
(0022068)
psarobe   
2009-11-20 16:05   
Hi,

After talking with Paolo the solution is not correct. The unique key constraint is not correct. It has to be

AD_ORG_ID, VALUE

Please change it

Thanks
(0022069)
psarobe   
2009-11-20 16:06   
Reminder sent to: harikrishnan

Please change the unique constraint
(0022079)
hgbot   
2009-11-20 19:01   
Repository: erp/devel/api-checks
Changeset: 21252857d1ccec7cc93c0080d9beecc434899070
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Fri Nov 20 03:38:16 2009 +0100
URL: http://code.openbravo.com/erp/devel/api-checks/rev/21252857d1ccec7cc93c0080d9beecc434899070 [^]

Fixes issue 11335 API changed to unique Org and Value

---
M model/model/tables/MA_PROCESSPLAN.xml
---
(0022081)
rafaroda   
2009-11-20 19:03   
API change done.