Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0048867Openbravo ERPB. User interfacepublic2022-03-22 15:442022-03-25 12:36
william_vermersch 
AugustoMauch 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
PR22Q2 
Google Chrome
Core
No
0048867: Message bar not persistent when a message (error/warning/success/...) is displayed
When a message is displayed after a process is run, the message bar is displayed for less than 1 second then automatically closed.

It seems the close function of the messageBar is called to early.

We're facing the problem when a custom process is called and a functional external return message is displayed the customer don't have the time to check why the export was in error.
Connect on the back office.
Go on Business Partner screen.
Select a Business Partner.
Click on Set Currency.
Click on OK
Best solution :

Keep the persistent state like when an edition of row is done.
OR
Allow to configure the delay of displaying.

Acceptable solution : Keep the message displayed for at least 5 seconds.
No tags attached.
causes defect 0048906 closed AugustoMauch Message after completing Reset Accounting process is not displayed 
Issue History
2022-03-22 15:44william_vermerschNew Issue
2022-03-22 15:44william_vermerschAssigned To => Triage Platform Base
2022-03-22 15:44william_vermerschWeb browser => Google Chrome
2022-03-22 15:44william_vermerschModules => Core
2022-03-22 15:44william_vermerschTriggers an Emergency Pack => No
2022-03-23 11:34egoitzWeb browserGoogle Chrome => Google Chrome
2022-03-23 11:37egoitzNote Added: 0135955
2022-03-23 11:50egoitzWeb browserGoogle Chrome => Google Chrome
2022-03-23 18:21AugustoMauchAssigned ToTriage Platform Base => AugustoMauch
2022-03-23 18:21AugustoMauchStatusnew => scheduled
2022-03-24 00:33hgbotNote Added: 0135987
2022-03-25 12:36hgbotResolutionopen => fixed
2022-03-25 12:36hgbotStatusscheduled => closed
2022-03-25 12:36hgbotFixed in Version => PR22Q2
2022-03-25 12:36hgbotNote Added: 0136057
2022-03-25 12:36hgbotNote Added: 0136058
2022-03-28 11:51alostaleRelationship addedcauses 0048906

Notes
(0135955)
egoitz   
2022-03-23 11:37   
- With old processes like the book/ close button, the message is not hidden.
Those are defined as report and process

- The issues seem to be happening in the process definition processes.
(0135987)
hgbot   
2022-03-24 00:33   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/542 [^]
(0136057)
hgbot   
2022-03-25 12:36   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 1764cf37b38731771625e6f6e61a92342b12e07e
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 25-03-2022 11:36:25
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/1764cf37b38731771625e6f6e61a92342b12e07e [^]

Fixes ISSUE-48867: Process messages are not automatically removed

Messages in the message bar are automatically removed when some actions happen (i.e. when the contents of the current view are refreshed). When
a process is executed and its response contains a message we dont want that message automatically hidden, otherwise it will just blink away.

To fix it, we can set the keepOnAutomaticRefresh to true on the messageBar before displaying the message

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js
---
(0136058)
hgbot   
2022-03-25 12:36   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/542 [^]