Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0043585Openbravo ERPB. User interfacepublic2020-03-25 17:132020-04-02 08:53
joniturralde93 
alostale 
immediateminoralways
closedfixed 
5
 
3.0PR19Q4.43.0PR19Q4.4 
caristu
Core
Production - Confirmed Stable
3.0PR19Q3
https://gitlab.com/openbravo/product/openbravo/-/commit/1894bfea7d6#7a285d1549149911e055ca745223e6079626867e [^]
No
0043585: Alerts don't show in the main button, only in alert management window
Alerts which alert rule is defined in an organization different than * are not counted in the Alert widget in the main window top bar.
1. Create a new alert rule in any organization different than * with this sql query:
SELECT i.c_order_id AS referencekey_id, i.documentno AS record_id, 0 AS ad_role_id, null AS ad_user_id, '' || i.documentno || ' se ha creado.' AS description, 'Y' AS isactive, i.ad_client_id, i.ad_org_id, now() AS created, 0 AS createdby, now() AS updated, 0 AS updatedby FROM c_order i WHERE i.created >= to_date('20-03-2020','dd-MM-yyyy')

2. Create a sales order

3. Create a new process request: Run immediately, alert process. Run the alert process.

4. At the top of the screen, it shows: Alerts (0), however, if you click on it, there is a new alert in the alert management window. The top button won't update by refreshing or waiting.
No tags attached.
blocks defect 0043579 closed alostale Alerts don't show in the main button, only in alert management window 
Issue History
2020-03-26 07:38alostaleTypedefect => backport
2020-03-26 07:38alostaleTarget Version => 3.0PR19Q4.4
2020-03-30 10:31hgbotCheckin
2020-03-30 10:31hgbotNote Added: 0118868
2020-03-30 10:31hgbotStatusscheduled => resolved
2020-03-30 10:31hgbotResolutionopen => fixed
2020-03-30 10:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q4.4/rev/a8d6d54e6b6b9f063f2620f16df3ae5d74df18ee [^]
2020-04-02 08:53caristuNote Added: 0118914
2020-04-02 08:53caristuStatusresolved => closed
2020-04-02 08:53caristuFixed in Version => 3.0PR19Q4.4

Notes
(0118868)
hgbot   
2020-03-30 10:31   
Repository: erp/backports/3.0PR19Q4.4
Changeset: a8d6d54e6b6b9f063f2620f16df3ae5d74df18ee
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 26 07:43:14 2020 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR19Q4.4/rev/a8d6d54e6b6b9f063f2620f16df3ae5d74df18ee [^]

fixed BUG-43585: alerts not counted in main top bar widget

  Alerts defined whose alert rule was defined in an organization
  different than * were not counted in main top bar widget.

  Parameter to set filter out not readeable organizations was
  incorrectly setting clients instead of organizations.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/AlertActionHandler.java
---
(0118914)
caristu   
2020-04-02 08:53   
Reviewed