Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0056050Openbravo ERPY. DBSourceManagerpublic2024-07-17 14:162024-07-18 07:35
jgalarza 
Triage Platform Base 
normalminoralways
newopen 
5
 
 
Core
No
0056050: Improve error information when there is a cyclical dependency between modules
We should improve this code to detect cycles and produce a more readable error for the steps. It's acceptable for it to fail, but it would be beneficial if it showed more information about what causes the cycle. Currently only the following line appears repeatedly before failing:

...
     [java] at org.openbravo.ddlutils.util.DBSMOBUtil.isDependant(DBSMOBUtil.java:401)
     [java] at org.openbravo.ddlutils.util.DBSMOBUtil.isDependant(DBSMOBUtil.java:401)
     [java] at org.openbravo.ddlutils.util.DBSMOBUtil.isDependant(DBSMOBUtil.java:401)
...
1- Set Retail API as a Retail Discounts dependency
2- Run ant export.database
3- Run ant update.database -> the task fails. This is correct because after step 1, there is a cyclic dependency between modules. But note that the output is not informing about the reason of the failure.
No tags attached.
Issue History
2024-07-17 14:16jgalarzaNew Issue
2024-07-17 14:16jgalarzaAssigned To => caristu
2024-07-17 14:16jgalarzaModules => Core
2024-07-17 14:16jgalarzaTriggers an Emergency Pack => No
2024-07-17 14:16jgalarzaReproducibilitysometimes => always
2024-07-18 07:30caristuAssigned Tocaristu => Triage Platform Base
2024-07-18 07:30caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28248#r28248
2024-07-18 07:35caristuDescription Updatedbug_revision_view_page.php?rev_id=28250#r28250
2024-07-18 07:35caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28251#r28251

There are no notes attached to this issue.