View Issue Details

IDProjectCategoryView StatusLast Update
0011493mantisbtauthenticationpublic2010-09-19 03:12
Reporterunirgy Assigned Toatrol  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version1.2.0rc2 
Summary0011493: On new user registration, if email notification is enabled, the process does not fully complete.
Description

I've noticed that as admin I don't get notifications for new registrations.

Debugging revealed:

  • email_notify_new_account() on line 510 calls:
  • user_pref_get_language() on line 517 calls:
  • user_pref_get() on line 476 calls:
  • auth_get_current_user_id() on line 772 calls:
  • auth_get_current_user_cookie(), which returns "1".

This record can't be found in $t_user_table, which leads to access_denied() and redirection to login page, without completing registration process (sending notification to admin and redirecting to registration success page).

Steps To Reproduce
  1. Add to config_inc.php:

$g_enable_email_notifications = ON;
$g_notify_new_user_created_threshold_min = ADMINISTRATOR;

  1. go to signup_page.php

  2. fill the form and submit.

  3. it will redirect to login page without sending admin notification and showing success page.

TagsNo tags attached.

Activities

atrol

atrol

2010-06-07 10:10

developer   ~0025732

unirgy this issue is not reproducible with current version of MantisBT.
Feel free to reopen the issue if there are still problems after upgrading.