Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018741Openbravo ERPA. Platformpublic2011-10-10 13:062011-11-03 18:15
alostale 
alostale 
urgentmajorhave not tried
closedfixed 
5
 
 
Core
No
0018741: Alert rule filter clause not working fine in some circumstances
If there is an alert with a filter clause and it has instances, in case current user is not able to see any of these instances because of the filter clause, alert count in the top toolbar is OK, but the user can see all alert instances for that rule in Alert Management window.
-Create an alert rule that populating ad_user_id column
-Set its filter clause as "ad_user_id = @ad_user_id@", so no rows should be shown
-Add as recipient a user for whom there is no alert instance
-Login the application with that user, check in toolbar the count is 0 (correct) but in the UI he can see all the instances.
No tags attached.
Issue History
2011-10-10 13:06alostaleNew Issue
2011-10-10 13:06alostaleAssigned To => alostale
2011-10-10 13:06alostaleModules => Core
2011-10-13 12:55hgbotCheckin
2011-10-13 12:55hgbotNote Added: 0041794
2011-10-13 12:55hgbotStatusnew => resolved
2011-10-13 12:55hgbotResolutionopen => fixed
2011-10-13 12:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e7f45dcbde11bb27a67dd19efa841bb20abaf3d7 [^]
2011-10-18 17:26hudsonbotCheckin
2011-10-18 17:26hudsonbotNote Added: 0041891
2011-10-31 11:04jmonIssue Monitored: jmon
2011-11-03 18:15iperdomoNote Added: 0042511
2011-11-03 18:15iperdomoStatusresolved => closed

Notes
(0041794)
hgbot   
2011-10-13 12:55   
Repository: erp/devel/pi
Changeset: e7f45dcbde11bb27a67dd19efa841bb20abaf3d7
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Oct 10 13:08:43 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e7f45dcbde11bb27a67dd19efa841bb20abaf3d7 [^]

fixed bug 18741: Alert rule filter clause not working fine in some circumstances

  Do not include alert rule in case it has filter clause and does not return any row for current session

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/AlertManagementActionHandler.java
---
(0041891)
hudsonbot   
2011-10-18 17:26   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/3a0e09f510aa [^]

Maturity status: Test
(0042511)
iperdomo   
2011-11-03 18:15   
Tested on pi @ rev a5c64b5081f5