The SugarCRM Community is now "read-only" to prepare for the SugarClub launch on August 3. Please visit
Announcing SugarClub - Are you in? for more information.
I'm trying to debug my logic hook which doesn't appear to be firing. In addition to the title question, will 'die()' statements display to the screen in the before_delete logic hooks or no?
I'm using 6.5.20 on a LAMP stack.
OK after some serious debugging, the answer to the question is no. The record is not marked deleted = 1 until after the logic hook is called. And yes you can see die statements as long as you're in the actual "full form", not if you're operating in just a subpanel.
My issue that prompted this question was an issue I was having in the actual logic_hooks.php call. Boy do I miss compiled languages.
Retrieving data ...