by CM & Sugar

Need to set up a numbering system to track your records? Define and add a unique identifier field to any SuiteCRM record. Option rich so that you can define the alphanumeric format that you need. Start tracking your Quote, Cases, Accounts and any other module today.

Includes a 30 day guarantee
Try it Now

#3979 - Logic Hook stoping Leads upload

Closed Bug? created by Power Choice Verified Purchase a year ago

When I comment this hook out my uploads work but sequences do not. $hook_array['before_save'] = Array(); $hook_array['before_save'][] = Array(77, 'updateGeocodeInfo', 'modules/Leads/LeadsJjwg_MapsLogicHook.php','LeadsJjwg_MapsLogicHook', 'updateGeocodeInfo'); $hook_array['before_save'][] = Array(3, 'b8f3b575-9a34-9cab-2bfe-603f34b30724_Sequences', 'modules/Sequences/HooksForSequence.php','HooksForSequence', 'before_save'); $hook_array['after_save'] = Array(); $hook_array['after_save'][] = Array(77, 'updateRelatedMeetingsGeocodeInfo', 'modules/Leads/LeadsJjwg_MapsLogicHook.php','LeadsJjwg_MapsLogicHook', 'updateRelatedMeetingsGeocodeInfo'); $hook_array['after_retrieve'] = Array(); // $hook_array['after_retrieve'][] = Array(1, 'b8f3b575-9a34-9cab-2bfe-603f34b30724_Sequences', 'modules/Sequences/HooksForSequence.php','HooksForSequence', 'after_retrieve');

  1. cm_sugar member avatar

    CM & Sugar Provider Affiliate

    a year ago

    Hi, how your uploads are processed? Do you use import, manual customization or another plug-in? after_retrieve is just manipulating the data. Can you check custom/modules/logic_hooks.php as well?

    • cm_sugar member avatar

      CM & Sugar Provider Affiliate

      a year ago

      What SuiteCR; Version is running?

    • powerchoice member avatar

      Power Choice Verified Purchase

      a year ago

      We use the normal import via csv from SuiteCRM

    • powerchoice member avatar

      Power Choice Verified Purchase

      a year ago

      Version 7.11.20

      Sugar Version 6.5.25 (Build 344)

  2. powerchoice member avatar

    Power Choice Verified Purchase

    a year ago

    cat logic_hooks.php

    <?php // Do not store anything in this file that is not part of the array or the hook version. This file will // be automatically rebuilt in the future. $hook_version = 1; $hook_array = Array(); // position, file, function $hook_array['after_ui_footer'] = Array(); $hook_array['after_ui_footer'][] = Array(10, 'popup_onload', 'modules/SecurityGroups/AssignGroups.php','AssignGroups', 'popup_onload'); $hook_array['after_ui_frame'] = Array(); $hook_array['after_ui_frame'][] = Array(20, 'mass_assign', 'modules/SecurityGroups/AssignGroups.php','AssignGroups', 'mass_assign'); $hook_array['after_ui_frame'][] = Array(4, 'Sequences', 'modules/Sequences/HooksForSequence.php','HooksForSequence', 'after_ui_frame'); $hook_array['after_ui_frame'][] = Array(11, 'Sugar Asterisk Integration', 'custom/modules/Asterisk/include/LoadConnector.php','LoadConnector', 'echoJavaScript'); $hook_array['after_save'] = Array(); $hook_array['after_save'][] = Array(30, 'popup_select', 'modules/SecurityGroups/AssignGroups.php','AssignGroups', 'popup_select'); $hook_array['after_save'][] = Array(1, 'AOD Index Changes', 'modules/AOD_Index/AOD_LogicHooks.php','AOD_LogicHooks', 'saveModuleChanges'); $hook_array['after_delete'] = Array(); $hook_array['after_delete'][] = Array(1, 'AOD Index changes', 'modules/AOD_Index/AOD_LogicHooks.php','AOD_LogicHooks', 'saveModuleDelete'); $hook_array['after_restore'] = Array(); $hook_array['after_restore'][] = Array(1, 'AOD Index changes', 'modules/AOD_Index/AOD_LogicHooks.php','AOD_LogicHooks', 'saveModuleRestore');

  3. cm_sugar member avatar

    CM & Sugar Provider Affiliate

    a year ago

    I sent the lastest version to "fin@powerchoice.com.au". I couldnt find any issue yet. Maybe it will get resolved after updating. Otherwise please provide me the requested information

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...