Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0057221Openbravo ERPY. DBSourceManagerpublic2024-11-21 11:102024-11-21 11:10
shuehner 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
No
Core
No
0057221: Naming exception defined for type=column is also applied for foreign-keys
Having defined a Naming Exception (ad_exception) for type COLUMN with a specific name.
It is also applied on exporting foreign-key in case foreign-key name is identical to the column name in the exception.

Looks like the type field from ad_exception is not applied when reading foreign-keys.
Using backoffice context + org.openbravo.retail.config module version 24Q4
set core module into development
Add naming exception to module 0 with tablename AD_ORG and object name EM_OBRETCO_CROSS_STORE and type Column

ant export.database -Dvalidate.model=false

Review diff of ad_org table definition in core module
Notice that not only the ad_org.EM_OBRETCO_CROSS_STORE column is exported into the core module but also a foreign-key definition with name EM_OBRETCO_CROSS_STORE
No tags attached.
Issue History
2024-11-21 11:10shuehnerNew Issue
2024-11-21 11:10shuehnerAssigned To => Triage Platform Base
2024-11-21 11:10shuehnerOBNetwork customer => No
2024-11-21 11:10shuehnerModules => Core
2024-11-21 11:10shuehnerTriggers an Emergency Pack => No

There are no notes attached to this issue.