Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036865Openbravo ERPA. Platformpublic2017-09-15 12:342017-09-26 19:35
caristu 
inigosanchez 
highminoralways
closedduplicate 
5
 
 
caristu
Core
No
0036865: false DB modified positive detected after compile.complete having the activiti module
A false DB modified positive detected after compile.complete having the activiti module:

[java] 28219 ERROR - Database has local changes. Update.database will not be done. You should export your changed modules before doing update.database, so that your Application Dictionary changes are preserved.
     [java] Database has local changes. Update.database not done.
     [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:161)
     [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86)
     [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:57)
     [java] Exception in thread "main" Database has local changes. Update.database not done.
     [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:294)
     [java] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:86)
     [java] at org.openbravo.ddlutils.task.AlterDatabaseJava.main(AlterDatabaseJava.java:57)
     [java] Caused by: Database has local changes. Update.database not done.
     [java] at org.openbravo.ddlutils.task.AlterDatabaseDataAll.doExecute(AlterDatabaseDataAll.java:161)
     [java] ... 2 more
1. Add the activity[1] module into the modules folder. This module contains an exclude filter and a modulescript that creates some db tables.
2. Execute install.source task.
3. Set core in development: UPDATE ad_module SET isindevelopment='Y' WHERE ad_module_id ='0';
4. Execute compile.complete
5. Execute update.database

[1] http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/ForgeModuleDetail/Openbravo-Activiti [^]
No tags attached.
duplicate of defect 0036112 closed inigosanchez excludeFilter + manual db object creation does not work when installing module during install.source 
Issue History
2017-09-15 12:34caristuNew Issue
2017-09-15 12:34caristuAssigned To => platform
2017-09-15 12:34caristuModules => Core
2017-09-15 12:34caristuTriggers an Emergency Pack => No
2017-09-15 12:35caristuRelationship addedrelated to 0036112
2017-09-15 12:35caristuNote Added: 0099070
2017-09-18 10:40caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15915#r15915
2017-09-18 13:44inigosanchezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15922#r15922
2017-09-18 13:44inigosanchezStatusnew => scheduled
2017-09-18 13:44inigosanchezAssigned Toplatform => inigosanchez
2017-09-18 13:49inigosanchezReview Assigned To => caristu
2017-09-18 13:49inigosanchezRelationship replacedduplicate of 0036112
2017-09-18 13:49inigosanchezNote Added: 0099110
2017-09-18 13:49inigosanchezStatusscheduled => closed
2017-09-18 13:49inigosanchezResolutionopen => duplicate
2017-09-18 14:07caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15923#r15923
2017-09-26 19:35caristuSummaryfalse DB modified positive detected after compile.complete having a module that includes an exclude filter => false DB modified positive detected after compile.complete having the activiti module
2017-09-26 19:35caristuDescription Updatedbug_revision_view_page.php?rev_id=15997#r15997
2017-09-26 19:35caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15998#r15998

Notes
(0099070)
caristu   
2017-09-15 12:35   
This issue may be a duplicate of 0036112
(0099110)
inigosanchez   
2017-09-18 13:49   
This issue is duplicated of 0036112.

Now the CheckSum is updated properly on install.source task and the fix of 0036112 solved this reported problem.

Now, It is tested the reported flow and the error is not raised anymore.