Re: [Cakephp 2.8.1] Multiple assosication to one model with habtm throws a notice

2016-03-24 Thread 'Steffen Reinig' via CakePHP
Hi, i checked your solution, but it occurs the same error. public $hasAndBelongsToMany = array ( 'Owners' => array ( 'className' => 'User', 'with' => 'PermissionOwner', ), 'Rights' => array (

[Cakephp 2.8.1] Multiple assosication to one model with habtm throws a notice

2016-03-13 Thread 'Steffen Reinig' via CakePHP
Hello Cakephp Fans, today i receive these error: Notice (8): Undefined index: User [CORE\Cake\Model\Datasource\DboSource.php, line 1388] Its easy to reproduce: Model: User belongsTo Group Model: Permission habtm Rights (className User) Permission habtm Owners (className User) When i