Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0043579Openbravo ERPB. User interfacepublic2020-03-25 17:132020-04-06 15:50
joniturralde93 
alostale 
immediateminoralways
closedfixed 
5
 
3.0PR20Q2 
caristu
Core
Production - Confirmed Stable
3.0PR19Q3
https://gitlab.com/openbravo/product/openbravo/-/commit/1894bfea7d6#7a285d1549149911e055ca745223e6079626867e [^]
No
0043579: 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.
depends on backport 00435843.0PR20Q1.1 closed alostale Alerts don't show in the main button, only in alert management window 
depends on backport 00435853.0PR19Q4.4 closed alostale Alerts don't show in the main button, only in alert management window 
caused by defect 0040580 closed alostale AlertActionHandler.countActiveAlerts is not using bind-parameters 
Issue History
2020-03-25 17:13joniturralde93New Issue
2020-03-25 17:13joniturralde93Assigned To => platform
2020-03-25 17:13joniturralde93Modules => Core
2020-03-25 17:13joniturralde93Resolution time => 1586901600
2020-03-25 17:13joniturralde93Regression level => Production - Confirmed Stable
2020-03-25 17:13joniturralde93Triggers an Emergency Pack => No
2020-03-25 17:25joniturralde93Regression introduced in release => 3.0PR19Q2
2020-03-25 17:25joniturralde93Description Updatedbug_revision_view_page.php?rev_id=20618#r20618
2020-03-25 17:25joniturralde93Steps to Reproduce Updatedbug_revision_view_page.php?rev_id=20620#r20620
2020-03-25 17:42joniturralde93Priorityurgent => immediate
2020-03-26 07:17alostaleAssigned Toplatform => alostale
2020-03-26 07:22alostaleRelationship addedcaused by 0040580
2020-03-26 07:36alostaleRegression introduced in release3.0PR19Q2 => 3.0PR19Q3
2020-03-26 07:36alostaleRegression introduced by commit => https://gitlab.com/openbravo/product/openbravo/-/commit/1894bfea7d6#7a285d1549149911e055ca745223e6079626867e [^]
2020-03-26 07:36alostaleDescription Updatedbug_revision_view_page.php?rev_id=20627#r20627
2020-03-26 07:36alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=20628#r20628
2020-03-26 07:36alostaleReview Assigned To => caristu
2020-03-26 07:38alostaleStatusnew => scheduled
2020-03-26 07:51alostaleNote Added: 0118825
2020-03-30 10:12hgbotCheckin
2020-03-30 10:12hgbotNote Added: 0118862
2020-03-30 10:12hgbotStatusscheduled => resolved
2020-03-30 10:12hgbotResolutionopen => fixed
2020-03-30 10:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/26608603ba58017a5ebe0c447082bb5bf164b469 [^]
2020-04-02 08:52caristuNote Added: 0118912
2020-04-02 08:52caristuStatusresolved => closed
2020-04-02 08:53caristuFixed in Version => 3.0PR20Q2
2020-04-06 11:54hgbotCheckin
2020-04-06 11:54hgbotNote Added: 0118976
2020-04-06 11:54hgbotStatusclosed => resolved
2020-04-06 11:54hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/26608603ba58017a5ebe0c447082bb5bf164b469 [^] => http://code.openbravo.com/erp/devel/pi/rev/61c747e233b4c303b1e807d24411e7c448d6db93 [^]
2020-04-06 15:50cbernerNote Added: 0118994
2020-04-06 15:50cbernerStatusresolved => closed

Notes
(0118825)
alostale   
2020-03-26 07:51   
MR: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/52 [^]
(0118862)
hgbot   
2020-03-30 10:12   
Repository: erp/devel/pi
Changeset: 26608603ba58017a5ebe0c447082bb5bf164b469
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 26 07:43:14 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/26608603ba58017a5ebe0c447082bb5bf164b469 [^]

fixed BUG-43579: 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
---
(0118912)
caristu   
2020-04-02 08:52   
MR: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/52 [^]
(0118976)
hgbot   
2020-04-06 11:54   
Repository: erp/devel/pi
Changeset: 61c747e233b4c303b1e807d24411e7c448d6db93
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 26 07:43:14 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/61c747e233b4c303b1e807d24411e7c448d6db93 [^]

fixed BUG-43579: 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
---
(0118994)
cberner   
2020-04-06 15:50   
closed: wrongly reopened