MantisBT

View Issue Details Jump to Notes ] Wiki ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012646mantisbtemailpublic2011-01-03 10:002011-04-05 14:23
Reporterbeis 
Assigned Todhx 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.2.4 
Target Version1.2.5Fixed in Version1.2.5 
Summary0012646: No email with LDAP
DescriptionI have a correct configuration of email and LDAP-Server.
I have an additional 'normal' administrator account in the database.
If I comment this line in the config_inc.php out:

$g_login_method = LDAP;

and I change the Access Level the user get an email about the change.
If I uncommend the line (LDAP authentification is enabled) the user doesn't get an email.
Tagspatch
Attached Filespatch file icon 0001-Fix-12646-notification-email-not-sent-to-user-when-u.patch [^] (2,133 bytes) 2011-01-05 09:25 [Show Content]

- Relationships

-  Notes
User avatar (0027793)
dregad (developer)
2011-01-04 12:37

You change the access level of which user, from what to what ?
User avatar (0027803)
beis (reporter)
2011-01-05 02:33

Every change of every user. E.g. from developer to manager or from manager to developer.
User avatar (0027805)
beis (reporter)
2011-01-05 03:29

The crazy thing is that:

I'm activated the logging for emails. If I change the access level there is a entry in the log-file. E.g.:

2011-01-04 17:14 CET mail Account update notification sent to xxx (xxx.xxx@xxx.com)

But no email will be send.
User avatar (0027811)
dregad (developer)
2011-01-05 08:32

OK, I can replicate your problem now.

I believe it's caused by use of an incorrect variable in manage_user_update.php and should be quite simple to fix. I'll upload a patch later.
User avatar (0027812)
dregad (developer)
2011-01-05 09:26

The attached patch fixes the problem for me.
User avatar (0027813)
beis (reporter)
2011-01-05 10:07

Yes, it works.

Thanks a lot.
User avatar (0027838)
dhx (developer)
2011-01-07 04:42

Thanks for the patch Damien! I have committed it to both branches.

- Related Changesets
MantisBT: master 463f6717
Timestamp: 2011-01-05 14:17:55
Author: Damien Regad
Committer: dhx
Details ] Diff ]
Fix 0012646: notification email not sent to user when updating profile and LDAP=on

Problem was introduced in commit 7672ca3d7f000, changing from
$f_email to $t_email: one reference to $f_email was left out in the call to
email_store.

Signed-off-by: David Hicks <hickseydr@optusnet.com.au>
mod - manage_user_update.php Diff ] File ]
MantisBT: master-1.2.x 132fd5db
Timestamp: 2011-01-05 14:17:55
Author: Damien Regad
Committer: dhx
Details ] Diff ]
Fix 0012646: notification email not sent to user when updating profile and LDAP=on

Problem was introduced in commit 7672ca3d7f000, changing from
$f_email to $t_email: one reference to $f_email was left out in the call to
email_store.

Signed-off-by: David Hicks <hickseydr@optusnet.com.au>
mod - manage_user_update.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2011-01-03 10:00 beis New Issue
2011-01-04 12:37 dregad Note Added: 0027793
2011-01-05 02:33 beis Note Added: 0027803
2011-01-05 03:29 beis Note Added: 0027805
2011-01-05 08:32 dregad Note Added: 0027811
2011-01-05 09:25 dregad Tag Attached: patch
2011-01-05 09:25 dregad File Added: 0001-Fix-12646-notification-email-not-sent-to-user-when-u.patch
2011-01-05 09:26 dregad Note Added: 0027812
2011-01-05 10:07 beis Note Added: 0027813
2011-01-07 04:41 dhx Changeset attached => MantisBT master 463f6717
2011-01-07 04:41 dhx Changeset attached => MantisBT master-1.2.x 132fd5db
2011-01-07 04:41 dhx Assigned To => dhx
2011-01-07 04:41 dhx Resolution open => fixed
2011-01-07 04:41 dhx Fixed in Version => 1.2.5
2011-01-07 04:41 dhx Status new => assigned
2011-01-07 04:41 dhx Target Version => 1.2.5
2011-01-07 04:42 dhx Note Added: 0027838
2011-01-07 04:42 dhx Status assigned => resolved
2011-04-05 14:23 jreese Status resolved => closed


MantisBT 1.2.16dev master-1.2.x-8c2bd07 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.0935 seconds.
memory usage: 2,821 KB
Powered by Mantis Bugtracker