/
Doubtful field requirement logic in u_OnSubscribeUser event
Doubtful field requirement logic in u_OnSubscribeUser event
Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/415fb5543269d755#
Following code ensures that "Username
" field is never set:
users_event_handler.php
$this->RemoveRequiredFields($object);
As a result subscriber-user record is not created because of "username is too short
" error (as fact, it is empty, so it length is 0).
users_event_handler.php
if ( $object->isRequired('Username') ) { $object->SetDBField('Username', $user_email); }
Related Tasks
Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.