Jump to content


Issue information

  • #020726

  • Fixed

  • -

  • 2.2.1

  • 0 - None Assigned


Issue Confirmations

  • Yes (0)No (0)
Photo

Infinite Loop

Posted by Mark on 22 January 2010 - 07:14 AM

There is a possibility of an infinite loop when you change your language choice caused by IP.Blog's memberSync.

class_localization::__construct
IPSMember::save( $this->memberData['member_id'], array( 'core' => array( 'language' => $data['lang_id'] ) ) );

IPSMember::save
IPSLib::runMemberSync( 'onProfileUpdate', $save );

IPSLib::runMemberSync
$_obj = new $_class();

blogMemberSync::__construct
$this->registry->setClass( 'blogFunctions', new blogFunctions( $this->registry ) );

blogFunctions::__construct
$this->lang			=  $this->registry->getClass('class_localization');

That calls class_localization::__construct again.

Updating status to: Fixed
Issue fixed in: 2.1.0

Will confirm fix. Will update ZIP and we can add the fix in the KB.






0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users