Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023636Openbravo ERPZ. Otherspublic2013-04-25 12:102013-06-11 09:22
jecharri 
jecharri 
immediatecriticalalways
closedfixed 
5
 
3.0MP233.0MP24 
egoitz
Google Chrome
Core
No
0023636: int-3.0-api fails because I need to add a new constraint
Due to this issue

https://issues.openbravo.com/view.php?id=23164 [^]

I have to make an api change. These are the changes:

https://code.openbravo.com/erp/devel/pi/rev/0136b85e15e3578edfdc9173e7d479360abcb005 [^]

I have pushed the change to int and this is the failure:
http://builds.openbravo.com/job/int-api/3916/console [^]

-The changes are the followings:
I have added a new contraint. The contraint checks that the price list, name of the price list version and valid from date are unique.

- The risk of this api change is low because of the following reason:
It is not usefull to have two ore more price list versions with the same name and same valid from date inside one price list. Why? because the system is going to take into account only one. Also I have created a build validation to check it in the rebuild.
-
No tags attached.
Issue History
2013-04-25 12:10jecharriNew Issue
2013-04-25 12:10jecharriAssigned To => iciordia
2013-04-25 12:10jecharriWeb browser => Google Chrome
2013-04-25 12:10jecharriModules => Core
2013-04-25 12:10jecharriTriggers an Emergency Pack => No
2013-04-29 17:21jonalegriaesarteAssigned Toiciordia => dmitry_mezentsev
2013-04-30 13:14jecharriIssue cloned0023696
2013-04-30 19:53dmitry_mezentsevNote Added: 0058377
2013-04-30 19:53dmitry_mezentsevAssigned Todmitry_mezentsev => jecharri
2013-05-02 15:57hgbotCheckin
2013-05-02 15:57hgbotNote Added: 0058413
2013-05-02 15:57hgbotStatusnew => resolved
2013-05-02 15:57hgbotResolutionopen => fixed
2013-05-02 15:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/f3b06bd59f7a13ab643f3e53f5a3c100049d4227 [^]
2013-06-11 09:22egoitzReview Assigned To => egoitz
2013-06-11 09:22egoitzStatusresolved => closed
2013-06-11 09:22egoitzFixed in Version => 3.0MP24

Notes
(0058377)
dmitry_mezentsev   
2013-04-30 19:53   
Accepted.
(0058413)
hgbot   
2013-05-02 15:57   
Repository: erp/devel/api-checks
Changeset: f3b06bd59f7a13ab643f3e53f5a3c100049d4227
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu May 02 15:56:51 2013 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/f3b06bd59f7a13ab643f3e53f5a3c100049d4227 [^]

Fixes issue 023636: int-3.0-api fails because I need to add a new constraint

---
M model/src-db/database/model/tables/M_PRICELIST_VERSION.xml
---