-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some typeahead fixes mostly related to distribution lists #134
Conversation
At least in our Exchange setup, the email addresses present in the contact element for distribution lists aren't meaningful; the only valid one is contained in the mailbox element. As the handling in exchangeAbDistListDirectory.js already treats PublicDL and PrivateDL in the same way, handle it like that in exchangeAbFolderDirectory as well.
Exception looked like this: [Exception... " [JavaScript Error: "this.matchCount is not a function" {file: "file:///<...>/interfaces/exchangeAutoCompleteResult/mivExchangeAutoCompleteResult.js" line: 160}]' [JavaScript Error: "this.matchCount is not a function" {file: "file:///<...>/interfaces/exchangeAutoCompleteResult/mivExchangeAutoCompleteResult.js" line: 160}]' when calling method: [mivExchangeAutoCompleteResult::typeAheadResult]" [...] As the called function is trivial anyway, inline it into typeAheadResult().
hello @dannybaumann Thanks a lot for you patch, |
No, address completion in itself is working fine for me. The issue just is that when attempting to autocomplete distribution list names, they're shown in a weird way (the name isn't displayed, but instead a list of all recipients is shown). The root cause for that is the that the distribution list results in our setup have the following format:
As the mailbox record wasn't used, but the contact one instead, the primary email address was filled with the (invalid) EmailAddress1 entry, leading to the getValueAt() function in mivExchangeAutoCompleteResult.js expanding the recipient list because the address doesn't contain an @ character. That was unnecessary, as there was actual valid information in the mailbox record. The other two commits were just stuff I stumbled upon during debugging the first item. Speaking of autocompletion, I think it would be useful if the completion result showed the number of recipients if it's a distribution list, like |
@dannybaumann Thank you! We would like to test this on our setup, to make sure it doesn't break some functionality for us - we'll take a few days, please? Thanks again for the nice patch! |
Some typeahead fixes mostly related to distribution lists
Thanks! |
No description provided.