View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005175 | mantisbt | ldap | public | 2005-01-27 16:15 | 2009-10-07 14:19 |
Reporter | andri | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.19.2 | ||||
Target Version | 1.2.0rc2 | Fixed in Version | 1.2.0rc2 | ||
Summary | 0005175: LDAP e-mail and My Account | ||||
Description | When Mantis is configured to fetch e-mails from a LDAP directory, then when the user tries to change something on his My Account page (e.g. his real name), then Mantis displays an error saying that the e-mail isn't valid. | ||||
Additional Information | This is probably caused because Mantis expects the e-mail field to be present, although it isn't when using LDAP e-mails. As a quick hack, I threw in a one-line if() to check if we are using LDAP or not, but maybe there is a better solution. | ||||
Tags | patch | ||||
The diff itself: *** mantis-0.19.2/account_update.php Tue Nov 30 15:02:58 2004 * 32,37 **
! if ( $f_email != user_get_email( $t_user_id ) ) { @@@ Listing what fields were updated is not standard behaviour of Mantis
! if ( $f_email != user_get_email( $t_user_id ) && OFF == config_get( 'use_ldap_email' ) ) { |
|
Thanks for the patch andri, it helped me to debug my Mantis installation. |
|
As part of this fix we should fix the following 3 scenarios work:
|
|
MantisBT: master 120e423f 2009-07-06 00:43 Details Diff |
Fixes 0005175: LDAP e-mail and My Account. |
Affected Issues 0005175 |
|
mod - manage_user_edit_page.php | Diff File | ||
mod - core/email_api.php | Diff File | ||
mod - manage_user_create.php | Diff File | ||
mod - manage_user_create_page.php | Diff File | ||
mod - account_update.php | Diff File | ||
MantisBT: master-1.2.x 7abfd634 2009-07-06 00:43 Details Diff |
Fixes 0005175: LDAP e-mail and My Account. |
Affected Issues 0005175 |
|
mod - manage_user_edit_page.php | Diff File | ||
mod - core/email_api.php | Diff File | ||
mod - manage_user_create.php | Diff File | ||
mod - manage_user_create_page.php | Diff File | ||
mod - account_update.php | Diff File |