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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013230
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementmajoralways2010-05-05 10:242010-05-25 09:06
ReporterharikrishnanView Statuspublic 
Assigned Toharikrishnan 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branch2.40Fixed in SCM revision2ee15a4f333e
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013230: When completing or processing documents the updatedby column is not updated properly

DescriptionThese are the places where the audit fields are not properly updated.

1.Matched Purchase Orders
2.Matched Invoices
3.Create Purchase Invoices from Deliveries

Steps To Reproduce-Create a document with one user
Process or complete with other user
See that the updatedby is not properly updated.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0013224pi closedharikrishnan When completing or processing documents the updatedby column is not updated properly 

-  Notes
(0026974)
hgbot (developer)
2010-05-06 10:40

Repository: erp/stable/2.40
Changeset: 2ee15a4f333e343df4b1aa4da8f0c8faed56138a
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu May 06 14:02:28 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/2ee15a4f333e343df4b1aa4da8f0c8faed56138a [^]

Fixes issue 13230: When completing or processing documents the updated-by column is not updated properly.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
M src-db/database/model/functions/C_ORDER_POST1.xml
M src-db/database/model/functions/C_ORDER_PO_CREATE.xml
---
(0026975)
harikrishnan (reporter)
2010-05-06 10:41

Steps to test:
*Create two new user.
    1.UserA
    2.userB
*Login as UserA
*Create new record in each above mentioned section(Don't complete it or process it)
*Login as UserB and complete all the record above created.


Root cause & solution:
Audit fields are not properly updated.Hence the user id is taken from the pinstance table and used in update and insert statement.

Impact:
These are the files that are affected by this fix.

C_INVOICE_CANCEL.xml
C_INVOICE_CREATE.xml
C_INVOICE_POST0.xml
C_ORDER_POST.xml
M_REQUISITION_CREATEPO.xml
(0027696)
arunkumar (reporter)
2010-05-25 09:06

Tested working fine

- Issue History
Date Modified Username Field Change
2010-05-05 14:06 arunkumar Type defect => backport
2010-05-05 14:06 arunkumar fix_in_branch => 2.40
2010-05-06 10:21 harikrishnan Assigned To adrianromero => harikrishnan
2010-05-06 10:40 hgbot Checkin
2010-05-06 10:40 hgbot Note Added: 0026974
2010-05-06 10:40 hgbot Status scheduled => resolved
2010-05-06 10:40 hgbot Resolution open => fixed
2010-05-06 10:40 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/2ee15a4f333e343df4b1aa4da8f0c8faed56138a [^]
2010-05-06 10:41 harikrishnan Note Added: 0026975
2010-05-25 09:06 arunkumar Note Added: 0027696
2010-05-25 09:06 arunkumar Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker