﻿id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
9843,New user missing in 'session' table.,thomas.moschny@…,hasienda,"I created a new user via the Web GUI, giving him an account name, long name, email, and password - everything looked fine. That user did not log in so far.

Now, he was set as the owner of a ticket, but the notificiations for that ticket are not sent to his email address.

Seems the reason is this: while the `session_attribute` table had been populated, the `session` table lacks an entry for the user (and as he did not log in yet, this wasn't fixed automatically), causing `env.get_known_users()` to not list that user and his email address.

Versions:
 * Trac 0.11.8dev-!r10236
 * !TracAccountManager 0.3.2

Configuration:
Passwords are stored in a htpasswd file:
{{{
[account-manager]
account_changes_notify_addresses = ...
force_passwd_change = False
generated_password_length = 8
htpasswd_hash_type = crypt
notify_actions = new,change,delete
password_file = /path/to/htpasswd
password_store = HtPasswdStore
persistent_sessions = False
refresh_passwd = False
user_lock_max_time = 0
verify_email = False

[components]
acct_mgr.* = enabled
acct_mgr.db.sessionstore = disabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.http.httpauthstore = disabled
acct_mgr.pwhash.htdigesthashmethod = enabled
acct_mgr.svnserve.svnservepasswordstore = disabled
acct_mgr.web_ui.emailverificationmodule = disabled
acct_mgr.web_ui.registrationmodule = disabled
}}}
",defect,closed,normal,AccountManagerPlugin,normal,fixed,user session,,0.11
