Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014276Openbravo ERPA. Platformpublic2010-08-24 13:132010-09-13 12:38
shuehner 
mtaal 
immediatemajorhave not tried
closedfixed 
5
pi 
 
Core
No
0014276: Need feature to disable maintaining audit info via dal for one request/dal-session
In some special cases it is needed to not updated the audit info columns (updated,updatedBy,created,createdBy) when doing db-operations.

Please add a feature to allowing to disable this for a single http-request/dal-session
No tags attached.
related to design defect 0014286 scheduled Triage Platform Base Rewrite code for 'skip' audit info in local enforcement change to use new dal feature instead of trigger 
blocks defect 0014262 closed shuehner Unable to update a 2.50MP20 community appliance to the candidate 2.50MP21 
blocks defect 00142742.50MP21 closed shuehner Update.database fails after disabling a module 
Issue History
2010-08-24 13:13shuehnerNew Issue
2010-08-24 13:13shuehnerAssigned To => mtaal
2010-08-24 13:13shuehnerRelationship addedblocks 0014262
2010-08-24 13:13shuehnerRelationship addedblocks 0014274
2010-08-24 13:17iperdomoStatusnew => scheduled
2010-08-24 13:17iperdomofix_in_branch => pi
2010-08-24 13:44hgbotCheckin
2010-08-24 13:44hgbotNote Added: 0030248
2010-08-24 13:44hgbotStatusscheduled => resolved
2010-08-24 13:44hgbotResolutionopen => fixed
2010-08-24 13:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a2ef2f6cf23b5bc0f35ffde9f49283259bd5d047 [^]
2010-08-24 14:02hgbotCheckin
2010-08-24 14:02hgbotNote Added: 0030249
2010-08-24 15:11hgbotCheckin
2010-08-24 15:11hgbotNote Added: 0030253
2010-08-24 16:18shuehnerRelationship addedrelated to 0014286
2010-08-24 17:04shuehnerNote Added: 0030258
2010-08-24 17:04shuehnerStatusresolved => closed
2010-08-25 07:09hudsonbotCheckin
2010-08-25 07:09hudsonbotNote Added: 0030280
2010-08-25 07:09hudsonbotCheckin
2010-08-25 07:09hudsonbotNote Added: 0030281
2010-08-25 07:09hudsonbotCheckin
2010-08-25 07:09hudsonbotNote Added: 0030282
2010-09-13 12:38anonymoussf_bug_id0 => 3065182

Notes
(0030248)
hgbot   
2010-08-24 13:44   
Repository: erp/devel/pi
Changeset: a2ef2f6cf23b5bc0f35ffde9f49283259bd5d047
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Aug 24 13:41:03 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a2ef2f6cf23b5bc0f35ffde9f49283259bd5d047 [^]

Fixes issue 14276: Need feature to disable maintaining audit info via dal for one request/dal-session

---
M src-test/org/openbravo/test/dal/IssuesTest.java
M src/org/openbravo/dal/core/DalRequestFilter.java
M src/org/openbravo/dal/core/OBInterceptor.java
---
(0030249)
hgbot   
2010-08-24 14:02   
Repository: erp/devel/pi
Changeset: dec4c41f6f8ec56eb0333529fee1b6060f8f45ed
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Aug 24 14:02:32 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dec4c41f6f8ec56eb0333529fee1b6060f8f45ed [^]

Related to issue 14276: Need feature to disable maintaining audit info via dal for one request/dal-session

---
M src-test/org/openbravo/test/dal/IssuesTest.java
---
(0030253)
hgbot   
2010-08-24 15:11   
Repository: erp/devel/pi
Changeset: 8eb3b7375175a3d527c5ad1327a2dc7818fdf7bc
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Aug 24 15:08:05 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8eb3b7375175a3d527c5ad1327a2dc7818fdf7bc [^]

Issue 14276: small improvements
- enhance javadoc, mention only works in admin mode
- change parameter from Boolean -> boolean (&update all callers)

---
M src-test/org/openbravo/test/dal/IssuesTest.java
M src/org/openbravo/dal/core/DalRequestFilter.java
M src/org/openbravo/dal/core/OBInterceptor.java
---
(0030258)
shuehner   
2010-08-24 17:04   
Changeset reviewed and tested on pi/pgsql (rev: fe89aad08526). Tested as part of development on 14262, 14274. Without calling the new function no functional change is done. If new function is called safely (try/finally) fine. As extra safe-guard the disableAuditInfo flag is also reset at end of the http-request (in the DalRequestFilter) -> Closing
(0030280)
hudsonbot   
2010-08-25 07:09   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/a2ef2f6cf23b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8a6a35fc0751 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18218.obx [^]
(0030281)
hudsonbot   
2010-08-25 07:09   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/dec4c41f6f8e [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8a6a35fc0751 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18218.obx [^]
(0030282)
hudsonbot   
2010-08-25 07:09   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/8eb3b7375175 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8a6a35fc0751 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18218.obx [^]