Details
-
Type: Bug
-
Status: Won't Do
-
Priority: Major
-
Resolution: Won't Do
-
Affects Version/s: 4.3.0, 4.3.1, 4.3.2, 4.3.3
-
Fix Version/s: Unscheduled
-
Component/s: CiviCRM Search, Joomla Integration
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
Description
I have encountered a bug with the Basic Search in Joomla when you access it from the front end where it doesn't seem to recognize how many contacts are selected when you try to perform an action. The best examples are if you try to send an email you get a CiviCRM-001 error and when you try to export contacts or mailing labels you get blank files. I have been able to reproduce this on the demo site and have tried to trace the actual cause but have gotten stuck. Here is what I have found so far.
- This only happens on the front end, accessing the Basic Search from the administrator panel does not run into this problem
- Even if you are an administrator logging into the front end the error occurs, so it isn't a permissions issue.
- When you pick All x records you get the results mentioned above. If you try to hand pick some contacts from the list it continues to say 0 Selected records only and you get the "Please select one or more contacts" pop up message.
- If you do a check all then the background of the whole page turns yellow instead of just all of the contacts.
- The following error is recorded in the logs:
May 19 21:31:01 [info] $Fatal Error Details = Array
(
[message] =>
[code] =>
)
May 19 21:31:01 [info] $backTrace = #0 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(315): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/Token.php(997): CRM_Core_Error::fatal()
#2 /home/wcradmin/public_html/civi.custom/sitephp/CRM/Contact/Form/Task/EmailCommon.php(196): CRM_Utils_Token::getTokenDetails((Array:0), (Array:7), FALSE, FALSE)
#3 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Contact/Form/Task/Email.php(109): CRM_Contact_Form_Task_EmailCommon::buildQuickForm(Object(CRM_Contact_Form_Task_Email))
#4 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php(349): CRM_Contact_Form_Task_Email->buildQuickForm()
#5 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Display.php(93): CRM_Core_Form->buildForm()
#6 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Contact_Form_Task_Email), "display")
#7 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contact_Form_Task_Email), "display")
#8 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php(316): HTML_QuickForm_Page->handle("display")
#9 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(292): CRM_Core_Controller->run((Array:3), (Array:0))
#10 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:13))
#11 /home/wcradmin/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#12 /home/wcradmin/public_html/components/com_civicrm/civicrm.php(85): CRM_Core_Invoke::invoke((Array:3))
#13 /home/wcradmin/public_html/components/com_civicrm/civicrm.php(11): civicrm_invoke()
#14 /home/wcradmin/public_html/libraries/joomla/application/component/helper.php(383): require_once("/home/wcradmin/public_html/components/com_civicrm/civicrm.php")
#15 /home/wcradmin/public_html/libraries/joomla/application/component/helper.php(351): JComponentHelper::executeComponent("/home/wcradmin/public_html/components/com_civicrm/civicrm.php")
#16 /home/wcradmin/public_html/includes/application.php(197): JComponentHelper::renderComponent("com_civicrm")
#17 /home/wcradmin/public_html/index.php(42): JSite->dispatch()
#18
I'm leaning toward a JQuery/Javascript issue when it comes to selecting contacts, but I am not sure where. That's where I have gotten to, but I'm not sure where the actual error is. I'm hoping someone with more familiarity with the code can take the final step.