details: https://code.openbravo.com/erp/devel/pi/rev/d936b7f0882f changeset: 32683:d936b7f0882f user: Inigo Sanchez <inigo.sanchez <at> openbravo.com> date: Thu Sep 14 12:37:20 2017 +0200 summary: Fixes issue 36137: Config scripts are not applied on install.source
The problem was that config scripts could not be applied on install source task at the same way that update.database task. The problem was in ImportSampledata because this task was not be able to load the database model applying the config script files. Now this problem has been fixed because ImportSampledata task read the database model from xml taking into account any model changes defined in the configScript files. Besides, it have been implemented new model changes unsupported till now: RemoveTriggerChange, RemoveIndexChange, ColumnRequiredChange and RemoveCheckChange. This fix introduced also some important changes: -DBSMOBUtil.loadDataStructures method is not executed DBSMOBUtil.applyConfigScripts anymore. -AlterDatabaseDataAll.readDatabaseModel method is take into account model changes defined in configScript files while reading the model from XML files. -CreateXML2SQL task is take into account model changes defined in configScript files. -ImportSampledata task is take into account model changes defined in configScript files. -Now CheckAPIDistribution task is take into account model changes defined in configScript files. diffstat: src-db/database/lib/dbsourcemanager.jar | 0 1 files changed, 0 insertions(+), 0 deletions(-) diffs (2 lines): diff -r 094cb3054f4d -r d936b7f0882f src-db/database/lib/dbsourcemanager.jar Binary file src-db/database/lib/dbsourcemanager.jar has changed ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-commits
