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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013228
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajorhave not tried2010-05-05 10:592010-05-18 21:44
ReporterharikrishnanView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionaf3a9aa426e2
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

0013228: 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.Payment Status Management
2.Open/Close Period Control
3.Amortization
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 0013254pi closedharikrishnan When completing or processing documents the updatedby column is not updated properly 

-  Notes
(0027025)
hgbot (developer)
2010-05-07 08:55

Repository: erp/devel/pi
Changeset: af3a9aa426e2d78bf5883ceda3f4340aae27807c
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri May 07 12:24:44 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/af3a9aa426e2d78bf5883ceda3f4340aae27807c [^]

Fixes Issue 13228: When completing or processing documents the updatedby column is not updated properly.

---
M src-db/database/model/functions/A_AMORTIZATION_PROCESS.xml
M src-db/database/model/functions/C_DP_MANAGEMENT_POST.xml
---
(0027026)
harikrishnan (reporter)
2010-05-07 08:56

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:
The impact other then these files are.
C_BANKSTATEMENT_POST.xml
C_REMITTANCE_POST.xml
(0027232)
arunkumar (reporter)
2010-05-14 12:01

The issue is working fine except one thing.

In Open/Close period control Createdby field is blank. It does not display the user name who created the document. I discussed with the developer. He told that the fix is not done since it breaks API.

The support team is already aware of this.

So I close this issue.
(0027494)
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/af3a9aa426e2 [^]
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:59 harikrishnan New Issue
2010-05-05 10:59 harikrishnan Assigned To => dalsasua
2010-05-07 08:45 harikrishnan Status new => scheduled
2010-05-07 08:45 harikrishnan Assigned To dalsasua => adrianromero
2010-05-07 08:45 harikrishnan fix_in_branch => pi
2010-05-07 08:55 hgbot Checkin
2010-05-07 08:55 hgbot Note Added: 0027025
2010-05-07 08:55 hgbot Status scheduled => resolved
2010-05-07 08:55 hgbot Resolution open => fixed
2010-05-07 08:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/af3a9aa426e2d78bf5883ceda3f4340aae27807c [^]
2010-05-07 08:56 harikrishnan Note Added: 0027026
2010-05-14 12:01 arunkumar Note Added: 0027232
2010-05-14 12:01 arunkumar Status resolved => closed
2010-05-17 00:00 anonymous sf_bug_id 0 => 3002511
2010-05-18 21:44 hudsonbot Checkin
2010-05-18 21:44 hudsonbot Note Added: 0027494


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker