Has anyone had an issue where the select button does not work in the pop up view? I did an install from softaculous from my C-Panel.
Version 7.10.17
Sugar Version 6.5.25 (Build 344)
I have not done any customisations or changed any code.
I get the below error in the browser javascript console
Failed to load resource: the server responded with a status of 404 ()
Uncaught TypeError: Cannot read property ‘passthru_data’ of undefined
at send_back_selected (popup_helper.js?v=K75RtoC1QGjoBNPwjlrtAQ:56)
at HTMLInputElement.onclick (index.php?module=Contacts&action=Popup&hide_clear_button=true&mode=MultiSelect&create=true&metadata=undefined:896)
Can you get more information about that 404 error? That is “resource not found on the server”. Does it tell you which resource the server coulnd’t find?
Okay a recent update borked this it seems. Looking at the button code
<input class="button" type="button" id="MassUpdate_select_button" value="Select" onclick="send_back_selected('Contacts',document.MassUpdate,'mass[]','Please make a selection before proceeding.');" kl_vkbd_parsed="true">
Looking at the code in popup_helper.js:
send_back_selected has a 5th parameter and there are lots of calls to this that do NOT include this 5ht parameter. until recently there was code in the function that fixed a missing 5th parameter however this has been removed. Also recently updated (based on the issues log) has been a fix for using the overrides to Popup.php within modules (ie so it doesnt use the default Popup.php as it did previously where there is a correct 5th parameter).