Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050058 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2022-08-25 10:03 | 2022-09-01 17:22 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | PR22Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050058: Warnings appear in the console when exporting a table to a module through naming exceptions | |||||||
Description | Warnings appear in the console when exporting a table to a module through naming exceptions | |||||||
Steps To Reproduce | 1) 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 Solution | Do 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
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 |