fixed BUG-43175 fixed BUG-43183: log local changes + exclude .git
authorAsier Lostalé <asier.lostale@openbravo.com>
Tue, 11 Feb 2020 10:32:39 +0100
changeset 37057 529930a409c4
parent 37056 afb90bc146c1
child 37069 7362e70c9c85
child 37244 9c6833fe6a5f
fixed BUG 43175 fixed BUG 43183: log local changes + exclude .git

dsm jar including fixes for:

BUG 43175:
When updating database having local changes in AD, the tables with
changes were not logged.

While project to upgrade to log4j2 the API, old API passing old logger
was kept but it become unusable as null logger was used.

Old API has been removed.

BUG 43183:
Exclude .git directory when reading DB xml files
src-db/database/lib/dbsourcemanager.jar
src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
Binary file src-db/database/lib/dbsourcemanager.jar has changed
--- a/src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java	Thu Feb 06 08:21:13 2020 +0530
+++ b/src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java	Tue Feb 11 10:32:39 2020 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2008-2019 Openbravo SLU
+ * All portions are Copyright (C) 2008-2020 Openbravo SLU
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -2705,7 +2705,7 @@
     OBDataset ad = new OBDataset(platform, db, "AD");
 
     List<String> tablesModified = new ArrayList<>();
-    boolean datachange = ad.hasChanged(connection, super.log4j, tablesModified);
+    boolean datachange = ad.hasChanged(connection, tablesModified);
     if (datachange) {
       if (localChanges == null) {
         localChanges = Utility.messageBD(this, "ErrorLocalChanges", vars.getLanguage());