Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009809Openbravo ERPZ. Otherspublic2009-07-08 14:382009-07-22 00:00
shuehner 
alostale 
urgentmajorhave not tried
closedfixed 
5
pi 
2.50MP3 
Core
No
0009809: API model check disallows addition of new mandatory columns. But this possibility (with compatibility) was added recently
A recent change in dbsourcemanager allows addition of new mandatory columns if they specify a default value/onCreateDefault.

The api model check needs to be changed to not complain about the mandatory columns anymore, if they provide a default value/onCreateDefault)
See model check failure in:
http://builds.openbravo.com/job/erp_devel_pi-module-integrity-test/66/console [^]

about:

Added mandatory column: AD_TAB.UIPATTERN
250MP3releasecandidate
Issue History
2009-07-08 14:38shuehnerNew Issue
2009-07-08 14:38shuehnerAssigned To => alostale
2009-07-09 13:20hgbotCheckin
2009-07-09 13:20hgbotNote Added: 0018054
2009-07-09 13:20hgbotStatusnew => resolved
2009-07-09 13:20hgbotResolutionopen => fixed
2009-07-09 13:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c2fd913e6a9c92f7b8abf2fcfb6f19db516facea [^]
2009-07-21 16:24psarobeFixed in Version => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-21 17:11psarobeStatusresolved => closed
2009-07-22 00:00anonymoussf_bug_id0 => 2825059

Notes
(0018054)
hgbot   
2009-07-09 13:20   
Repository: erp/devel/pi
Changeset: c2fd913e6a9c92f7b8abf2fcfb6f19db516facea
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jul 09 13:19:35 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c2fd913e6a9c92f7b8abf2fcfb6f19db516facea [^]

Fixed issues in API model check:
  -fixed issue 0009765 API model check reports wrong change (two fields as swapped in the output
  -fixed issue 0009809 API model check disallows addition of new mandatory columns. But this possibility (with compatibility) was added recently
  -fixed issue 0009808 API model check: reports false positive when a column is added to an existing unique constraint.

---
M src-db/database/lib/dbsourcemanager.jar
---