Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0046463Openbravo ERPA. Platformpublic2021-05-03 13:532022-02-01 07:24
cberner 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
Core
No
0046463: ant export.database ignores several tables for some modules
Some tables in several modules are ignored from some recent changes to support dual modules(not sure if the issue is caused by this or some other change).

For example, core2 module can't export OBC2_User_Action records and the info that appears is this:
[java] 23450 [main] INFO org.openbravo.ddlutils.task.ExportDatabase - Ignoring because it belongs to uninstalled optional module: OBC2_USER_ACTION.xml

Probably some other modules have the same problem, pos2 for sure.

There is a workaround until a fix is done:
1. Download this version of dbsourcemanager.jar https://gitlab.com/openbravo/product/openbravo/-/raw/59df028e4084e269b7c57d2fd93d355a9dfb1777/src-db/database/lib/dbsourcemanager.jar [^]
2. Put that file in src-db/database/lib
3. Execute ant export.database after this, it should work fine
1. Install org.openbravo.core2 module
2. Set core2 module in development
3. Add a new record to OBC2_User_Action table
4. Execute ant export.database
5. Check that there's no new record in OBC2_User_Action.xml sourcedata for core2 module and this message appears in terminal:
[java] 23450 [main] INFO org.openbravo.ddlutils.task.ExportDatabase - Ignoring because it belongs to uninstalled optional module: OBC2_USER_ACTION.xml
No tags attached.
Issue History
2021-05-03 13:53cbernerNew Issue
2021-05-03 13:53cbernerAssigned To => AugustoMauch
2021-05-03 13:53cbernerModules => Core
2021-05-03 13:53cbernerTriggers an Emergency Pack => No
2022-02-01 07:24alostaleAssigned ToAugustoMauch => Triage Platform Base

There are no notes attached to this issue.