Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0042026Openbravo ERPA. Platformpublic2019-10-15 14:202022-02-01 08:07
javietxe 
Triage Platform Base 
normalmajorhave not tried
newopen 
5
 
 
Core
No
0042026: Selectors without a foreign key creates a warning in the export.database
There are some times that there is a need create a selector pointing to a field that cannot be a foreign key (for example a field from a view).

While exporting database, a warning is shown:

  [java] 66491 [main] WARN org.openbravo.ddlutils.task.ExportDatabase - Foreign Key Column BVFLD_TERRITORYDATA.EAN_Code is not part of a foreign key constraint.

We need to be able to define in these cases that the warning is not useful and to not show this warning again.
- Create a simple view
- Create a selector pointing to any field of that view.
- Export database.

If you need, we have it already an example in this module (you can ask me for permission)
https://bitbucket.org/gpscode/bv_com.openbravo.france.bv.fields [^]

In the revision dce9ad4bb837b583700533a2bb026d3d2d142ec4
No tags attached.
Issue History
2019-10-15 14:20javietxeNew Issue
2019-10-15 14:20javietxeAssigned To => platform
2019-10-15 14:20javietxeModules => Core
2019-10-15 14:20javietxeTriggers an Emergency Pack => No
2022-02-01 08:07alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.