If a user has specified per-account LDAP autocomplete settings, and invokes a composition window and changes their identity using the From: dropdown list, their per-account settings aren't correctly propagated. The settings at time of composition invocation will be used. To reproduce, you need two different mail accounts with different autocomplete settings. Steps to reproduce: 1. Specify a global autocomplete server in prefs. 2. Override autocomplete for test account 1 and set to "None". 3. In Messenger, click on test account 2 in the folder pane. 4. Click on New Msg. 5. In the New Msg window, change the From: dropdown list to test account 1. 6. Type in a name. Expected Results No autocompletion occurs. Actual Results Autocompletion occurs. Autocomplete preferences for the account should be propagated when the From: dropdown list is changed.
See also bug 82169.
PDT+ per 6/12 mtg.
when autocompleting with test account2, we have both AbAutocompleteSession and LDAPAutocompleteSession. when autocompleting with test account 1, we should have only AbAutocompleteSession but we have both AB and LDAP sessions even though we are not calling getService on the LDAPAutocompletSession. Looks like the sessions list is not getting updated. ccing ducarroz and hewitt.
the patch in 79792 will fix this
fix checked in
Verified with 2001062204 trunk builds on all platforms