Bug 201547 - cannot add users
Summary: cannot add users
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: tinyerp
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-07 09:58 UTC by Thilo Pfennig
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-07 11:00:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 201545 0 medium CLOSED postgres role tinyerp needed? 2021-02-22 00:41:40 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.