Modify

Opened 18 years ago

Closed 18 years ago

#1130 closed enhancement (invalid)

get account details from the db, don't use env.get_known_users

Reported by: pkoelle@… Owned by: Matt Good
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: needinfo
Cc: Trac Release: 0.10

Description

env.get_known_users only knows about users who have logged in once. This is very irritating if you create a new user with AccountManager and name and email don't show up. The proposed patch get's the details from the db instead of asking the env. The code is mostly cut'n paste from env.py except the session table is not queried.

Attachments (1)

dont_use_env_get_known_users.diff (1.4 KB) - added by pkoelle@… 18 years ago.
patch

Download all attachments as: .zip

Change History (3)

Changed 18 years ago by pkoelle@…

patch

comment:1 Changed 18 years ago by Matt Good

Keywords: needinfo added

I can't replicate this problem here. The AccountManager creates a session for new users so they appear immediately in the list of accounts. Please provide details on the versions of Trac and AccountManager you're using and explicit steps taken to reproduce the problem.

comment:2 Changed 18 years ago by pkoelle@…

Resolution: invalid
Status: newclosed

My fault, the user was created but my own ChangeListener choked and PasswordManager didn't get past _notify()..., sorry.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.