Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0048620Openbravo ERPI. Performancepublic2022-02-17 16:422022-03-02 15:30
sofidossant 
AugustoMauch 
highmajoralways
newopen 
5
pi 
 
Core
No
0048620: Computed column are loaded even if they are inactive in tables and columns
The computed columns are executed when the window loads even if you have them inactive in tables and columns
Just having one computed active and displayed in relation to the window launches all
We have put the log in sql debug and having it inactive we see those computed in the window query.
Attached captures of tables and columns with only one active and the resulting query.
You will be able to see that there is the query of the antiquity column that is inactive and so on with all those that are inactive

STEPS:
1 - Open Openbravo with the "System" role.
2 - Open the table called "C_ORDER" and filter the column with SQLLOGIC.
3 - See that the column is active (leave only one active).
4 - Then filter the fields in the windows called "Sales Order, which are computed column. (search with the name).
5- Check that there is only one column computed in the fields that is active, and it is the one that remains active in point 3.
6 - Activate the log in debug in the Log Management window: org.openbravo.hibernate
7 - Open the window called SALES ORDER with the Admin role, and check the active log 6.

It will verify that you can see the XX computed columns and not just the activated ones.
No tags attached.
? images.tar.xz (859,144) 2022-02-17 16:42
https://issues.openbravo.com/file_download.php?file_id=16640&type=bug
Issue History
2022-02-17 16:42sofidossantNew Issue
2022-02-17 16:42sofidossantAssigned To => AugustoMauch
2022-02-17 16:42sofidossantFile Added: images.tar.xz
2022-02-17 16:42sofidossantModules => Core
2022-02-17 16:42sofidossantTriggers an Emergency Pack => No
2022-02-17 16:45PracticsIssue Monitored: Practics
2022-02-17 17:57sofidossantNote Added: 0135086
2022-02-17 18:12sofidossantSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23684#r23684
2022-03-02 15:29AugustoMauchNote Added: 0135394
2022-03-02 15:29AugustoMauchTypedefect => design defect

Notes
(0135086)
sofidossant   
2022-02-17 17:57   
Add video with steps
https://www.youtube.com/watch?v=orQ31h5szEw&ab_channel=CristianAdrian%7CPracticsBS [^]
(0135394)
AugustoMauch   
2022-03-02 15:29   
Moved to design defect because of the way computed columns currently work. If any computed column is displayed on a grid, all of them will be computed. If one is disabled but any other remains, all of them are executed