Bug 201547

Summary: cannot add users
Product: [Fedora] Fedora Reporter: Thilo Pfennig <tpfennig>
Component: tinyerpAssignee: Dan Horák <dan>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-07 11:00:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thilo Pfennig 2006-08-07 09:58:39 UTC
Description of problem:

If I manage to run tinyerp-server and connect as admin user I can add companies
and partners but not users.

Version-Release number of selected component (if applicable):
tinyerp-server-3.3.0-2.fc5

How reproducible:

always

Steps to Reproduce:
1. install tinyerp-server
2. make the init as user postgres: tinyerp-server --init=all
3. create role tinyerp and give it rights over database (bug 201545 )
3. /etc/init.d/tinyerp-server start
4. connect with tinyerp-client as user admin
5. Try to create a new user at Administration/Users (add company and partner first)
  
Actual results:

error message that role tinyerp does not exist
ERROR:  duplicate key violates unique constraint »res_users_login_key«

insert into res_users
(id,perm_id,address_id,name,company_id,signature,login,password,action_id)
values (13,1,NULL,'ThiloPfennig','2',NULL,'vinci',NULL,'1')

Expected results:

Creation of user.

Additional info:

Comment 1 Dan Horák 2006-08-07 11:00:25 UTC
When playing with TinyERP you should drop and recreate the database. This must
be problem in your DB setup.

Comment 2 Thilo Pfennig 2006-08-07 12:50:02 UTC
ty. you were right. you can close this bug.