Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0019843 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2012-02-22 15:55 | 2012-04-01 20:37 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | a80d6b4a1e0c | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0MP7 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0019843: After saving newly created recrod, the 'Audit' section of form view shows uuid for created by & updated by | |||||||
Description | Just 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 Reproduce | Open 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(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 (administrator) 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 (viewer) 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 (viewer) 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 |
![]() |
|||
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:55 | shuehner | OBNetwork customer | => No |
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 |