Bug #2355
closedBackend: ajax email checking taking too long preventing user save
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
Updated by krileon almost 14 years ago
Another related and reported instance:
https://www.joomlapolis.com/forum/153-professional-member-support/156524-this-address-does-not-accept-email-in-backend#157165
Updated by beat almost 14 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
Updated by beat almost 14 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.
Updated by beat over 13 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.