Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0052064Openbravo ERPB. User interfacepublic2023-04-05 01:062023-05-08 13:30
axelmercado 
AugustoMauch 
normalmajoralways
closedfixed 
5
 
PR23Q3 
Core
No
0052064: Product windows save custom views with errors.
When we save a custom view with a tab containing a configured display logic, it is displayed correctly when entering the view.
1- Have a tab configured with a display logic in the product window.
2- Enter the Product window, select a record and open the tab.
3- Then save the view.
4- Log out and log in again with the user. Open the window and select the saved view.
5- Verify that it is displayed with errors and until you select a record and another tab, it is not fixed.

Example video:https://watch.screencastify.com/v/gJ1DAAIxa3QI6TrlAX4K [^]
No tags attached.
blocks defect 0052424 closed meriem_azaf Spanish translation for new message OBUIApp_SavedViewWithTabDisplayLogic 
blocks defect 0052425 closed frank_gonzalez French translation for new message OBUIApp_SavedViewWithTabDisplayLogic 
Issue History
2023-04-05 01:06axelmercadoNew Issue
2023-04-05 01:06axelmercadoAssigned To => Triage Platform Base
2023-04-05 01:06axelmercadoModules => Core
2023-04-05 01:06axelmercadoTriggers an Emergency Pack => No
2023-04-24 21:53PracticsIssue Monitored: Practics
2023-05-02 15:14hgbotNote Added: 0149133
2023-05-02 16:38AugustoMauchStatusnew => scheduled
2023-05-02 16:38AugustoMauchAssigned ToTriage Platform Base => AugustoMauch
2023-05-08 13:30hgbotResolutionopen => fixed
2023-05-08 13:30hgbotStatusscheduled => closed
2023-05-08 13:30hgbotNote Added: 0149427
2023-05-08 13:30hgbotFixed in Version => PR23Q3
2023-05-08 13:30hgbotNote Added: 0149428
2023-05-11 15:12axelmercadoRelationship addedblocks 0052424
2023-05-11 15:13axelmercadoRelationship addedblocks 0052425

Notes
(0149133)
hgbot   
2023-05-02 15:14   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/869 [^]
(0149427)
hgbot   
2023-05-08 13:30   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/869 [^]
(0149428)
hgbot   
2023-05-08 13:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 4ce898b84c9efe4b674e17f5dfb38f3361eb6eb5
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 08-05-2023 11:08:04
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/4ce898b84c9efe4b674e17f5dfb38f3361eb6eb5 [^]

Fixes ISSUE-52064: Prevent problem when saving views with active tabs with display logic

There is a problem when restoring a saved view that contains a tab that includes display logic, because sometimes the conditions
that were met to make the tab available when saving the view, are no longer met when restoring it, resulting in inconsistencies.

To prevent this problem, we will not allow to store saved views if any active subtab has display logic

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-manage-views.js
M src-db/database/sourcedata/AD_MESSAGE.xml
---