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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017903
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2011-07-05 16:302011-08-12 10:39
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0MP2
StatusclosedFix in branchFixed in SCM revisiond9a6f9688511
ProjectionnoneETAnoneTarget Version3.0MP2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017903: Error when displaying a record created/modified by a deleted user

DescriptionIn DB there's not FK from audit columns (createdBy and updatedBy) to AD_User. This makes possible to delete a User that has created or updated records.

When one of these records is tried to be opened in grid an org.hibernate.ObjectNotFoundException exception is shown and the record is not loaded.
Steps To Reproduce-Create a user
-Create an invoice with this user
-Delete the user
-Try to load the created invoice with another user
Proposed SolutionDo not fail in this case. Load the record and for these fields display UUID or something else.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0038894)
hgbot (developer)
2011-07-06 11:05

Repository: erp/devel/pi
Changeset: d9a6f9688511b12523e21251c85ff940f6566fa1
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 06 11:01:20 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d9a6f9688511b12523e21251c85ff940f6566fa1 [^]

fixed bug 17903: Error when displaying a record created/modified by a deleted user

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
---
(0038910)
hudsonbot (viewer)
2011-07-06 20:41

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/7aa2bbafa595 [^]

Maturity status: Test
(0040140)
jonalegriaesarte (viewer)
2011-08-12 10:39

Verified

- Issue History
Date Modified Username Field Change
2011-07-05 16:30 alostale New Issue
2011-07-05 16:30 alostale Assigned To => alostale
2011-07-05 16:30 alostale Modules => Core
2011-07-05 16:30 alostale OBNetwork customer => No
2011-07-06 11:05 hgbot Checkin
2011-07-06 11:05 hgbot Note Added: 0038894
2011-07-06 11:05 hgbot Status new => resolved
2011-07-06 11:05 hgbot Resolution open => fixed
2011-07-06 11:05 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d9a6f9688511b12523e21251c85ff940f6566fa1 [^]
2011-07-06 20:41 hudsonbot Checkin
2011-07-06 20:41 hudsonbot Note Added: 0038910
2011-08-12 10:39 jonalegriaesarte Note Added: 0040140
2011-08-12 10:39 jonalegriaesarte Status resolved => closed
2011-08-12 10:39 jonalegriaesarte Fixed in Version => 3.0MP2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker