details: https://code.openbravo.com/erp/devel/pi/rev/0e8f0e82bcd9 changeset: 32766:0e8f0e82bcd9 user: Inigo Sanchez <inigo.sanchez <at> openbravo.com> date: Thu Sep 21 14:53:58 2017 +0200 summary: Fixed issue 36902: Update.database+configScript fails under some circumstances
The problem was that update.database task fails under some circumstances if a model change is defined in a configScript file. The problem has been found trying to update the database in an instance with a columnSizeChange defined in the configScript file. The problem was introduced in these improvements of DBSM sources (0036137). Before these changesets on update.database task, the ModelChanges had been applied before and after the platform.alterTables method was invoked. After these improvements were introduced into the distribution, the ModelChanges had only applied after the platform.alterTables method was invoked. (Only once) The problem has been resolved by take into account this situation. Now the model changes are applied (Data changes too) before platform.alterTables method is invoked in order to ensures that when any table is recreated, all the model changes are applied properly. diffstat: src-db/database/lib/dbsourcemanager.jar | 0 1 files changed, 0 insertions(+), 0 deletions(-) diffs (2 lines): diff -r 053c21c0408a -r 0e8f0e82bcd9 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 Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits