Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0019985 | Openbravo ERP | A. Platform | public | 2012-03-08 16:09 | 2012-04-01 20:39 | ||||||||||||||
Reporter | alostale | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | have not tried | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | 3.0MP10 | Fixed in Version | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0019985: AlertActionHandler response is unnecessary big | ||||||||||||||||||
Description | Each 50s each client is sending a request to AlertActionHandler to obtain active alerts for current user/role. The response of to this request contains not only the counter of alerts but also the complete list of them. In case of many active alerts, the response can be huge and the only used part is the counter. Increasing considerably the bandwidth used by Openbravo, note that this increases by each session. | ||||||||||||||||||
Steps To Reproduce | -Add an alert rule that creates many alert instances *In alert window add the following alert: -Name: dummy -SQL: select ad_column_id as referencekey_id, name as record_id, 0 as ad_role_id, null as ad_user_id, name ||' is a column' as description, 'Y' as isActive, ad_org_id, ad_client_id, now() as created, 0 as createdBy, now() as updated, 0 as updatedBy from ad_column -Tab: Column - Tables and Columns -Assign System Admin role to this alert -Login with System Admin. Check network calls to AlertActionHandler. | ||||||||||||||||||
Proposed Solution | AlertActionHandler should return just the count of active alerts | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | Selection_041.png (28,644) 2012-03-08 17:11 https://issues.openbravo.com/file_download.php?file_id=5071&type=bug After_fix.png (33,727) 2012-03-08 17:27 https://issues.openbravo.com/file_download.php?file_id=5072&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2012-03-08 16:09 | alostale | New Issue | |||||||||||||||||
2012-03-08 16:09 | alostale | Assigned To | => alostale | ||||||||||||||||
2012-03-08 16:09 | alostale | Modules | => Core | ||||||||||||||||
2012-03-08 17:11 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=3253#r3253 | ||||||||||||||||
2012-03-08 17:11 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=3254#r3254 | ||||||||||||||||
2012-03-08 17:11 | alostale | File Added: Selection_041.png | |||||||||||||||||
2012-03-08 17:27 | alostale | File Added: After_fix.png | |||||||||||||||||
2012-03-08 17:34 | alostale | Note Added: 0046207 | |||||||||||||||||
2012-03-08 17:44 | hgbot | Checkin | |||||||||||||||||
2012-03-08 17:44 | hgbot | Note Added: 0046208 | |||||||||||||||||
2012-03-08 17:44 | hgbot | Status | new => resolved | ||||||||||||||||
2012-03-08 17:44 | hgbot | Resolution | open => fixed | ||||||||||||||||
2012-03-08 17:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/de657cf78aa790028cbf554fb4f19ddda3f26d97 [^] | ||||||||||||||||
2012-03-09 09:16 | alostale | Relationship added | related to 0019989 | ||||||||||||||||
2012-03-09 09:20 | alostale | Note Added: 0046218 | |||||||||||||||||
2012-03-16 16:42 | marvintm | Status | resolved => closed | ||||||||||||||||
2012-03-29 10:58 | alostale | Relationship added | related to 0020146 | ||||||||||||||||
2012-04-01 20:39 | hudsonbot | Checkin | |||||||||||||||||
2012-04-01 20:39 | hudsonbot | Note Added: 0047074 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|