Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/415fb5543269d755#

...

Following code ensures that "Username" field is never set:

Code Block
languagephp
titleusers_event_handler.php
firstline759
linenumberstrue
$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).

Code Block
titleusers_event_handler.php
firstline790
linenumberstrue
if ( $object->isRequired('Username') )

...

 {
	$object->SetDBField('Username', $user_email);

...


}

Related Tasks

Jira Legacy
serverIn-Portal Issue Tracker
keyINP-1045