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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019843
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2012-02-22 15:552012-04-01 20:37
ReportershuehnerView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona80d6b4a1e0c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP7SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019843: After saving newly created recrod, the 'Audit' section of form view shows uuid for created by & updated by

DescriptionJust after saving a newly created record the 'Audit' section 'created by' & 'updated by' fields shows raw-uuid values instead of the identifier/name of the current user.

Closing + Reopening form view does show the correct values.

Reproducible i.e. in butler using 'upgrade restrictions' windows
but also in live.builds (pi, 2012-02-22) using i.e. normal Product window
Steps To ReproduceOpen product window
click new in form
fill in mandatory fields with any value
Save
open the 'audit' section of the form view without leaving the form view after saving
Notice that 'Created By' + 'Updated By' show the uuid of the current user instead of its name.
Close form view
Open form view of same record again
Now the correct values are displayed.
TagsNo tags attached.
Attached Filespng file icon 19843.png [^] (34,088 bytes) 2012-02-22 15:56

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00208753.0MP13 closedAugustoMauch The audit shows the user id instead of the user name 

-  Notes
(0046050)
hgbot (developer)
2012-03-05 16:28

Repository: erp/devel/pi
Changeset: a80d6b4a1e0c7976cdfa7ad66a6b83fcff5f762d
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 05 16:26:19 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a80d6b4a1e0c7976cdfa7ad66a6b83fcff5f762d [^]

Fixes issue 19843: Audit section fields show the correct info

The valueMap that was being used to get the name of a user out of its identifier was not being initialized correctly, thus sometimes in the audit s
ection the identifier of the user was beign shown, instead of its name. The new initialization has been added to the remeberValues function of ob-v
iew-form. It is called when the response of the datasource is received. The new code only affects the createdBy and updatedBy fields, and only when
 its valueMap is not properly initialized.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0046051)
AugustoMauch (manager)
2012-03-05 16:58

Test plan:

- Open the Unit of Measure window
- Click Create New Record in Form button.
- Enter a valid EDI Code and Name.
- Push the Save button.
- Open the Audit section. The name of the user should be displayed in the createdBy and updatedBy fields

This is not a risky fix.
(0046085)
iperdomo (reporter)
2012-03-06 13:15

Tested on pi @ rev efa5d74b862b

- Using Openbravo user
- Created a new Unit of Measure
- Check that Audit section shows the proper user name
- Changed the user to QAAdmin user
- Created a new Unit of Measure
- Check the Audit section and check the proper username
(0047035)
hudsonbot (developer)
2012-04-01 20:37

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/640de9acc2d5 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-02-22 15:55 shuehner New Issue
2012-02-22 15:55 shuehner Assigned To => alostale
2012-02-22 15:55 shuehner Modules => Core
2012-02-22 15:56 alostale Assigned To alostale => AugustoMauch
2012-02-22 15:56 shuehner File Added: 19843.png
2012-03-05 16:28 hgbot Checkin
2012-03-05 16:28 hgbot Note Added: 0046050
2012-03-05 16:28 hgbot Status new => resolved
2012-03-05 16:28 hgbot Resolution open => fixed
2012-03-05 16:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a80d6b4a1e0c7976cdfa7ad66a6b83fcff5f762d [^]
2012-03-05 16:58 AugustoMauch Note Added: 0046051
2012-03-06 13:15 iperdomo Note Added: 0046085
2012-03-06 13:15 iperdomo Status resolved => closed
2012-04-01 20:37 hudsonbot Checkin
2012-04-01 20:37 hudsonbot Note Added: 0047035
2012-06-26 23:08 AugustoMauch Relationship added related to 0020875


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker