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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031579
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] C. Securitymajorhave not tried2015-11-25 13:262015-12-02 11:28
ReporteralostaleView Statuspublic 
Assigned Tocaristu 
PriorityimmediateResolutionfixedFixed in Version3.0PR15Q3.4
StatusclosedFix in branchFixed in SCM revision953d9e609f21
ProjectionnoneETAnoneTarget Version3.0PR15Q3.4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031579: alert fetches with where parameter

DescriptionAlert window shouldn't fetch data using where parameter.
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0031577 closedcaristu alert fetches with where parameter 

-  Notes
(0082496)
hgbot (developer)
2015-12-01 18:35

Repository: erp/backports/3.0PR15Q3.4
Changeset: 953d9e609f2161776d040f3f0c9443cb32a3570f
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Dec 01 18:32:25 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.4/rev/953d9e609f2161776d040f3f0c9443cb32a3570f [^]

fixes issue 31579: alert fetches with where parameter

In order to avoid the fetching of the where parameter we generate the where clause inside the datasource. A new datasource has been created, ADAlertDatasourceService, to support the requests from the Alert Management window.

In addition, it has been fixed a problem in the Alert Rule drop-down filter of the grids in the Alert Management window which was displaying alert rules from all the grids in the window instead of those displayed just on a particular grid.

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/OBSERDS_DATASOURCE.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/AlertManagementActionHandler.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-management-view.js
A modules/org.openbravo.client.application/src/org/openbravo/client/application/ADAlertDatasourceService.java
---
(0082522)
hgbot (developer)
2015-12-02 10:40

Repository: erp/backports/3.0PR15Q3.4
Changeset: 9818e69a1a146fad384ab359d08749b691f0a483
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Dec 02 10:39:19 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q3.4/rev/9818e69a1a146fad384ab359d08749b691f0a483 [^]

related to issue 31579: code review improvements

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/ADAlertDatasourceService.java
---
(0082527)
alostale (manager)
2015-12-02 11:28

code reviewed

tested:
* _where is not sent to DS
* limited role without any other access than alert management can:
  - see alerts
  - move to different status

- Issue History
Date Modified Username Field Change
2015-11-25 13:27 alostale Type defect => backport
2015-11-25 13:27 alostale Target Version => 3.0PR15Q3.4
2015-12-01 18:35 hgbot Checkin
2015-12-01 18:35 hgbot Note Added: 0082496
2015-12-01 18:35 hgbot Status scheduled => resolved
2015-12-01 18:35 hgbot Resolution open => fixed
2015-12-01 18:35 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q3.4/rev/953d9e609f2161776d040f3f0c9443cb32a3570f [^]
2015-12-01 18:37 caristu Assigned To platform => caristu
2015-12-01 18:38 caristu Review Assigned To => alostale
2015-12-01 18:38 caristu Issue Monitored: alostale
2015-12-02 10:40 hgbot Checkin
2015-12-02 10:40 hgbot Note Added: 0082522
2015-12-02 11:28 alostale Note Added: 0082527
2015-12-02 11:28 alostale Status resolved => closed
2015-12-02 11:28 alostale Fixed in Version => 3.0PR15Q3.4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker