Development issueshttps://lab.civicrm.org/groups/dev/-/issues2019-07-31T10:19:32Zhttps://lab.civicrm.org/dev/core/-/issues/1042Custom field set for activities displays twice on a popup view from activity ...2019-07-31T10:19:32ZDaveDCustom field set for activities displays twice on a popup view from activity search1. Add a custom field set for activities.
2. Create an activity.
3. Go to search - find activities.
4. Click the View action link.
5. In the popup the custom field set appears twice, once in read mode and once in edit mode.
It doesn't h...1. Add a custom field set for activities.
2. Create an activity.
3. Go to search - find activities.
4. Click the View action link.
5. In the popup the custom field set appears twice, once in read mode and once in edit mode.
It doesn't happen when viewing the activity from a contact's activities tab.5.16.0https://lab.civicrm.org/dev/core/-/issues/1038Fix checksum failure on editing recurring Membership & Contribution2019-06-27T00:13:20ZtapashFix checksum failure on editing recurring Membership & ContributionI am on drupal 7.67 and civi 5.14.0.
Following link that gets attached to membership renewal email takes to login page
* https://example.com/civicrm/contribute/unsubscribe?reset=1&mid=48&cs=03d60b3dd9164
* https://example.com/civicrm/c...I am on drupal 7.67 and civi 5.14.0.
Following link that gets attached to membership renewal email takes to login page
* https://example.com/civicrm/contribute/unsubscribe?reset=1&mid=48&cs=03d60b3dd9164
* https://example.com/civicrm/contribute/updatebilling?reset=1&mid=48&cs=03d60b3dd91
Although following recurring contribution link shows the page content but still shows popup message...
* https://example.com/index.php?q=civicrm/contribute/updaterecur&reset=1&coid=31031&cs=b53ab88a0010ed3a9
![Screenshot_2019-06-12_at_18.50.39](/uploads/85512b40438dcd0e198fddc51dd64c00/Screenshot_2019-06-12_at_18.50.39.png)5.15.0https://lab.civicrm.org/dev/core/-/issues/1035Incorrect Resource URLs message when they are correctly set2020-08-16T21:26:20ZJGauntIncorrect Resource URLs message when they are correctly setWe have recently upgraded to CiviCRM 5.13.4 on Drupal 7 and quite a lot of sites have the issue where the 'Incorrect Resource URL' message is showing despite them being set correctly.
Most of the sites are just the default paths so I fi...We have recently upgraded to CiviCRM 5.13.4 on Drupal 7 and quite a lot of sites have the issue where the 'Incorrect Resource URL' message is showing despite them being set correctly.
Most of the sites are just the default paths so I find it hard to believe that there is problems on all of them.
Pre-upgrade, the websites were not showing the message.
This doesn't seem to be an isolated incident as another member of the community has also said that he had the same issue.5.15.0https://lab.civicrm.org/dev/core/-/issues/1030Seach builder doesn't work with search action "schedule/send via CiviMail"2019-07-10T16:31:48ZJonGoldSeach builder doesn't work with search action "schedule/send via CiviMail"To replicate on master:
* Create a search on search builder, e.g. "Individual - First Name - = - Nicole".
* Run the search. Note the correct number of contacts.
* Select all contacts and then "Email - schedule/send via CiviMail".
* Note...To replicate on master:
* Create a search on search builder, e.g. "Individual - First Name - = - Nicole".
* Run the search. Note the correct number of contacts.
* Select all contacts and then "Email - schedule/send via CiviMail".
* Note the number of recipients and its lack of correlation with the actual number of contacts.
Essentially, we're passing the wrong set of params into the methods that create the hidden smart group, so the smart group that's created is garbage. Fixing the params fixes the problem.5.15.0JonGoldJonGoldhttps://lab.civicrm.org/dev/core/-/issues/1025Contact.get query wrongly excludes contacts when return includes custom fields2019-06-07T09:14:48ZPatrick Figelpfigel@greenpeace.orgContact.get query wrongly excludes contacts when return includes custom fieldsOn latest master (but not on 5.13 or 5.14), `Contact.get` does not return contacts that do not have any activities if the API call asks for custom fields to be returned. Sample requests:
cv api Contact.get sequential=1 id=203
{
...On latest master (but not on 5.13 or 5.14), `Contact.get` does not return contacts that do not have any activities if the API call asks for custom fields to be returned. Sample requests:
cv api Contact.get sequential=1 id=203
{
"is_error": 0,
"version": 3,
"count": 1,
"id": 203,
"values": [
{
"contact_id": "203",
"contact_type": "Individual",
...
}
]
}
cv api Contact.get sequential=1 return="custom_1" id=203
{
"is_error": 0,
"version": 3,
"count": 0,
"values": []
}
The API call generates this query:
```sql
SELECT contact_a.id as contact_id, civicrm_value_volunteer_com_6.id as civicrm_value_volunteer_com_6_id, civicrm_value_volunteer_com_6.volunteer_project_id_12 as custom_12, civicrm_value_volunteer_inf_5.id as civicrm_value_volunteer_inf_5_id, civicrm_value_volunteer_inf_5.camera_skill_level_11 as custom_11, civicrm_value_constituent_information_1.id as civicrm_value_constituent_information_1_id, civicrm_value_constituent_information_1.most_important_issue_1 as custom_1, civicrm_value_constituent_information_1.marital_status_2 as custom_2, civicrm_value_constituent_information_1.marriage_date_3 as custom_3, civicrm_value_donor_information_3.id as civicrm_value_donor_information_3_id, civicrm_value_donor_information_3.how_long_have_you_been_a_donor_6 as custom_6, civicrm_value_donor_information_3.known_areas_of_interest_5 as custom_5, civicrm_value_food_preference_2.id as civicrm_value_food_preference_2_id, civicrm_value_food_preference_2.soup_selection_4 as custom_4, civicrm_value_civivolunteer_4.id as civicrm_value_civivolunteer_4_id, civicrm_value_civivolunteer_4.volunteer_need_id_7 as custom_7, civicrm_value_civivolunteer_4.time_scheduled_in_minutes_9 as custom_9, civicrm_value_civivolunteer_4.volunteer_role_id_8 as custom_8, civicrm_value_civivolunteer_4.time_completed_in_minutes_10 as custom_10 FROM civicrm_contact contact_a LEFT JOIN civicrm_contribution ON civicrm_contribution.contact_id = contact_a.id
LEFT JOIN civicrm_participant ON civicrm_participant.contact_id = contact_a.id
LEFT JOIN civicrm_activity_contact
ON ( civicrm_activity_contact.contact_id = contact_a.id ) LEFT JOIN civicrm_activity
ON ( civicrm_activity.id = civicrm_activity_contact.activity_id
AND civicrm_activity.is_deleted = 0 AND civicrm_activity.is_current_revision = 1 )
INNER JOIN civicrm_contact ON ( civicrm_activity_contact.contact_id = civicrm_contact.id and civicrm_contact.is_deleted != 1 )
LEFT JOIN civicrm_value_civivolunteer_4 ON civicrm_value_civivolunteer_4.entity_id = `civicrm_activity`.id
LEFT JOIN civicrm_value_constituent_information_1 ON civicrm_value_constituent_information_1.entity_id = `contact_a`.id
LEFT JOIN civicrm_value_donor_information_3 ON civicrm_value_donor_information_3.entity_id = `civicrm_contribution`.id
LEFT JOIN civicrm_value_food_preference_2 ON civicrm_value_food_preference_2.entity_id = `civicrm_participant`.id
LEFT JOIN civicrm_value_volunteer_com_6 ON civicrm_value_volunteer_com_6.entity_id = `civicrm_activity`.id
LEFT JOIN civicrm_value_volunteer_inf_5 ON civicrm_value_volunteer_inf_5.entity_id = `contact_a`.id WHERE ( contact_a.id = '203' ) LIMIT 0, 25
```
It contains an `INNER JOIN` based on `civicrm_activity_contact`, so any contacts without rows in `civicrm_activity_contact` would not be included.
In https://github.com/civicrm/civicrm-core/pull/14394 @eileen managed to get it to `INNER JOIN` on `civicrm_case` as well, so there might be different variants of this issue.5.15.0https://lab.civicrm.org/dev/core/-/issues/1017WordPress, ipn/extern.php: Call to undefined function get_option() in CRM_Uti...2019-06-05T22:31:58ZFrancis (Agileware)WordPress, ipn/extern.php: Call to undefined function get_option() in CRM_Utils_System_WordPress->getTimeZoneString()Since CiviCRM 5.11.0, PayPalIPN is trying to get the timezone from the `CRM_Core_Config::singleton()->userSystem`.
This uses `get_option()` when `userSystem` is `CRM_Utils_System_WordPress` which is not available until WordPress is boot...Since CiviCRM 5.11.0, PayPalIPN is trying to get the timezone from the `CRM_Core_Config::singleton()->userSystem`.
This uses `get_option()` when `userSystem` is `CRM_Utils_System_WordPress` which is not available until WordPress is bootstrapped.
At this point, as Joomla Drupal and Backdrop are all bootstrapped in the `extern/ipn.php` script in master & 5.15, it seems the obvious solution is to always call `CRM_Utils_System::loadBootstrap` before running the selected `$paypalIPN` class. I'm also not sure why Joomla would need the user loaded, which is the difference between the Joomla and Drupal/Backdrop calls currently available.
Agileware ref is CIVICRM-12285.14.0https://lab.civicrm.org/dev/core/-/issues/1015Errors exporting contributions on 5.13.22019-07-08T21:27:09ZlandbryoErrors exporting contributions on 5.13.2We've been experiencing issues exporting contributions since upgrading to 5.13.2 . I've seen mention that a lot of the export functionality has been getting cleaned up. Has anyone else been having this issue?
**Steps Taken:**
Find Contr...We've been experiencing issues exporting contributions since upgrading to 5.13.2 . I've seen mention that a lot of the export functionality has been getting cleaned up. Has anyone else been having this issue?
**Steps Taken:**
Find Contributions
Choose Date Range: 1/1/19 - 6/3/19
Contribution Amounts: 1 - 10,000,000
Contributions: Both
Financial Type: Donations, Donations: 30/30; Donations: Bequests; Donation: EOY; Donation: Major Donor; Donation: Non-Major; Grant: Corporate; Grants: Foundations; Grant: Government
Click Search
Export All 146 Records
Actions: Export Contributions
Continue
**Error Thrown:**
~~~~#0 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(192): CRM_Core_Error::backtrace()
#1 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(922): CRM_Core_Error::handle(Object(DB_Error))
#2 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/packages/DB.php(985): PEAR_Error->__construct("DB Error: no such field", -19, 16, (Array:2), "SELECT contact_a.id as contact_id, contact_a.contact_type as `contact_type`, ...")
#3 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(575): DB_Error->__construct(-19, 16, (Array:2), "SELECT contact_a.id as contact_id, contact_a.contact_type as `contact_type`, ...")
#4 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(223): PEAR->_raiseError(Object(DB_mysqli), NULL, -19, 16, (Array:2), "SELECT contact_a.id as contact_id, contact_a.contact_type as `contact_type`, ...", "DB_Error", TRUE)
#5 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1907): PEAR->__call("raiseError", (Array:7))
#6 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/mysqli.php(933): DB_common->raiseError(-19, NULL, NULL, "SELECT contact_a.id as contact_id, contact_a.contact_type as `contact_type`, ...", "1054 ** Unknown column 'contribution_search_scredit_combined.scredit_idLEFT' ...")
#7 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/mysqli.php(403): DB_mysqli->mysqliRaiseError()
#8 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1216): DB_mysqli->simpleQuery("SELECT contact_a.id as contact_id, contact_a.contact_type as `contact_type`, ...")
#9 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(2415): DB_common->query("SELECT contact_a.id as contact_id, contact_a.contact_type as `contact_type`, ...")
#10 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(1607): DB_DataObject->_query("SELECT contact_a.id as contact_id, contact_a.contact_type as `contact_type`, ...")
#11 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(439): DB_DataObject->query("SELECT contact_a.id as contact_id, contact_a.contact_type as `contact_type`, ...")
#12 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(1414): CRM_Core_DAO->query("SELECT contact_a.id as contact_id, contact_a.contact_type as `contact_type`, ...", TRUE)
#13 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Export/BAO/Export.php(448): CRM_Core_DAO::executeQuery("SELECT contact_a.id as contact_id, contact_a.contact_type as `contact_type`, ...")
#14 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Export/Form/Select.php(428): CRM_Export_BAO_Export::exportComponents(TRUE, (Array:147), (Array:8), "`receive_date` desc, contact_a.id", NULL, NULL, 2, " civicrm_contribution.id IN ( 46217,46115,46104,46131,46127,46085,46042,46034...", NULL, 0, 0, (Array:5), NULL)
#15 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(490): CRM_Export_Form_Select->postProcess()
#16 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
#17 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Export_Form_Select), "next", "Next")
#18 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Export_Form_Select), "next")
#19 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Export_Form_Select), "next")
#20 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(349): HTML_QuickForm_Page->handle("next")
#21 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(311): CRM_Core_Controller->run((Array:3), NULL)
#22 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(85): CRM_Core_Invoke::runItem((Array:14))
#23 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#24 /home/{USERNAME}/public_html/wp-content/plugins/civicrm/civicrm.php(1392): CRM_Core_Invoke::invoke((Array:3))
#25 /home/{USERNAME}/public_html/wp-includes/class-wp-hook.php(286): CiviCRM_For_WordPress->invoke("")
#26 /home/{USERNAME}/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters("", (Array:1))
#27 /home/{USERNAME}/public_html/wp-includes/plugin.php(465): WP_Hook->do_action((Array:1))
#28 /home/{USERNAME}/public_html/wp-admin/admin.php(253): do_action("toplevel_page_CiviCRM")
DB Error: no such field5.14.0https://lab.civicrm.org/dev/core/-/issues/1014Warnings on contribution dashboard about convertTextStringsToUseLikeOperator()2019-06-05T22:26:41ZDaveDWarnings on contribution dashboard about convertTextStringsToUseLikeOperator()It must be something recent (maybe this one? https://github.com/civicrm/civicrm-core/pull/14354). Am seeing it on local master and on PR test sites:
`Notice: Undefined index: Contribution in CRM_Core_Form_Search->convertTextStringsToUse...It must be something recent (maybe this one? https://github.com/civicrm/civicrm-core/pull/14354). Am seeing it on local master and on PR test sites:
`Notice: Undefined index: Contribution in CRM_Core_Form_Search->convertTextStringsToUseLikeOperator() (line 265 of /home/jenkins/bknix-dfl/build/core-14419-2m56w/sites/all/modules/civicrm/CRM/Core/Form/Search.php).`
`Warning: Invalid argument supplied for foreach() in CRM_Core_Form_Search->convertTextStringsToUseLikeOperator() (line 265 of /home/jenkins/bknix-dfl/build/core-14419-2m56w/sites/all/modules/civicrm/CRM/Core/Form/Search.php).`5.15.0https://lab.civicrm.org/dev/core/-/issues/1012Quicksearch: Cannot re-select Name criteria in Chrome (5.14)2019-06-03T23:36:54ZbgmQuicksearch: Cannot re-select Name criteria in Chrome (5.14)How to reproduce:
* This bug is specific to Chrome (v73 or v74)
* CiviCRM 5.14 (RC) or 5.15 master, tested on WordPress and Drupal. Does not affect CiviCRM 5.13.
* In the quicksearch, select any other search criteria
* Now try to select...How to reproduce:
* This bug is specific to Chrome (v73 or v74)
* CiviCRM 5.14 (RC) or 5.15 master, tested on WordPress and Drupal. Does not affect CiviCRM 5.13.
* In the quicksearch, select any other search criteria
* Now try to select the Name (default) criteria again.
![quickseach-select-bug-chrome](/uploads/d7c3b865712add17c1a47eb776043281/quickseach-select-bug-chrome.gif)5.14.0https://lab.civicrm.org/dev/core/-/issues/1004Screen fills with e_notices about metadata when visiting admin - system setti...2019-06-03T20:57:59ZDaveDScreen fills with e_notices about metadata when visiting admin - system settings - componentsI've been seeing this for a week or so just keep forgetting to mention it. The same error is on all the PR test sites too not just my local (separate from the warnings on some PR test sites about languages).
`Notice: Array to string con...I've been seeing this for a week or so just keep forgetting to mention it. The same error is on all the PR test sites too not just my local (separate from the warnings on some PR test sites about languages).
`Notice: Array to string conversion in Civi\Core\SettingsMetadata::_filterSettingsSpecification() (line 149 of blah/blah/sites/all/modules/civicrm/Civi/Core/SettingsMetadata.php).`
Maybe related to https://github.com/civicrm/civicrm-core/pull/14264 somehow?5.15.0https://lab.civicrm.org/dev/core/-/issues/1003Regression: fix to core#976 breaks Drupal 82019-06-05T22:45:25ZJonGoldRegression: fix to core#976 breaks Drupal 8When I upgrade a D8 site to 5.13.5, I get:
```
! ) Fatal error: require(): Failed opening required '/home/jon/local/agbud8/htdocs/vendor/composer/../ezyang/htmlpurifier/library/HTMLPurifier/Bootstrap.php' (include_path='.:/home/jon/loc...When I upgrade a D8 site to 5.13.5, I get:
```
! ) Fatal error: require(): Failed opening required '/home/jon/local/agbud8/htdocs/vendor/composer/../ezyang/htmlpurifier/library/HTMLPurifier/Bootstrap.php' (include_path='.:/home/jon/local/agbud8/htdocs/vendor/civicrm/civicrm-core:/home/jon/local/agbud8/htdocs/vendor/civicrm/civicrm-core/packages:/home/jon/local/agbud8/htdocs/vendor/civicrm/civicrm-core/vendor/tecnickcom:/home/jon/local/agbud8/htdocs/vendor/pear/archive_tar:/home/jon/local/agbud8/htdocs/vendor/pear/auth_sasl:/home/jon/local/agbud8/htdocs/vendor/pear/console_getopt:/home/jon/local/agbud8/htdocs/vendor/pear/log:/home/jon/local/agbud8/htdocs/vendor/pear/mail:/home/jon/local/agbud8/htdocs/vendor/pear/net_smtp:/home/jon/local/agbud8/htdocs/vendor/pear/net_socket:/home/jon/local/agbud8/htdocs/vendor/pear/pear-core-minimal/src:/home/jon/local/agbud8/htdocs/vendor/pear/pear_exception:/home/jon/local/agbud8/htdocs/vendor/pear/validate_finance_creditcard:/home/jon/local/agbud8/htdocs/vendor/phpseclib/phpseclib/phpseclib:.:/usr/share/php') in /home/jon/local/agbud8/htdocs/vendor/symfony/class-loader/ApcClassLoader.php on line 112
Call Stack
# Time Memory Function Location
1 0.0003 402616 {main}( ) .../index.php:0
2 0.0194 2283520 Drupal\Core\DrupalKernel->handle( ) .../index.php:19
3 0.0342 4686376 Stack\StackedHttpKernel->handle( ) .../DrupalKernel.php:693
4 0.0342 4686376 Drupal\Core\StackMiddleware\NegotiationMiddleware->handle( ) .../StackedHttpKernel.php:23
5 0.0342 4687072 Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle( ) .../NegotiationMiddleware.php:52
6 0.0342 4687072 Drupal\page_cache\StackMiddleware\PageCache->handle( ) .../ReverseProxyMiddleware.php:47
7 0.0344 4689688 Drupal\page_cache\StackMiddleware\PageCache->pass( ) .../PageCache.php:85
8 0.0344 4689688 Drupal\Core\StackMiddleware\KernelPreHandle->handle( ) .../PageCache.php:106
9 0.0694 11873608 Drupal\Core\StackMiddleware\Session->handle( ) .../KernelPreHandle.php:47
10 0.0728 12441864 Symfony\Component\HttpKernel\HttpKernel->handle( ) .../Session.php:57
11 0.0728 12442280 Symfony\Component\HttpKernel\HttpKernel->handleRaw( ) .../HttpKernel.php:68
12 0.1506 24881008 Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( ) .../HttpKernel.php:156
13 0.1517 25086072 call_user_func:{/home/jon/local/agbud8/htdocs/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:111} ( ) .../ContainerAwareEventDispatcher.php:111
14 0.1517 25086072 Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray( ) .../ContainerAwareEventDispatcher.php:111
15 0.1523 25152336 Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse( ) .../MainContentViewSubscriber.php:90
16 0.1523 25152336 Drupal\Core\Render\MainContent\HtmlRenderer->prepare( ) .../HtmlRenderer.php:117
17 0.1603 26057152 Drupal\block\Plugin\DisplayVariant\BlockPageVariant->build( ) .../HtmlRenderer.php:259
18 0.1603 26057928 Drupal\block\BlockRepository->getVisibleBlocksPerRegion( ) .../BlockPageVariant.php:137
19 0.1769 28301448 Drupal\block\Entity\Block->access( ) .../BlockRepository.php:56
20 0.1769 28301448 Drupal\block\BlockAccessControlHandler->access( ) .../EntityBase.php:369
21 0.1769 28301616 Drupal\block\BlockAccessControlHandler->checkAccess( ) .../EntityAccessControlHandler.php:105
22 0.1769 28301808 Drupal\block\Entity\Block->getPlugin( ) .../BlockAccessControlHandler.php:118
23 0.1769 28301808 Drupal\block\Entity\Block->getPluginCollection( ) .../Block.php:145
24 0.1769 28302000 Drupal\block\BlockPluginCollection->__construct( ) .../Block.php:156
25 0.1769 28302000 Drupal\block\BlockPluginCollection->__construct( ) .../BlockPluginCollection.php:34
26 0.1769 28302000 Drupal\block\BlockPluginCollection->addInstanceId( ) .../DefaultSingleLazyPluginCollection.php:55
27 0.1769 28302376 Drupal\block\BlockPluginCollection->setConfiguration( ) .../DefaultSingleLazyPluginCollection.php:99
28 0.1770 28302376 Drupal\block\BlockPluginCollection->get( ) .../DefaultSingleLazyPluginCollection.php:83
29 0.1770 28302376 Drupal\block\BlockPluginCollection->get( ) .../BlockPluginCollection.php:45
30 0.1770 28302376 Drupal\block\BlockPluginCollection->initializePlugin( ) .../LazyPluginCollection.php:80
31 0.1770 28302376 Drupal\block\BlockPluginCollection->initializePlugin( ) .../BlockPluginCollection.php:57
32 0.1770 28302376 Drupal\Core\Block\BlockManager->createInstance( ) .../DefaultSingleLazyPluginCollection.php:62
33 0.1770 28302376 Drupal\Core\Plugin\Factory\ContainerFactory->createInstance( ) .../PluginManagerBase.php:76
34 0.1771 28312088 Drupal\civicrm\Plugin\Block\CivicrmBlock::create( ) .../ContainerFactory.php:21
35 0.1771 28312312 Drupal\civicrm\Plugin\Block\CivicrmBlock->__construct( ) .../CivicrmBlock.php:50
36 0.1771 28314136 Drupal\civicrm\Civicrm->initialize( ) .../CivicrmBlock.php:39
37 0.1774 28374088 include_once( '/home/jon/local/agbud8/htdocs/web/sites/default/civicrm.settings.php' ) .../Civicrm.php:45
38 0.1776 28408632 CRM_Core_ClassLoader->register( ) .../civicrm.settings.php:618
39 0.1777 28408840 CRM_Core_ClassLoader->initHtmlPurifier( ) .../ClassLoader.php:137
40 0.1777 28408840 class_exists ( ) .../ClassLoader.php:158
41 0.1777 28408888 spl_autoload_call ( ) .../ClassLoader.php:158
42 0.1777 28408936 Symfony\Component\ClassLoader\ApcClassLoader->loadClass( ) .../ClassLoader.php:158
```
Clearing caches didn't have any effect. Reverting to 5.13.4 resolves the issue.https://lab.civicrm.org/dev/core/-/issues/1002Search displaying Related Contacts produces fatal error2019-06-03T22:21:46ZtommyboboSearch displaying Related Contacts produces fatal errorAs @DaveD mentioned here https://lab.civicrm.org/dev/core/issues/380#note_17294
In 5.13.4 when an advanced search is set to display Related Contacts it produces a fatal error. I have tested on two sites and Dave got the same error on dm...As @DaveD mentioned here https://lab.civicrm.org/dev/core/issues/380#note_17294
In 5.13.4 when an advanced search is set to display Related Contacts it produces a fatal error. I have tested on two sites and Dave got the same error on dmaster.demo.
```
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -19
[message] => DB Error: no such field
[mode] => 16
[debug_info] => SELECT DISTINCT LEFT(contact_a.sort_name, 1) as sort_name
FROM civicrm_contact contact_a LEFT JOIN civicrm_participant ON civicrm_participant.contact_id = contact_a.id LEFT JOIN civicrm_event ON civicrm_participant.event_id = civicrm_event.id
WHERE displayRelType.relationship_type_id = 1
AND displayRelType.is_active = 1
AND (contact_a.is_deleted = 0)
GROUP BY sort_name
ORDER BY sort_name asc [nativecode=1054 ** Unknown column 'displayRelType.relationship_type_id' in 'where clause']
[type] => DB_Error
[user_info] => SELECT DISTINCT LEFT(contact_a.sort_name, 1) as sort_name
FROM civicrm_contact contact_a LEFT JOIN civicrm_participant ON civicrm_participant.contact_id = contact_a.id LEFT JOIN civicrm_event ON civicrm_participant.event_id = civicrm_event.id
WHERE displayRelType.relationship_type_id = 1
AND displayRelType.is_active = 1
AND (contact_a.is_deleted = 0)
GROUP BY sort_name
ORDER BY sort_name asc [nativecode=1054 ** Unknown column 'displayRelType.relationship_type_id' in 'where clause']
[to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT DISTINCT LEFT(contact_a.sort_name, 1) as sort_name
FROM civicrm_contact contact_a LEFT JOIN civicrm_participant ON civicrm_participant.contact_id = contact_a.id LEFT JOIN civicrm_event ON civicrm_participant.event_id = civicrm_event.id
WHERE displayRelType.relationship_type_id = 1
AND displayRelType.is_active = 1
AND (contact_a.is_deleted = 0)
GROUP BY sort_name
ORDER BY sort_name asc [nativecode=1054 ** Unknown column 'displayRelType.relationship_type_id' in 'where clause']"]
)
```5.14.0https://lab.civicrm.org/dev/core/-/issues/976CiviCRM 5.13 upgrade breaks Drupal websites using HTMLPurifier module.2019-12-25T22:06:45Zjustinfreeman (Agileware)CiviCRM 5.13 upgrade breaks Drupal websites using HTMLPurifier module.HTMLPurifier was updated in the CiviCRM 5.13 dependencies, including a change to the loading and bootstrap path.
On Drupal sites using the HTMLPurifier module &/ library, this causes a load error:
`PHP message: PHP Fatal error: Cannot...HTMLPurifier was updated in the CiviCRM 5.13 dependencies, including a change to the loading and bootstrap path.
On Drupal sites using the HTMLPurifier module &/ library, this causes a load error:
`PHP message: PHP Fatal error: Cannot declare class HTMLPurifier_Bootstrap, because the name is already in use in /var/www/vhosts/**DOMAIN**/httpdocs/sites/all/libraries/htmlpurifier/library/HTMLPurifier/Bootstrap.php on line 30`
Originally this appeared to be only affecting the update script, however Drupal front-end pages (e.g. Views) that bootstrap CiviCRM are also affected.
The impact of this problem can be variable:
1. If the CiviCRM Database Upgrade script is being executed in the web browser, then this will abort mid-process and leave the database in an inconsistent state.
2. CiviCRM Database Upgrade using drush will continue and succeed, however errors are logged.
3. Drupal will white-screen and HTTP Error 500 on any CiviCRM integrated pages and views.
Agileware Ref: CIVICRM-12125.13.5https://lab.civicrm.org/dev/core/-/issues/975URL for "New Activity" in the breadcrumb of the "Find Activities" page is inc...2019-05-30T01:27:11Zjustinfreeman (Agileware)URL for "New Activity" in the breadcrumb of the "Find Activities" page is incorrect - uses comma (,) instead of an ampersand (&)URL for "New Activity" in the breadcrumb of the "Find Activities" page is incorrect - uses comma (,) instead of ampersand (&).
The incorrect URL is:
https://dmaster.demo.civicrm.org/civicrm/activity?reset=1&action=add,context=standalone...URL for "New Activity" in the breadcrumb of the "Find Activities" page is incorrect - uses comma (,) instead of ampersand (&).
The incorrect URL is:
https://dmaster.demo.civicrm.org/civicrm/activity?reset=1&action=add,context=standalone
But the correct URL is:
https://dmaster.demo.civicrm.org/civicrm/activity?reset=1&action=add&context=standalone
Clicking the "New Activity" link causes this error.
`Notice: Undefined index: Basic in HTML_QuickForm_Controller->exportValues() (line 495 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php).
Warning: Invalid argument supplied for foreach() in HTML_QuickForm_Controller->exportValues() (line 495 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php).`
Here's a screenshot from dmaster CiviCRM
![Find_Activities___CiviCRM_Sandbox_on_Drupal](/uploads/2cd663447e49fd6e19e2b8e60d39a4ba/Find_Activities___CiviCRM_Sandbox_on_Drupal.png)
Agileware Ref: CIVICRM-12045.14.0https://lab.civicrm.org/dev/core/-/issues/969.gitignore file left in 5.13.4 release2019-05-30T03:29:27Ztommybobo.gitignore file left in 5.13.4 releaseThere is a .gitignore file in the 5.13.4 releases. Inside bower_components/jquery the .gitignore lists /dist containing all the jquery files.
This creates havoc for git managed sites.There is a .gitignore file in the 5.13.4 releases. Inside bower_components/jquery the .gitignore lists /dist containing all the jquery files.
This creates havoc for git managed sites.https://lab.civicrm.org/dev/core/-/issues/968Uncaught javascript errors in Drupal 8 menu toolbar when viewing anonymously2019-06-05T22:44:34ZjohnkUncaught javascript errors in Drupal 8 menu toolbar when viewing anonymouslyThis is a regression, causing javascript problems on public pages, originating with commit b30809e4. This is the error I observed on a public contribution page that I'm currently setting up:
```Uncaught TypeError: Cannot read property '...This is a regression, causing javascript problems on public pages, originating with commit b30809e4. This is the error I observed on a public contribution page that I'm currently setting up:
```Uncaught TypeError: Cannot read property 'left' of undefined at adjustToggle (crm.drupal8.js:10)```
[That line of code](https://lab.civicrm.org/dev/core/blob/master/js/crm.drupal8.js#L10) is looking for `$('#toolbar-item-civicrm')`, which doesn't exist, since it is a public accessible page with no menu.
Since this stops javascript execution, one symptom is that the payment methods selector for loading different payment processor fieldsets doesn't work.
We're on Drupal 8.7.1 and CiviCRM 5.13.4.
To reproduce:
1. drupal 8 based install, make a public contribution page
2. reduce the window width to less than 768 pixels
3. log out and load contribution page5.13.5https://lab.civicrm.org/dev/core/-/issues/950js error in menubar2019-05-10T09:17:07Zeileenjs error in menubarI'm seeing this error in console
Error: Syntax error, unrecognized expression: unsupported pseudo: hover
I see on the web that :hover is deprecated - https://stackoverflow.com/questions/16497457/ishover-is-broken-as-of-jquery-1-9-how-t...I'm seeing this error in console
Error: Syntax error, unrecognized expression: unsupported pseudo: hover
I see on the web that :hover is deprecated - https://stackoverflow.com/questions/16497457/ishover-is-broken-as-of-jquery-1-9-how-to-fix
This should probably be treated as a regression as
a) the code has only recently started shipping
b) we've had some error reports that are a bit mystical but relate to the menu rendering so fixing minor issues like this could reduce confusion
@colemanw5.14.0https://lab.civicrm.org/dev/core/-/issues/943When creating a new activity, it double-creates the activity (5.12+)2021-03-22T11:50:00ZtottenWhen creating a new activity, it double-creates the activity (5.12+)Steps to reproduce:
* __Variations__: (a.1) Open site in Chrome; (a.2) Open site in Firefox
* In "Admin => Display Pref", enable AJAX forms. (This is the default.)
* Navigate to "View Contact" for some contact record
* Choose "Actions =...Steps to reproduce:
* __Variations__: (a.1) Open site in Chrome; (a.2) Open site in Firefox
* In "Admin => Display Pref", enable AJAX forms. (This is the default.)
* Navigate to "View Contact" for some contact record
* Choose "Actions => Meeting"
* In the dialog, enter a "Subject"
* __Variations__: (b.1) Use the mouse-pointer to click the "Save" button; (b.2) Press "Enter" to submit.
* __Observe__: The dialog will close. One activity *should* be created. However, depending on the variation of procedure and the revision of code, there may be two activities created.
Additional notes:
* Observed on 5.12, 5.13, and master using `drupal-clean` build type. But 5.11 seemed OK.
* At first, it seemed a bit random - so one may need to retry a couple times to reproduce it. However, I think I've narrowed it down:
* The problem *does* manifest if you submit the AJAX form by using the mouse-pointer to click the "Save" button
* The problem does *not* manifest if you submit the AJAX form by using the keyboard to press "Enter".
* The problem does *not* manifest with traditional/non-AJAX/full-page forms.
* On 5.12, reverting https://github.com/civicrm/civicrm-core/pull/13342/ fixes the issue. (I've not yet tried reverting on 5.13 or master.)
* (*Note: Should re-check this. At the time when this was tested, I hadn't figured out that it was appropriate to control for keyboard "Enter" versus mouse "Save".*)
* On 5.13, applying https://github.com/civicrm/civicrm-core/pull/14196/commits/0b35176b3eaef3710d40b3c6ab7a0ff83eaf722b or
https://github.com/civicrm/civicrm-core/commit/bd756b532fae718ed3516ec49d7baf914acc0a56 does not produce better errors or fix the issue. (So I think they're dealing with a different aspect of submitOnce)
Related history: There have been several patches/issues in this space in recent months. Here's a snapshot at the time of writing:
* **Make submitOnce() button js into a button parameter** (no gitlab)
* [(PR 13333)](https://github.com/civicrm/civicrm-core/pull/13333) **Make submitOnce() button js into a button parameter** (Dec 20 - Feb 7) (*First Published: 5.12.0*)
* [(PR 13342)](https://github.com/civicrm/civicrm-core/pull/13342) **Remove activitystatus js. Add submitOnce handler for activity create** (Dec 21 - Feb 11) (*First Published: 5.12.0*)
* [(dev/core#903)](https://lab.civicrm.org/dev/core/issues/903) **When adding activity, a double click submits twice** (Apr 26-29) (*Closed dupe as resolved ^^^*)
* [(dev/core#904)](https://lab.civicrm.org/dev/core/issues/904) **PR 13333 breaks the Save and New button on a new case**
* [(PR 14145)](https://github.com/civicrm/civicrm-core/pull/14145) **undo part of 13333** (Apr 26-29) (*First published: 5.13.0*)
* [(dev/core#914)](https://lab.civicrm.org/dev/core/issues/914) **submitOnce revisited** (Apr 29-now)
* [(PR 14196)](https://github.com/civicrm/civicrm-core/pull/14196) **avoid multiple submitOnce buttons until better way** (May 1-now) (*Not yet merged*)5.14.1https://lab.civicrm.org/dev/core/-/issues/942"n/a" appearing instead of named members when viewing activities on a member ...2019-05-14T19:48:37Zsbyrne"n/a" appearing instead of named members when viewing activities on a member profileWe've noticed since upgrading to 5.13 that when viewing "activities" under a members profile "n/a" has stated appearing under some records in the "added by", "with" and "assigned" columns. Usually these would be the names of the appropri...We've noticed since upgrading to 5.13 that when viewing "activities" under a members profile "n/a" has stated appearing under some records in the "added by", "with" and "assigned" columns. Usually these would be the names of the appropriate people on the database. This isn't affecting our Dashboard, we are using the "Activities (Last 7 days) dashlet and here activities are displaying with the appropriate names. The activity type and subject line are also appearing in the right people's profiles.
![image](/uploads/b7983be921ad26a69c50bb2eefbcbf37/image.png)5.13.3https://lab.civicrm.org/dev/core/-/issues/940Email processor filing all emails as .unknown attachments2019-05-20T22:16:22ZDaveDEmail processor filing all emails as .unknown attachmentsSee also https://civicrm.stackexchange.com/questions/30511/auto-filing-e-mails-on-cases-mail-content-not-shown-under-details-and-attachmen
The reporter was using Thunderbird and 5.13.1 but I'm able to reproduce it locally on master with...See also https://civicrm.stackexchange.com/questions/30511/auto-filing-e-mails-on-cases-mail-content-not-shown-under-details-and-attachmen
The reporter was using Thunderbird and 5.13.1 but I'm able to reproduce it locally on master with both gmail and thunderbird generated emails.
I think I saw there was something done with the third-party Mail package recently, moving its location. Not sure if there were any other related changes?5.13.2seamusleeseamuslee