Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0051331 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2023-01-11 15:36 | 2023-01-11 15:44 | |||||||
Reporter | alostale | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | 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 | 0051331: IndexesTest does not check FKs from external modules | |||||||||||
Description | IndexesTest, that looks for missing indexes in tables used in subtabs, does not take into account FKs if the column is added from a different module than the table. | |||||||||||
Steps To Reproduce | 1. Create a new module with some dbprefix (ie. TEST) 2. In that module define a FK column in a table existing in some other module (ie. AD_ALERT.EM_TEST_C_ORDER_ID) 3. Create a subtab making use of that column. (ie. Sales Order > Alert) 4. Run IndexesTest Got: no error Expected: the test should fail as there is no index in the new FK column | |||||||||||
Proposed Solution | Current query depends on some compat ORA-PG view, which makes things slow and complicated. There might no need to used this, we could be PG compatible only if we skip the test in ORA. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0145262) alostale (manager) 2023-01-11 15:37 |
See https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1379#note_1235794851 [^] |
(0145263) alostale (manager) 2023-01-11 15:44 |
Before merging this fix, we'd need to ensure CI for all mods is not completely broken. |
Issue History | |||
Date Modified | Username | Field | Change |
2023-01-11 15:36 | alostale | New Issue | |
2023-01-11 15:36 | alostale | Assigned To | => Triage Platform Base |
2023-01-11 15:36 | alostale | Modules | => Core |
2023-01-11 15:36 | alostale | Triggers an Emergency Pack | => No |
2023-01-11 15:37 | alostale | Note Added: 0145262 | |
2023-01-11 15:43 | alostale | Proposed Solution updated | |
2023-01-11 15:44 | alostale | Note Added: 0145263 |
Copyright © 2000 - 2009 MantisBT Group |