Project

General

Profile

Actions

Bug #2355

closed

Backend: ajax email checking taking too long preventing user save

Added by krileon about 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
01 March 2011
Due date:
% Done:

100%

Estimated time:
3:00 h

Description

Backend
The ajax checking is sometimes taking 30s to a minute to finally post a response. Sometimes response is simply blank. When attempting to save the user the error Ajax Reply Error is displayed. This is preventing the saving of users.

https://www.joomlapolis.com/forum/154-advanced-members-support/155457-ajax-email-checker#155457

Actions #2

Updated by beat about 13 years ago

  • Status changed from New to Assigned
  • Assignee set to beat
  • Priority changed from Normal to High
  • Estimated time set to 3:00 h
Actions #3

Updated by beat about 13 years ago

  • Target version set to CB 1.7

Quick fix for this issue

Quick workaround to avoid waiting for long ajax email checks on saving user profiles in backend (and also frontend registrations and user profile saves):

in file administrator/components/com_comprofiler/plugin.class.php comment line 1991 (or search for following string: there are 2 instances of it, second is already commented):

this.startRequest(element);

and comment it with 2 slashes before it as follows:

//this.startRequest(element);

Do same (add 2 slashes before) in same file with lines (2011 and 2019, third instance is already commented) having:

validator.stopRequest(element, response);

Next CB release will have a cleaner fix.

Actions #4

Updated by beat almost 13 years ago

  • % Done changed from 0 to 50
Actions #5

Updated by beat over 12 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 50 to 100

r1500 fixes this by not waiting on ajax reply to return true in all cases, as we have anyway server-side checks.

Actions

Also available in: Atom PDF