Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009765Openbravo ERPA. Platformpublic2009-07-03 15:352009-07-22 00:00
shuehner 
alostale 
urgentminorhave not tried
closedfixed 
5
pi 
2.50MP3 
Core
No
0009765: API model check reports wrong change (two fields as swapped in the output
The api model check does swap to fields in its output:

In one case a field was changed from varchar size 10 to timestamp 7.

The output of the model check is:
 Column type change from date to NVARCHAR
 Column size decreased from 10 to 7: column: MA_INCIDENCE.STRTIME

The old and new column type are swapped in the output confusing a reader of the report. the change was NVARCHAR -> date and not date -> NVARCHAR.
250MP3releasecandidate
Issue History
2009-07-03 15:35shuehnerNew Issue
2009-07-03 15:35shuehnerAssigned To => alostale
2009-07-09 11:42alostalePrioritynormal => urgent
2009-07-09 13:20hgbotCheckin
2009-07-09 13:20hgbotNote Added: 0018053
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 => 2825051

Notes
(0018053)
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
---