Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0045818 | Openbravo ERP | 00. Application dictionary | public | 2021-01-29 14:08 | 2021-01-29 14:14 | ||||||||||||||
Reporter | shuehner | ||||||||||||||||||
Assigned To | Triage Finance | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||||||||
Status | new | Resolution | open | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0045818: Tracking issue: Modules adding tabs with same tablevel & seqno as an existing tab should be fixed | ||||||||||||||||||
Description | Having 2 tabs with same tablevel and seqno values causes 3 problems a.) The Order in UI is undefined as tabs are ordered by seqno b.) It is not possible to add subtabs having those as parent tabs as sub-tab/parent-tab link is via seqno and this 'double parent' makes it impossible to define which is the 'correct parent' c.) junit test IndexesTest.testSubTabs fails with 'subquery returns more than on row' when trying to calculate 'the' parent (and >1 parent exists. This issue is to track the known cases for maintained modules (from merged.json set) to start checking and fixing those are cases over time. | ||||||||||||||||||
Steps To Reproduce | List which is attached to this issue can be re-recreating by running following query: - Essentially just ad_tab group by ad_window_id, tablevel, seqno - Then adding some extra columns for the output select (select javapackage from ad_module where ad_module.ad_module_id = win.ad_module_id) as win_module, win.ad_window_id, win.isactive, win.name, (select javapackage from ad_module where ad_module.ad_module_id = tab.ad_module_id) as tab_module, tab.isactive, tab.name, tab.tablevel, tab.seqno from ad_window win, ad_tab tab, (select t.ad_window_id, t.tablevel, t.seqno, count(*) from ad_tab t group by t.ad_window_id, t.tablevel, t.seqno having count(*) >1 order by 1,2,3) input where win.ad_window_id=tab.ad_window_id and win.ad_window_id=input.ad_window_id and tab.tablevel = input.tablevel and tab.seqno = input.seqno order by win_module, win.ad_window_id, win.name, tab.tablevel, tab.seqno, tab.name; | ||||||||||||||||||
Proposed Solution | Check each case, select one tab and modifiy its seqno to no longer be conflicting | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | tabs-45818.txt (17,460) 2021-01-29 14:14 https://issues.openbravo.com/file_download.php?file_id=15290&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2021-01-29 14:08 | shuehner | New Issue | |||||||||||||||||
2021-01-29 14:08 | shuehner | Assigned To | => Triage Finance | ||||||||||||||||
2021-01-29 14:08 | shuehner | Modules | => Core | ||||||||||||||||
2021-01-29 14:08 | shuehner | Triggers an Emergency Pack | => No | ||||||||||||||||
2021-01-29 14:08 | shuehner | Relationship added | blocks 0045473 | ||||||||||||||||
2021-01-29 14:14 | shuehner | File Added: tabs-45818.txt | |||||||||||||||||
2021-02-04 09:40 | vmromanos | Relationship added | related to 0045847 |
There are no notes attached to this issue. |