by eggsurplus

Control what your users can access and save time, money, and frustrations. Lock down sensitive data in SuiteCRM to specific groups or teams. Supports unlimited assigned users, unlimited group assignments to records, custom layouts for each group, login/sudo capabilities and much more.

Cancel at any time!
Free Trial

#4884 - Old style constructors in Module Builder view files break Studio

Open Bug? created by t Verified Purchase 11 months ago

servers responds with error code uncaught Error: Call to undefined method SugarView::SugarView

this is because custom views are using the old style PHP constructor.

constructors should be written as such:

    function __construct(){
        parent::__construct();
    }

not

    function ViewAddLayout (){
        parent::SugarView();
    }

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "The add-on itself was already a must for my SuiteCRM, which was missing this very important security feature. However, what surprised me the most was ..." - Davint

    Read More Reviews