Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050058
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2022-08-25 10:032022-09-01 17:22
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityurgentResolutionfixedFixed in VersionPR22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050058: Warnings appear in the console when exporting a table to a module through naming exceptions

DescriptionWarnings appear in the console when exporting a table to a module through naming exceptions
Steps To Reproduce1) Go to the [Module] window
2) Select a module for example: org.openbravo.mobile.core
3) Switch to the naming exception subtab and create a new record:
  - DB Object type table
  - Object name OBPOS_Print_Template
4) Go to the [Tables and Columns] window and change the module field of the header and the columns of the OBPOS_Print_Template table to the module selected in step 2).
5) ant export.database. The export tasks is completed successfully but several validations warnings appear:

     [java] 29517 [main] WARN org.openbravo.ddlutils.task.ExportDatabase - +++++++++++++++++++++++++++++++++++++++++++++++++++
     [java] 29517 [main] WARN org.openbravo.ddlutils.task.ExportDatabase - Warnings for Validation type: INCORRECT_FK_NAME
     [java] 29517 [main] WARN org.openbravo.ddlutils.task.ExportDatabase - +++++++++++++++++++++++++++++++++++++++++++++++++++
     [java] 29517 [main] WARN org.openbravo.ddlutils.task.ExportDatabase - Table OBPOS_PRINT_TEMPLATE has foreign key named OBPOS_PRINTTEMPLATE_CLIENT, which does not starts by module's DBPrefix.
     [java] 29517 [main] WARN org.openbravo.ddlutils.task.ExportDatabase - Table OBPOS_PRINT_TEMPLATE has foreign key named OBPOS_PRINTTEMPLATE_MODULE, which does not starts by module's DBPrefix.
     [java] 29517 [main] WARN org.openbravo.ddlutils.task.ExportDatabase - Table OBPOS_PRINT_TEMPLATE has foreign key named OBPOS_PRINTTEMPLATE_ORG, which does not starts by module's DBPrefix.

Proposed SolutionDo not show those warnings for the objects included as naming exceptions.

Note that these warnings still apply for the objects NOT included in the naming exceptions.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0045785 closedRetail Retail Modules Move hardware manager communication API to mobile.core 

-  Notes
(0140590)
hgbot (developer)
2022-09-01 08:39

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/698 [^]
(0140612)
hgbot (developer)
2022-09-01 17:22

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 236b96a040c437229df58aef88a22db85b142fce
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 01-09-2022 15:22:51
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/236b96a040c437229df58aef88a22db85b142fce [^]

fixes ISSUE-50058: skip name checking for tables with naming exception

---
M src/org/openbravo/service/system/DatabaseValidator.java
---
(0140613)
hgbot (developer)
2022-09-01 17:22

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/698 [^]

- Issue History
Date Modified Username Field Change
2022-08-25 10:03 caristu New Issue
2022-08-25 10:03 caristu Assigned To => Triage Platform Base
2022-08-25 10:03 caristu Modules => Core
2022-08-25 10:03 caristu Triggers an Emergency Pack => No
2022-08-25 10:04 caristu Relationship added blocks 0045785
2022-09-01 08:39 hgbot Note Added: 0140590
2022-09-01 09:40 caristu Assigned To Triage Platform Base => caristu
2022-09-01 09:40 caristu Category Y. DBSourceManager => A. Platform
2022-09-01 11:00 caristu Proposed Solution updated
2022-09-01 17:22 hgbot Resolution open => fixed
2022-09-01 17:22 hgbot Status new => closed
2022-09-01 17:22 hgbot Fixed in Version => PR22Q4
2022-09-01 17:22 hgbot Note Added: 0140612
2022-09-01 17:22 hgbot Note Added: 0140613


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker