Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034138Openbravo ERPY. DBSourceManagerpublic2016-09-29 19:232016-09-30 11:46
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
3.0PR16Q4 
alostale
Core
No
0034138: Create a Test Suite for Configuration Scripts
Currently DB Source Manager testing infrastructure is not covering Configuration Scripts functionality.

It would be nice to have a Test Suite to cover it, as it will help when adding new export changes (for example index removals, see issue 0034037) and also when doing refactors in some central parts of the DB Source Manager where config scripts are involved (like update.database, install.source)
In description
No tags attached.
related to design defect 0034037 closed platform Is not possible to export the removal of an index into a configuration script 
related to feature request 0032211 closed caristu support for partial indexes 
related to defect 0034131 closed alostale can't export database in verbose mode if there's a config script changing a column to nullable 
related to defect 0034144 closed caristu Prevent NPE on RemoveTriggerChange toString() method 
Issue History
2016-09-29 19:23caristuNew Issue
2016-09-29 19:23caristuAssigned To => caristu
2016-09-29 19:23caristuModules => Core
2016-09-29 19:23caristuTriggers an Emergency Pack => No
2016-09-29 19:23caristuRelationship addedrelated to 0034037
2016-09-29 19:27caristuRelationship addedrelated to 0032211
2016-09-30 09:57hgbotCheckin
2016-09-30 09:57hgbotNote Added: 0090406
2016-09-30 09:57hgbotStatusnew => resolved
2016-09-30 09:57hgbotResolutionopen => fixed
2016-09-30 09:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/dbsm-main/rev/e99053627f4098e9aef0f9161bb8edc4264b5b22 [^]
2016-09-30 09:57caristuReview Assigned To => alostale
2016-09-30 09:58caristuIssue Monitored: alostale
2016-09-30 09:58caristuRelationship addedrelated to 0034131
2016-09-30 10:12caristuRelationship addedrelated to 0034144
2016-09-30 11:46alostaleNote Added: 0090415
2016-09-30 11:46alostaleStatusresolved => closed
2016-09-30 11:46alostaleFixed in Version => 3.0PR16Q4

Notes
(0090406)
hgbot   
2016-09-30 09:57   
Repository: erp/devel/dbsm-main
Changeset: e99053627f4098e9aef0f9161bb8edc4264b5b22
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Sep 30 09:56:32 2016 +0200
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/e99053627f4098e9aef0f9161bb8edc4264b5b22 [^]

fixes issue 34138: Create a Test Suite for Configuration Scripts

---
M src-test/src/org/openbravo/dbsm/test/DBSMTestSuite.java
M src-test/src/org/openbravo/dbsm/test/base/DbsmTest.java
A src-test/data/configScripts/TEST.xml
A src-test/model/configScripts/BASE_MODEL.xml
A src-test/model/configScripts/configScript.xml
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptBaseTest.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptColumnDataChange.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptColumnRequiredChange.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptColumnSizeChange.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptRemoveCheckChange.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptRemoveTriggerChange.java
A src-test/src/org/openbravo/dbsm/test/configscript/ConfigScriptSuite.java
---
(0090415)
alostale   
2016-09-30 11:46   
code reviewed