AnsweredAssumed Answered

Sugar Bean Override Not Working

Question asked by hats on Jun 12, 2017
Latest reply on Jun 22, 2017 by hats

Hello Folks,

 

I am trying to override sugar bean for Leads module and somehow it is not working as expected. I did the same override for Cases and it worked well. Also, I have found out that this problem is coming if we have controller.php file in module directory. I tried overriding that as well but no luck.

Any help would be very much appreciated.

 

Just in case, if you want to review what I have done so far,

require_once("modules/Leads/Lead.php");

class CustomLead extends Lead {

public function __construct() {

parent::__construct();

}

}

 

Regards,

Hats

Outcomes