CiviCRM Core issueshttps://lab.civicrm.org/dev/core/-/issues2019-07-03T19:03:44Zhttps://lab.civicrm.org/dev/core/-/issues/1088When you using the "Copy" action for a Profile an error is displayed: "is not...2019-07-03T19:03:44Zjustinfreeman (Agileware)When you using the "Copy" action for a Profile an error is displayed: "is not of type String" and the Profile is still copiedWhen you using the "Copy" action for a Profile an error is displayed: "is not of type String" and the Profile is still copied.
Here's a link to the video with this bug in action, https://app.hyfy.io/share/abHwYlGYxko/
Environment:
* C...When you using the "Copy" action for a Profile an error is displayed: "is not of type String" and the Profile is still copied.
Here's a link to the video with this bug in action, https://app.hyfy.io/share/abHwYlGYxko/
Environment:
* CiviCRM 5.16.alpha1
Agileware Ref: CIVICRM-12635.15.0https://lab.civicrm.org/dev/core/-/issues/1082Send copy of case activity is using the contribution receipt template - actua...2019-06-29T23:04:54ZDaveDSend copy of case activity is using the contribution receipt template - actually all message templates seem to be mixed upNot sure what's going on exactly yet but can reproduce on dmaster.demo.civicrm.org.
1. Create a case.
2. Edit or create a case activity.
3. In the send copy section pick a role.
4. On demo it won't send an email but you can see the acti...Not sure what's going on exactly yet but can reproduce on dmaster.demo.civicrm.org.
1. Create a case.
2. Edit or create a case activity.
3. In the send copy section pick a role.
4. On demo it won't send an email but you can see the activity copy it saves on the case. In the details field it has the contribution receipt template message.
The template itself seems correct under admin - civimail - message templates, so the send copy must be loading the wrong one or something.
It doesn't seem to be a problem on an existing site that was upgraded, but I see it on PR test sites too as well as dmaster.5.15.0https://lab.civicrm.org/dev/core/-/issues/1052Regression: View Activities on contact dashboard when there is an activity wi...2019-06-22T03:07:09ZseamusleeRegression: View Activities on contact dashboard when there is an activity with a target contact but that target contact cannot be seen by the logged in userWe have recently experieneced an issue where there was an activity record that had a target contact assigned to it but the logged in user couldn't see the target nad it broke the loading of the activities tab because it tried calling CRM...We have recently experieneced an issue where there was an activity record that had a target contact assigned to it but the logged in user couldn't see the target nad it broke the loading of the activities tab because it tried calling CRM_Contact_BAO_Contact::getContactType on NULL (L2573 of CRM/Activity/BAO/Activity.php)
This looks like a regression from around 5.135.15.0seamusleeseamusleehttps://lab.civicrm.org/dev/core/-/issues/1048(regression) Search Builder syntax error when "Groups" "is empty"2019-06-27T00:13:42ZJonGold(regression) Search Builder syntax error when "Groups" "is empty"This is new in 5.13.0 and was reported here. It's easy to replicate from the screenshot:
https://civicrm.stackexchange.com/questions/31083/in-civicrm-rel-5-14-the-search-builder-no-longer-provides-some-results
This regression occurs as ...This is new in 5.13.0 and was reported here. It's easy to replicate from the screenshot:
https://civicrm.stackexchange.com/questions/31083/in-civicrm-rel-5-14-the-search-builder-no-longer-provides-some-results
This regression occurs as a result of [PR 13603](https://github.com/civicrm/civicrm-core/pull/13603) which is intended to fix core#726.5.15.0https://lab.civicrm.org/dev/core/-/issues/1044Contact images broken when file extension is capitalised (e.g ..JPG) "Supplie...2019-06-19T01:07:38ZAndrew ThompsonContact images broken when file extension is capitalised (e.g ..JPG) "Supplied mime-type does not match file extension"We have a number of existing contact images that are now displayed as broken links. These images all have uppercase file extensions ".JPG". This error is displayed: "Supplied mime-type does not match file extension".
This behaviour comm...We have a number of existing contact images that are now displayed as broken links. These images all have uppercase file extensions ".JPG". This error is displayed: "Supplied mime-type does not match file extension".
This behaviour commenced with 5.13.4 and is still present in 5.14.0.
This error message looks to have been introduced commit [b5230444](https://github.com/tadpolecc/civicrm/commit/b5230444dd64249e15f0040d89123e49386663e8) in `civicrm/CRM/Core/Page/File.php`.
Trying to debug this, in `run()` for one of my broken images with extension .JPG:
`$extension` contains `JPG` in uppercase
`$candidateExtensions` contains `['0' => 'jpeg', '1' => 'jpg', '2' => 'jpe']` all in lowercase.
What is puzzling me is that I cannot reproduce this on dmaster but yet I do still see the problem when I test locally with the master code and I can't see any relevant changes. I'm using Joomla 3.9.8 so it could be CMS-dependent but it's not immediately obvious how.5.15.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/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/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/1074Remove from groups is action is broken when searching of contacts within a group2019-06-30T00:07:10ZseamusleeRemove from groups is action is broken when searching of contacts within a groupWhen you get a list of contacts within a group by going to contacts -> manage groups -> contacts and then go and select a contact and then select contacts - remove from groups it fails on a DB syntax error. However doing a similar thing ...When you get a list of contacts within a group by going to contacts -> manage groups -> contacts and then go and select a contact and then select contacts - remove from groups it fails on a DB syntax error. However doing a similar thing via advanced search works. It looks like the prevNextCache is not getting populated sensibly
Error and backtrace
```
[to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::exceptionHandler prefix="" info="SELECT *
FROM civicrm_contact
WHERE (id IN ())
[nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))' at line 3]"]
)
Jun 26 08:02:55 [info] $backTrace = #0 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Core/Error.php(952): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(922): CRM_Core_Error::exceptionHandler(Object(DB_Error))
#2 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/packages/DB.php(985): PEAR_Error->__construct("DB Error: syntax error", -2, 16, (Array:2), "SELECT *\nFROM civicrm_contact\nWHERE (id IN ())\n [nativecode=1064 ** You ha...")
#3 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(575): DB_Error->__construct(-2, 16, (Array:2), "SELECT *\nFROM civicrm_contact\nWHERE (id IN ())\n [nativecode=1064 ** You ha...")
#4 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/vendor/pear/pear-core-minimal/src/PEAR.php(223): PEAR->_raiseError(Object(DB_mysqli), NULL, -2, 16, (Array:2), "SELECT *\nFROM civicrm_contact\nWHERE (id IN ())\n [nativecode=1064 ** You ha...", "DB_Error", TRUE)
#5 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/packages/DB/common.php(1907): PEAR->__call("raiseError", (Array:7))
#6 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/packages/DB/mysqli.php(933): DB_common->raiseError(-2, NULL, NULL, "SELECT *\nFROM civicrm_contact\nWHERE (id IN ())\n [nativecode=1064 ** You ha...", "1064 ** You have an error in your SQL syntax; check the manual that correspon...")
#7 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/packages/DB/mysqli.php(403): DB_mysqli->mysqliRaiseError()
#8 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/packages/DB/common.php(1216): DB_mysqli->simpleQuery("SELECT *\nFROM civicrm_contact\nWHERE (id IN ())\n")
#9 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/packages/DB/DataObject.php(2415): DB_common->query("SELECT *\nFROM civicrm_contact\nWHERE (id IN ())\n")
#10 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/packages/DB/DataObject.php(1607): DB_DataObject->_query("SELECT *\nFROM civicrm_contact\nWHERE (id IN ())\n")
#11 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Core/DAO.php(439): DB_DataObject->query("SELECT *\nFROM civicrm_contact\nWHERE (id IN ())\n")
#12 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Core/DAO.php(1414): CRM_Core_DAO->query("SELECT *\nFROM civicrm_contact\nWHERE (id IN ())\n", TRUE)
#13 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Utils/SQL/Select.php(517): CRM_Core_DAO::executeQuery("SELECT *\nFROM civicrm_contact\nWHERE (id IN ())\n", (Array:0), TRUE, NULL, FALSE, TRUE, FALSE)
#14 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Contact/Form/Task.php(491): CRM_Utils_SQL_Select->execute()
#15 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Contact/Form/Task.php(272): CRM_Contact_Form_Task::getSelectedContactNames()
#16 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Contact/Form/Task.php(91): CRM_Contact_Form_Task::preProcessCommon(Object(CRM_Contact_Form_Task_RemoveFromGroup))
#17 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Core/Form.php(590): CRM_Contact_Form_Task->preProcess()
#18 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php(92): CRM_Core_Form->buildForm()
#19 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Contact_Form_Task_RemoveFromGroup), "display")
#20 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contact_Form_Task_RemoveFromGroup), "display")
#21 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("display")
#22 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Core/Invoke.php(311): CRM_Core_Controller->run((Array:3), (Array:0))
#23 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Core/Invoke.php(85): CRM_Core_Invoke::runItem((Array:14))
#24 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#25 /home/seamus/buildkit/build/47-test/sites/all/modules/civicrm/drupal/civicrm.module(444): CRM_Core_Invoke::invoke((Array:3))
#26 /home/seamus/buildkit/build/47-test/includes/menu.inc(527): civicrm_invoke("group", "search")
#27 /home/seamus/buildkit/build/47-test/index.php(21): menu_execute_active_handler()
```5.15.0https://lab.civicrm.org/dev/core/-/issues/1023E_NOTICE when creating bulk SMS2019-06-06T10:27:12ZDaveDE_NOTICE when creating bulk SMS1. Under Mailings choose New SMS.
2. Start creating the SMS. Click Next.
3. Fill out some text. Click Next.
4. Now when you click any of the three buttons to either go back, submit, or continue later, you get the notice:
`Notice: Undefi...1. Under Mailings choose New SMS.
2. Start creating the SMS. Click Next.
3. Fill out some text. Click Next.
4. Now when you click any of the three buttons to either go back, submit, or continue later, you get the notice:
`Notice: Undefined index: Subject in civicrm_api3_mailing_preview() (line 597 of blah/blah/api/v3/Mailing.php).`
Everything still works, it's just because SMS doesn't have a subject.5.15.0https://lab.civicrm.org/dev/core/-/issues/1016Small bug with impact on translation in confirm.tpl2019-11-24T06:16:33ZGuillaumeSorelSmall bug with impact on translation in confirm.tplI found that some strings in /sites/all/modules/civicrm/templates/CRM/Contribute/Form/Contribution/Confirm.tpl were not translated because of a line break in code lines 298 >> 301.
`{if $is_pay_later OR $amount LE 0.0}
{ts 1=$...I found that some strings in /sites/all/modules/civicrm/templates/CRM/Contribute/Form/Contribution/Confirm.tpl were not translated because of a line break in code lines 298 >> 301.
`{if $is_pay_later OR $amount LE 0.0}
{ts 1=$button}Your transaction will not be completed until you click the <strong>%1</strong> button. Please click the button one time only.{/ts}
{else}
{ts 1=$button}Your contribution will not be completed until you click the <strong>%1</strong> button. Please click the button one time only.{/ts}
{/if}`
When corrected, theses strings are correctly translated otherwise would they stay in English.5.15.0https://lab.civicrm.org/dev/core/-/issues/1005"Confirm this subscription" URL generated by MailingEventSubscribe API should...2019-06-03T11:24:05Zhaystack"Confirm this subscription" URL generated by MailingEventSubscribe API should always be a front-end URLFollowing on from discussion on [this WordPress issue](https://lab.civicrm.org/dev/wordpress/issues/27#note_18352), it seems that [the code in CiviCRM Core which generates the URL](https://github.com/civicrm/civicrm-core/blob/master/CRM/...Following on from discussion on [this WordPress issue](https://lab.civicrm.org/dev/wordpress/issues/27#note_18352), it seems that [the code in CiviCRM Core which generates the URL](https://github.com/civicrm/civicrm-core/blob/master/CRM/Mailing/Event/BAO/Subscribe.php#L232-L235) for use in the subscription confirmation email triggered via the `MailingEventSubscribe` API does not always force the URL to be a front-end URL.
This can be reproduced by using the CiviCRM API Explorer in WordPress but also applies (as is the case for the reporter) when a form is submitted via the standard WordPress AJAX route of `admin_url('admin-ajax.php')`.
PR to follow.5.15.0https://lab.civicrm.org/dev/core/-/issues/994Can't set a non-breaking space as Thousands Separator in Administer > Localiz...2019-05-30T12:27:11Zolivier-13Can't set a non-breaking space as Thousands Separator in Administer > Localization settingsIn France, the typographic rule to separate thousands is a non-breaking space. When I try to set this value in 'Thousands Separator' field (with ALTGR + SPACE in Ubuntu), I have the error 'Thousands Separator can not have more than 1 cha...In France, the typographic rule to separate thousands is a non-breaking space. When I try to set this value in 'Thousands Separator' field (with ALTGR + SPACE in Ubuntu), I have the error 'Thousands Separator can not have more than 1 character.
It works fine with regular space (SPACE).5.15.0https://lab.civicrm.org/dev/core/-/issues/981Sorting event participants ignores search criteria2019-05-30T01:27:11ZalainbSorting event participants ignores search criteriaWhen you find participants of a particular event, and then sort them (e.g. alphabetically), you get all participants (not only of the selected event).
You can easily reproduce this bug in the demo environment:
* go to Events > Find Pa...When you find participants of a particular event, and then sort them (e.g. alphabetically), you get all participants (not only of the selected event).
You can easily reproduce this bug in the demo environment:
* go to Events > Find Participants
* select an event in the field Event Name (e.g. Rain-forrest Cup Youth Soccer Tournament)
* click the Search button
* (in case of the event Rain-forrest Cup Youth Soccer Tournament, you'll get 20 records)
* click on the column header "Participant"
==> you'll get the participants of ALL events.
However, when you click "Edit Search Criteria", you'll see the selected event is still there.5.15.0https://lab.civicrm.org/dev/core/-/issues/980Support latest phpunit versions2019-05-30T22:37:18ZeileenSupport latest phpunit versionsCurrently we extend a class in our unit tests that belongs with a pre-namespaced phpunit. There is a migration path summed up as
"If you want to update a simple project, where the only usage of PHPUnit classes is to create tests, you ar...Currently we extend a class in our unit tests that belongs with a pre-namespaced phpunit. There is a migration path summed up as
"If you want to update a simple project, where the only usage of PHPUnit classes is to create tests, you are very lucky. You need to require at minimum PHPUnit 4.8.35 or 5.4.3, which includes the FC class PHPUnit\Framework\TestCase as an alias for \PHPUnit_Framework_TestCase."
https://engineering.facile.it/blog/eng/phpunit-upgrade-namespace/
But from my digging I think we need to remove dbunit first (sebastianbergmann/dbunit#217) - which I've started doing5.15.0https://lab.civicrm.org/dev/core/-/issues/973Old extern/ipn.php script fails bootstrap2019-06-02T22:32:45ZRichOld extern/ipn.php script fails bootstrapI get the following error message in php logs:
```
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function variable_get() in ...sites/all/modules/civicrm/CRM/Utils/System/Drupal.php:790
Stack trace:
#0 ...sites/all/mo...I get the following error message in php logs:
```
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function variable_get() in ...sites/all/modules/civicrm/CRM/Utils/System/Drupal.php:790
Stack trace:
#0 ...sites/all/modules/civicrm/CRM/Core/Payment/PayPalIPN.php(401): CRM_Utils_System_Drupal->getTimeZoneString()
#1 ...sites/all/modules/civicrm/CRM/Core/Payment/PayPalIPN.php(318): CRM_Core_Payment_PayPalIPN->getInput(Array, Array)
#2 ...sites/all/modules/civicrm/extern/ipn.php(59): CRM_Core_Payment_PayPalIPN->main()
#3 {main}
thrown in ...sites/all/modules/civicrm/CRM/Utils/System/Drupal.php on line 790
```
It looks like the ipn.php script does not bootstrap Drupal, but it calls getTimeZoneString which depends on the user system (Drupal) and the Drupal version of that includes a call to Drupal's `variable_get` function which has not been defined yet.
This is a problem for anyone with old recurring PayPal donations. Potentially other payment gateways, too, although the ipn.php script does seem to heavily assume PayPal.
There's some discussion at <https://chat.civicrm.org/civicrm/pl/brmbdz616jn6bymeqz6bgtu3qa> about possible ways forward.5.15.0https://lab.civicrm.org/dev/core/-/issues/966Elavon payment processor seems to no longer accept url encoded emails2019-05-18T05:17:25ZelilisseckElavon payment processor seems to no longer accept url encoded emailshttps://github.com/civicrm/civicrm-core/pull/14263
Client reported running some updates and no longer being able to process any payments using the Elavon processor.
Error response reported with every transaction: `4005 E-mail Address I...https://github.com/civicrm/civicrm-core/pull/14263
Client reported running some updates and no longer being able to process any payments using the Elavon processor.
Error response reported with every transaction: `4005 E-mail Address Invalid The E-mail Address supplied in the authorization request appears to be invalid.`
Confirmed the email sent over in XML for the auth request has been urlencoded:
![confirm_xml_urlencoded](/uploads/8a0f3255829bcefe05badec5bc4d5ce4/confirm_xml_urlencoded.png)
Presumably, Elavon used to accept this and doesn't anymore. I'm not familiar with this payment processor at all but I see in github that nothing has changed on our side in years.
A change to no longer send the email field through the xml function that urlencodes everything allows transactions to be processed correctly again. The email field gets validated at the form level so the value should be consistent.5.15.0