Hi, i’ve maked my module and i create a relationship with ACLRoles (my module is similar to Users module).
In my module DetailView I can see ACLRole subpanel but when i chose a role to add I see this error:
Fatal error: Uncaught Error: Call to a member function getFocus() on null in C:\xampp\htdocs\suitetest\data\Relationships\SugarRelationship.php on line 155
( ! ) Error: Call to a member function getFocus() on null in C:\xampp\htdocs\suitetest\data\Relationships\SugarRelationship.php on line 155
Call Stack
# Time Memory Function Location
1 0.2058 391848 {main}( ) ...\index.php:0
2 0.4266 12210016 SugarApplication->execute( ) ...\index.php:52
3 0.5807 14773952 SugarController->execute( ) ...\SugarApplication.php:109
4 0.5807 14773952 SugarController->process( ) ...\SugarController.php:373
5 0.5822 14784560 SugarController->handleActionMaps( ) ...\SugarController.php:465
6 0.5826 14812000 require_once( 'C:\xampp\htdocs\suitetest\include\generic\Save2.php' ) ...\SugarController.php:1081
7 0.5901 14892560 Link2->add( ) ...\Save2.php:201
8 0.5977 14945024 One2MRelationship->add( ) ...\Link2.php:527
9 0.6027 14945824 One2MRelationship->removeAll( ) ...\One2MRelationship.php:159
Ideas?