Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031719
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformmajorhave not tried2015-12-15 13:022022-02-01 08:09
ReporteregoitzView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031719: Alerts should take into account the client and the org of the alert definition

DescriptionRight now the sql alert executed for the alerts does not include the client or organization whre the alert is defined.

that means that the query can return elements of other organizations or clients.

The process should add the client and org on the where clause of the query executed.
Steps To ReproduceCheck on the selectAlert method of the AlertProcess.java file that the query is executed on that way without adding filters for organzation or client:

    String strSql = "SELECT * FROM (" + alertRuleSQL + ") AAA where not exists ("
        + "select 1 from ad_alert a where a.ad_alertrule_id = ? "
        + "and a.referencekey_id = aaa.referencekey_id and coalesce(a.status, 'NEW') != 'SOLVED')";
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-12-15 13:02 egoitz New Issue
2015-12-15 13:02 egoitz Assigned To => platform
2015-12-15 13:02 egoitz Modules => Core
2015-12-15 13:02 egoitz Triggers an Emergency Pack => No
2022-02-01 08:09 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker