Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004382Openbravo ERPJ. Demo datapublic2008-07-11 16:192008-12-14 22:58
roklenardic 
shuehner 
normalminoralways
closedfixed 
20Ubuntu 8.04
pi 
 
Core
No
0004382: User window > First name is mandatory
Within General Setup || Security || User window, the field "First Name" is mandatory even though most of the users of the demo data do not actually have it. So if one wants to edit an existing user, they cannot save them because unless they also enter the first name also.

Note that the database column for the first name is not marked as not null (mandatory).
Enter first names for all the users of the demo + source data

OR

Remove the mandatory constraint for "First name" field.
No tags attached.
Issue History
2008-07-11 16:19roklenardicNew Issue
2008-07-11 16:19roklenardicAssigned To => cromero
2008-07-11 16:19roklenardicsf_bug_id0 => 2016078
2008-07-22 11:53cromeroStatusnew => scheduled
2008-07-22 11:53cromeroNote Added: 0008365
2008-07-22 11:53cromeroAssigned Tocromero => shuehner
2008-07-22 11:53cromerofix_in_branch => trunk
2008-07-22 14:51svnbotCheckin
2008-07-22 14:51svnbotNote Added: 0008370
2008-07-22 14:51svnbotStatusscheduled => resolved
2008-07-22 14:51svnbotResolutionopen => fixed
2008-07-22 14:51svnbotsvn_revision => 5960
2008-12-14 22:58psarobeRegression testing => No
2008-12-14 22:58psarobeStatusresolved => closed

Notes
(0008365)
cromero   
2008-07-22 11:53   
The solution would be to remove the mandatory property to the field since it could happen that one user does not have First name (quite normal for one company common user).

You should verify that this field is not required in another place in the application and then remove the mandatory property.
(0008370)
svnbot   
2008-07-22 14:51   
Repository: openbravo
Revision: 5960
Author: huehner
Date: 2008-07-22 14:51:39 +0200 (Tue, 22 Jul 2008)

Fixed issue 0004382
Made field username not mandatory for table AD_USER
Additionally modified the Callout SL_User_Name for filling the username field:
- It is filled from either firstname + lastname or the name field
- Added the callout to the name field

---
U trunk/src/org/openbravo/erpCommon/ad_callouts/SL_User_Name.java
U trunk/src-db/database/sourcedata/AD_COLUMN.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=5960&sc=1 [^]