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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013225
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2010-05-05 10:492010-05-18 21:43
ReporterharikrishnanView Statuspublic 
Assigned Toharikrishnan 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision011eb1eea4ca
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

0013225: 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.Physical Inventory
2.Goods Movements
3.Bill of Materials Production
4.Generate Average Costs
5.Goods Transaction

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 backport 0013243 closedharikrishnan When completing or processing documents the updatedby column is not updated properly 

-  Notes
(0026986)
hgbot (developer)
2010-05-06 14:37

Repository: erp/devel/pi
Changeset: 011eb1eea4ca25a11d81a356f294a43581309424
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu May 06 18:06:33 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/011eb1eea4ca25a11d81a356f294a43581309424 [^]

Fixes issue 13225: When completing or processing documents the updatedby column is not updated properly.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
M src-db/database/model/functions/M_GENERATE_AVERAGE_COSTS.xml
M src-db/database/model/functions/M_INVENTORY_LISTCREATE.xml
M src-db/database/model/functions/M_INVENTORY_LISTUPDATE.xml
M src-db/database/model/functions/M_INVENTORY_POST.xml
M src-db/database/model/functions/M_MOVEMENT_POST.xml
M src-db/database/model/functions/M_PRODUCTION_RUN.xml
---
(0026988)
harikrishnan (reporter)
2010-05-06 14:37

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.
(0027241)
arunkumar (reporter)
2010-05-14 12:42

Tested Working fine
(0027486)
hudsonbot (developer)
2010-05-18 21:43

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/011eb1eea4ca [^]
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:49 harikrishnan New Issue
2010-05-05 10:49 harikrishnan Assigned To => adrianromero
2010-05-06 12:57 harikrishnan Status new => scheduled
2010-05-06 12:57 harikrishnan fix_in_branch => pi
2010-05-06 12:59 harikrishnan Assigned To adrianromero => harikrishnan
2010-05-06 13:02 harikrishnan Issue cloned 0013243
2010-05-06 13:02 harikrishnan Relationship added blocks 0013243
2010-05-06 14:37 hgbot Checkin
2010-05-06 14:37 hgbot Note Added: 0026986
2010-05-06 14:37 hgbot Status scheduled => resolved
2010-05-06 14:37 hgbot Resolution open => fixed
2010-05-06 14:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/011eb1eea4ca25a11d81a356f294a43581309424 [^]
2010-05-06 14:37 harikrishnan Note Added: 0026988
2010-05-14 12:42 arunkumar Note Added: 0027241
2010-05-14 12:42 arunkumar Status resolved => closed
2010-05-15 00:00 anonymous sf_bug_id 0 => 3001861
2010-05-18 21:43 hudsonbot Checkin
2010-05-18 21:43 hudsonbot Note Added: 0027486


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker