I recently connect my mantis 1.0.7 to our LDAP (AD 2K3) and connection works like a charm.
So, i can connect to mantis with my LDAP account and when i go to "My account" page, my email is retrieve correctly.
To be sure, i change it in LDAP and change take effect immediatly.
The problem is, when i click on "Update User" mantis gives me this error :
Where is the problem ?APPLICATION ERROR #1200
Invalid email
I look in the code and it appear than this error is called when email_ensure_valid function is called :
Code: Select all
# --------------------
# Check if the email address is valid
# return true if it is, trigger an ERROR if it isn't
function email_ensure_valid( $p_email ) {
if ( !email_is_valid( $p_email ) ) {
trigger_error( ERROR_EMAIL_INVALID, ERROR );
}
}
# --------------------Is it a bug ?
Did anybody have this problem ?
Thanks in advance.
Regards.