Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0033507 | Openbravo ERP | A. Platform | public | 2016-07-20 12:40 | 2016-08-30 10:08 | |||||||
Reporter | alostale | |||||||||||
Assigned To | NaroaIriarte | |||||||||||
Priority | urgent | Severity | critical | Reproducibility | random | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR16Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | alostale | |||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0033507: copy lines can generate incorrect audit trail info | |||||||||||
Description | Some sqlc processes can generate incorrect audit trail information. Sqlc processes making use of getTransactionConnection do not set properly context information table, this can lead to incorrect audit information. | |||||||||||
Steps To Reproduce | 1. Activate the instance 2. As System Admin set C_Order table as fully audited 3. Generate Audit trail infrastructure 4. Login as Openbravo Admin 5. Create a new Sales Order header 6. Open chrome's dev tools > network 7. Open Copy Lines process 8. Select a line and execute 9. In dev tools select CopyFromOrder.html request and copy as curl 10. Execute bench 2000 "curl whateverYouCopied --silent" [1] 11. Execute this query: select count(*), processtype, process_id from ad_audit_trail where action='I' group by 2,3 -> Expected: all records should have 211 (Copy From) as process_id -> Got: some of them have different process_id [1] https://raw.githubusercontent.com/alostale/ob-scripts/master/misc/bench [^] | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-07-20 12:40 | alostale | New Issue | ||||||||||
2016-07-20 12:40 | alostale | Assigned To | => platform | |||||||||
2016-07-20 12:40 | alostale | OBNetwork customer | => No | |||||||||
2016-07-20 12:40 | alostale | Modules | => Core | |||||||||
2016-07-20 12:40 | alostale | Triggers an Emergency Pack | => No | |||||||||
2016-07-20 12:45 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12693#r12693 | |||||||||
2016-07-20 12:48 | alostale | Relationship added | related to 0033438 | |||||||||
2016-07-20 12:48 | alostale | Status | new => scheduled | |||||||||
2016-07-20 12:48 | alostale | Assigned To | platform => NaroaIriarte | |||||||||
2016-08-01 09:54 | hgbot | Checkin | ||||||||||
2016-08-01 09:54 | hgbot | Note Added: 0088707 | ||||||||||
2016-08-01 09:54 | hgbot | Status | scheduled => resolved | |||||||||
2016-08-01 09:54 | hgbot | Resolution | open => fixed | |||||||||
2016-08-01 09:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6bef7cf32538272b1119cafab0ab29d998d5d5c4 [^] | |||||||||
2016-08-01 10:02 | NaroaIriarte | Review Assigned To | => alostale | |||||||||
2016-08-11 18:40 | hudsonbot | Checkin | ||||||||||
2016-08-11 18:40 | hudsonbot | Note Added: 0089027 | ||||||||||
2016-08-30 10:08 | alostale | Note Added: 0089532 | ||||||||||
2016-08-30 10:08 | alostale | Status | resolved => closed | |||||||||
2016-08-30 10:08 | alostale | Fixed in Version | => 3.0PR16Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|