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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013226
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 05. Production managementmajoralways2010-05-05 10:522010-05-18 21:44
ReporterharikrishnanView Statuspublic 
Assigned Toharikrishnan 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision4335281c5d18
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013226: 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.Internal Consumption
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 ]
depends on backport 0013242 closedharikrishnan When completing or processing documents the updatedby column is not updated properly 

-  Notes
(0027012)
hgbot (developer)
2010-05-07 05:36

Repository: erp/devel/pi
Changeset: 4335281c5d182e5c9e366a808e3db0944da90bb7
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri May 07 09:05:21 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/4335281c5d182e5c9e366a808e3db0944da90bb7 [^]

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

---
M src-db/database/model/functions/M_INTERNAL_CONSUMPTION_POST.xml
---
(0027014)
harikrishnan (reporter)
2010-05-07 05:36

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:
Their is no impact other then these files.
(0027238)
arunkumar (reporter)
2010-05-14 12:23

Tested working fine
(0027490)
hudsonbot (developer)
2010-05-18 21:44

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/4335281c5d18 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]

- Issue History
Date Modified Username Field Change
2010-05-05 10:52 harikrishnan New Issue
2010-05-05 10:52 harikrishnan Assigned To => adrianromero
2010-05-06 13:00 harikrishnan Status new => scheduled
2010-05-06 13:00 harikrishnan fix_in_branch => pi
2010-05-07 05:32 harikrishnan Assigned To adrianromero => harikrishnan
2010-05-07 05:36 hgbot Checkin
2010-05-07 05:36 hgbot Note Added: 0027012
2010-05-07 05:36 hgbot Status scheduled => resolved
2010-05-07 05:36 hgbot Resolution open => fixed
2010-05-07 05:36 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4335281c5d182e5c9e366a808e3db0944da90bb7 [^]
2010-05-07 05:36 harikrishnan Note Added: 0027014
2010-05-14 12:23 arunkumar Note Added: 0027238
2010-05-14 12:23 arunkumar Status resolved => closed
2010-05-16 00:00 anonymous sf_bug_id 0 => 3002204
2010-05-18 21:44 hudsonbot Checkin
2010-05-18 21:44 hudsonbot Note Added: 0027490


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker