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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005291
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 01. General setupmajoralways2008-09-29 09:582009-05-19 09:09
ReporterrafarodaView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision11124
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.5
OS VersionUbuntu 7.10Database version8.3Ant version1.7
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0005291: 'Database Error' when changing User Role

DescriptionWhen trying to change a role of an user (via 'User Roles' tab), 'Database Error' displays (with no other message in the log file).

This bug also reproduces in 2.3x branch but does not reproduce in the trunk.
Steps To Reproduce1) Log in as 'Openbravo Admin'.
2) Select an user in 'General Setup || Security || User || User'.
3) Go to 'User Roles' tab and edit one record changing its role, for instance, from 'Admin' to 'Production'.
Proposed Solution'Database Error' message displays.
Tagsplatform1_sprint1
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00001722.40alpha-r2 closedalostale Database error when updating a Org Access Role 
blocks defect 0005270 closedalostale 'Database Error' when changing User Role 

-  Notes
(0011192)
alostale (manager)
2008-12-11 17:11

This is the same bug as 0000172 (update a column that is part of the PK)
(0011195)
alostale (manager)
2008-12-11 18:10

As the solution for this bug is quite complex and would add instability and there is an easy workarround which consists in deleting the current record and creating a new one with the proper role, the solution for this bug will just show a message telling the user to do this.
(0011197)
svnbot (reporter)
2008-12-11 18:11

Repository: openbravo
Revision: 11124
Author: alostale
Date: 2008-12-11 18:11:06 +0100 (Thu, 11 Dec 2008)

fixed bug 0005291: 'Database Error' when changing User Role

---
U branches/r2.40/src-db/database/sourcedata/AD_MESSAGE.xml
U branches/r2.40/src-wad/src/org/openbravo/wad/Wad.java
U branches/r2.40/src-wad/src/org/openbravo/wad/javasource.javaxml
U branches/r2.40/src-wad/src/org/openbravo/wad/javasource.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11124&sc=1 [^]
(0016441)
sureshbabu (reporter)
2009-05-19 09:09

As per the Developer comments, issue has been fixed.

- Issue History
Date Modified Username Field Change
2008-09-29 09:58 psarobe New Issue
2008-09-29 09:58 psarobe Assigned To => alostale
2008-09-29 09:58 psarobe Status new => scheduled
2008-12-10 09:51 alostale Assigned To alostale => iperdomo
2008-12-11 17:11 alostale Relationship added related to 0000172
2008-12-11 17:11 alostale Note Added: 0011192
2008-12-11 18:10 alostale Note Added: 0011195
2008-12-11 18:11 svnbot Checkin
2008-12-11 18:11 svnbot Note Added: 0011197
2008-12-11 18:11 svnbot Status scheduled => resolved
2008-12-11 18:11 svnbot Resolution open => fixed
2008-12-11 18:11 svnbot svn_revision => 11124
2008-12-12 08:29 alostale Assigned To iperdomo => alostale
2008-12-12 08:29 alostale Status resolved => new
2008-12-12 08:29 alostale Resolution fixed => open
2008-12-12 08:29 alostale Status new => scheduled
2008-12-12 08:29 alostale fix_in_branch 2.40 => trunk
2008-12-12 08:30 alostale Status scheduled => resolved
2008-12-12 08:30 alostale Resolution open => fixed
2008-12-12 12:12 alostale Tag Attached: platform1_sprint1
2009-05-19 09:09 sureshbabu Regression testing => No
2009-05-19 09:09 sureshbabu Status resolved => closed
2009-05-19 09:09 sureshbabu Note Added: 0016441


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker