Results 1 to 4 of 4

Thread: after_ui_frame getting called twice now in 6.2.1

  1. #1
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default after_ui_frame getting called twice now in 6.2.1

    In 6.2.1 the after_ui_frame logic hook gets triggered twice now in SugarView.php->process(). Is this as designed? I'd think the below code was meant to be an if/else but not sure. Need to know so that I can find the appropriate work around. Thanks!

    PHP Code:
            if ( !empty($this->module) ) {
                
    $GLOBALS['logic_hook']->call_custom_logic($this->module'after_ui_frame');
            }
            
    $GLOBALS['logic_hook']->call_custom_logic('''after_ui_frame'); 

  2. #2
    Rodolfo Lima Jesus is offline Junior Member
    Join Date
    Mar 2010
    Posts
    4

    Default Re: after_ui_frame getting called twice now in 6.2.1

    Hi Jason.

    We were testing security suite module in same version and we find same bug.
    So we make this simple modification and, apparently, everything is working now.

    PHP Code:
    if ( !empty($this->module) ) 
         
    $GLOBALS['logic_hook']->call_custom_logic($this->module'after_ui_frame');
    else
         
    $GLOBALS['logic_hook']->call_custom_logic('''after_ui_frame'); 
    Best regards.
    Last edited by Rodolfo Lima Jesus; 2011-08-23 at 05:42 PM.

  3. #3
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: after_ui_frame getting called twice now in 6.2.1

    Rodolfo,

    Yep, exactly. I bring this up since this is in the SugarCRM code base though. It just happens to affect the SecuritySuite functionality.

  4. #4
    collinlee is offline Sugar Team Member
    Join Date
    Sep 2006
    Posts
    187

    Default Re: after_ui_frame getting called twice now in 6.2.1

    Looks like that code came in from Bug 26880 (when the InsideView Connector was added). It does appear to be a product bug and the else statement should have been added.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. what event needs to be called?
    By esplgopal in forum Developer Help
    Replies: 2
    Last Post: 2009-02-13, 09:31 AM
  2. Are they called modules?
    By rightfoot in forum General Discussion
    Replies: 4
    Last Post: 2008-12-11, 05:04 AM
  3. What is this layout called
    By normdouglas in forum Developer Tutorials
    Replies: 2
    Last Post: 2008-10-02, 04:26 PM
  4. Not sure what this is called...
    By jcolinger3 in forum Help
    Replies: 2
    Last Post: 2008-05-24, 08:06 PM
  5. Search accounts not Called/not called within x days
    By ChocolateLover in forum Developer Help
    Replies: 0
    Last Post: 2007-02-20, 03:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •