Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020102 | Openbravo ERP | A. Platform | public | 2012-03-23 14:56 | 2012-04-02 06:12 |
|
Reporter | egoitz | |
Assigned To | alostale | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 3.0MP8 | |
Target Version | 3.0MP10 | Fixed in Version | 3.0MP10 | |
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 | 0020102: The usage audit can not be disable |
Description | After unchech de usage audit checkbox on system information window, and restart tomcat, the table ad_seesion_usage_audit continues increasing.
|
Steps To Reproduce | -Deactivate usage audit and restar tomcat
-count the registers on the ad_session_usage_audit table
-use the application from windows, reports..
-see that the number of rows on the table ad_session_usage_audit increases. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0019895 | | closed | alostale | CPU spike during invoice header click | depends on | defect | 0020124 | | closed | alostale | Usage audit is not working for fetch actions |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-03-23 14:56 | egoitz | New Issue | |
2012-03-23 14:56 | egoitz | Assigned To | => alostale |
2012-03-23 14:56 | egoitz | Modules | => Core |
2012-03-26 15:12 | alostale | Note Added: 0046733 | |
2012-03-26 15:13 | alostale | Relationship added | related to 0019895 |
2012-03-27 13:50 | alostale | Relationship added | depends on 0020124 |
2012-03-27 15:13 | hgbot | Checkin | |
2012-03-27 15:13 | hgbot | Note Added: 0046772 | |
2012-03-27 15:13 | hgbot | Status | new => resolved |
2012-03-27 15:13 | hgbot | Resolution | open => fixed |
2012-03-27 15:13 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4ba927f6028390b2349e6380960f665d8388a12e [^] |
2012-03-27 15:18 | alostale | Note Added: 0046773 | |
2012-03-29 11:44 | marvintm | Status | resolved => closed |
2012-03-29 11:44 | marvintm | Fixed in Version | => 3.0MP10 |
2012-04-02 06:12 | hudsonbot | Checkin | |
2012-04-02 06:12 | hudsonbot | Note Added: 0047242 | |
Notes |
|
|
This can be reproduced for 2.50 windows/processes. |
|
|
(0046772)
|
hgbot
|
2012-03-27 15:13
|
|
Repository: erp/devel/pi
Changeset: 4ba927f6028390b2349e6380960f665d8388a12e
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Mar 27 15:13:08 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4ba927f6028390b2349e6380960f665d8388a12e [^]
fixed bug 20102: Usage audit can not be disabled
-Fixed boolan xsql to check if audit is enabled
-Now query is not executed on each request but it is cached
---
M src-core/src/org/openbravo/database/SessionInfo.java
M src/org/openbravo/erpCommon/security/SessionListener.java
M src/org/openbravo/erpCommon/security/SessionLogin_data.xsql
M src/org/openbravo/erpCommon/security/UsageAudit.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/event/UsageAuditHandler.java
---
|
|
|
|
This fix is not risky.
It should also slightly improve performance as now, information about usage audit is cached and it is not queried to DB on each request.
Test plan:
-Disable usage audit and, without restarting, check no new entries appear in audit table. Do it for generated windows as well as for manual processes.
-Enable it again and do the same test, now actions should be audited.
-Restart tomcat and check again actions are audited.
-Disable audit, restart tomcat and check actions are not audited. |
|
|
|
|