CiviCRM Core issueshttps://lab.civicrm.org/dev/core/-/issues2019-04-01T20:36:27Zhttps://lab.civicrm.org/dev/core/-/issues/840Notice error when deleting profile2019-04-01T20:36:27ZPradeep Nayakpradpnayak@gmail.comNotice error when deleting profileTo replicate: Delete profile
`Notice: Undefined property: CRM_UF_Form_Group::$deleteMessage in /var/www/vhosts/xxxx/httpdocs/portal-login/wp-content/plugins/civicrm/civicrm/CRM/Core/Form/EntityFormTrait.php on line 65`
CiviCRM version...To replicate: Delete profile
`Notice: Undefined property: CRM_UF_Form_Group::$deleteMessage in /var/www/vhosts/xxxx/httpdocs/portal-login/wp-content/plugins/civicrm/civicrm/CRM/Core/Form/EntityFormTrait.php on line 65`
CiviCRM version: 5.11.05.13.0https://lab.civicrm.org/dev/core/-/issues/837Notice error while creating smart group using Contribution Aggregate custom s...2019-03-31T20:27:05ZPradeep Nayakpradpnayak@gmail.comNotice error while creating smart group using Contribution Aggregate custom search```
Notice: Undefined index: contribution_date_relative in CRM_Contact_Form_Search_Custom_ContributionAggregate->where() (line 204 of /Users/pradeep/Sites/drupal7/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggre...```
Notice: Undefined index: contribution_date_relative in CRM_Contact_Form_Search_Custom_ContributionAggregate->where() (line 204 of /Users/pradeep/Sites/drupal7/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php).
Notice: Undefined index: contribution_date_low in CRM_Contact_Form_Search_Custom_ContributionAggregate->where() (line 205 of /Users/pradeep/Sites/drupal7/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php).
Notice: Undefined index: contribution_date_high in CRM_Contact_Form_Search_Custom_ContributionAggregate->where() (line 206 of /Users/pradeep/Sites/drupal7/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php).
Notice: Undefined index: contribution_date_relative in CRM_Contact_Form_Search_Custom_ContributionAggregate->where() (line 204 of /Users/pradeep/Sites/drupal7/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php).
Notice: Undefined index: contribution_date_low in CRM_Contact_Form_Search_Custom_ContributionAggregate->where() (line 205 of /Users/pradeep/Sites/drupal7/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php).
Notice: Undefined index: contribution_date_high in CRM_Contact_Form_Search_Custom_ContributionAggregate->where() (line 206 of /Users/pradeep/Sites/drupal7/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php).
Notice: Undefined index: contribution_date_relative in CRM_Contact_Form_Search_Custom_ContributionAggregate->where() (line 204 of /Users/pradeep/Sites/drupal7/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php).
Notice: Undefined index: contribution_date_low in CRM_Contact_Form_Search_Custom_ContributionAggregate->where() (line 205 of /Users/pradeep/Sites/drupal7/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php).
Notice: Undefined index: contribution_date_high in CRM_Contact_Form_Search_Custom_ContributionAggregate->where() (line 206 of /Users/pradeep/Sites/drupal7/sites/all/modules/civicrm/CRM/Contact/Form/Search/Custom/ContributionAggregate.php).
```5.13.0https://lab.civicrm.org/dev/core/-/issues/795PHP Warning "explode() expects parameter 2 to be string, array given" for mul...2019-03-20T14:59:22ZVirenmagePHP Warning "explode() expects parameter 2 to be string, array given" for multi-value country fieldsI am getting above error while trying to save multiple country for agent profile. And when I search about this error I found that unnecessary use of explode() function on line 127. You can see more about on https://lab.civicrm.org/dev/co...I am getting above error while trying to save multiple country for agent profile. And when I search about this error I found that unnecessary use of explode() function on line 127. You can see more about on https://lab.civicrm.org/dev/core/issues/216 and code file
https://lab.civicrm.org/dev/core/blob/master/CRM/Core/BAO/CustomValueTable.php#L127
So according to me you need to ask to civiCRM team to comment line 127
$mulValues = explode(',', $value);
![error](/uploads/c124cf6618247c06ef570df0639f869c/error.png)5.13.0https://lab.civicrm.org/dev/core/-/issues/904PR 13333 breaks the Save and New button on a new case2019-05-07T23:05:09ZDaveDPR 13333 breaks the Save and New button on a new caseIf I take out the second "submitOnce" line in CRM/Case/Form/Activity/OpenCase.php then it works again.If I take out the second "submitOnce" line in CRM/Case/Form/Activity/OpenCase.php then it works again.5.13.0https://lab.civicrm.org/dev/core/-/issues/798Prefix/suffix select2 renders oddly on public-facing pages2019-03-14T21:07:10ZJonGoldPrefix/suffix select2 renders oddly on public-facing pagesPrefix and suffix fields in contribution/event profiles render incorrectly on public-facing pages. See screenshot:
![Selection_823](/uploads/5d05559371fa6c062b2dad8ecd8c2901/Selection_823.png)
There are a couple of ways to fix, I'll do...Prefix and suffix fields in contribution/event profiles render incorrectly on public-facing pages. See screenshot:
![Selection_823](/uploads/5d05559371fa6c062b2dad8ecd8c2901/Selection_823.png)
There are a couple of ways to fix, I'll do whatever folks like best.
One is to fix `civicrm.css` here:
```css
.crm-container.crm-public .select2-container .select2-choice {
padding: 5px 5px 5px 8px;
height: auto;
}
```
Changing `height: auto` to `height: 26px` matches the backend `select2.css`. Other select2 widgets are unaffected because they have placeholder text. I could also add placeholder text to the default rendering of this widget, but I think the CSS fix makes more sense.
I'll submit a PR to continue this discussion.5.13.0JonGoldJonGoldhttps://lab.civicrm.org/dev/core/-/issues/433Queries combining multiple text labels using REGEXP do not escape regular exp...2019-12-15T05:25:58ZAgilewareQueries combining multiple text labels using REGEXP do not escape regular expression metacharactersMost obvious example of this is the "Fee Level" options for events.
We have a site that had set their price set option like:
Price set option name - $120 (GST incl)
This fails during search, either because of the characters after the ...Most obvious example of this is the "Fee Level" options for events.
We have a site that had set their price set option like:
Price set option name - $120 (GST incl)
This fails during search, either because of the characters after the $ end-of-string match, or because (GST incl) is interpreted as a sub-expression rather than matching the parentheses when it's selected as a fee level to search for.
Currently we're working on a solution using preg_quote.
Agileware Ref: CIVICRM-9905.13.0https://lab.civicrm.org/dev/core/-/issues/735Query performance - suppress 'product' and related fields where products are ...2019-04-26T06:50:00ZeileenQuery performance - suppress 'product' and related fields where products are not in the databaseMost people hate the fact we waste an output field on premium on the contribution tab. They all think it should be replaced - but all have different replacements.
I don't want to solve that - I think the right solution for that is to f...Most people hate the fact we waste an output field on premium on the contribution tab. They all think it should be replaced - but all have different replacements.
I don't want to solve that - I think the right solution for that is to find funding to leap the interface.
What I DO think we can solve is the fact we are doing unnecessary joins / queries / processing to generate & display premiums - regardless of whether the site uses them. I think we could short-circuit that pretty cleanly by just doing a quick
"select id FROM civicrm_product_premium LIMIT 1' (cached) before adding product fields to our default return properties (with a small tpl tweak too)5.13.0https://lab.civicrm.org/dev/core/-/issues/865Result filter criteria doesn't show IS NULL/IS NOT NULL for operations2019-04-15T05:32:20ZyashodhaResult filter criteria doesn't show IS NULL/IS NOT NULL for operationsWe can not search all contributions that are not associated with a campaign currently in report. We should expose IS NULL/IS NOT NULL for other operators as wellWe can not search all contributions that are not associated with a campaign currently in report. We should expose IS NULL/IS NOT NULL for other operators as well5.13.0yashodhayashodhahttps://lab.civicrm.org/dev/core/-/issues/819Search results: Actions: Export contacts: DB Error: Syntax error occurs when ...2019-03-27T20:08:45ZPradeep Nayakpradpnayak@gmail.comSearch results: Actions: Export contacts: DB Error: Syntax error occurs when not all necessary fields are selectedSTR:
* Navigate to "Search→Find Contacts"
* Leave the search fields empty and click "Search"
* Select any Individual
* Click the "Actions" dropdown
* Select "Export Contacts"
* Click the "Select fields for export" radio button
* Click ...STR:
* Navigate to "Search→Find Contacts"
* Leave the search fields empty and click "Search"
* Select any Individual
* Click the "Actions" dropdown
* Select "Export Contacts"
* Click the "Select fields for export" radio button
* Click "Continue"
* On the Select Fields to Export step, click the "Select record type" dropdown
* Select "Individual"
* Leave the "Select field" dropdown empty
* Click "Export"
**Result:** DB Error: syntax error occurs. Please take a look at the attachment
![ExportError-Before](/uploads/e97b8cb4b4dfb1ae5fed72dafcd4e459/ExportError-Before.gif)5.13.0https://lab.civicrm.org/dev/core/-/issues/771Smart group with uf_group_id does not load contacts with same search profile2019-03-18T02:47:02ZjitendraSmart group with uf_group_id does not load contacts with same search profileSteps to reproduce -
- Create a search profile adding some basic fields `first name`, last name and email.
- Open Advanced Search form, select this profile and add some filters.
- create a smart group of the resulted contacts.
- When yo...Steps to reproduce -
- Create a search profile adding some basic fields `first name`, last name and email.
- Open Advanced Search form, select this profile and add some filters.
- create a smart group of the resulted contacts.
- When you come back from the process after clicking the `Done` button on the last screen, the profile is not pre-selected by default.
- `uf_group_id` is not stored as a formvalue in `civicrm_saved_search` table.5.13.0jitendrajitendrahttps://lab.civicrm.org/dev/core/-/issues/829Swaziland has changed its name to Eswatini2019-03-28T20:07:12Zlord_tSwaziland has changed its name to EswatiniSwaziland country has changed name to Eswatini so in CiviCRM it also has to be changed.
> On 19 April 2018, King Mswati III announced that the Kingdom of Swaziland had renamed itself the Kingdom of Eswatini, reflecting the extant Swazi...Swaziland country has changed name to Eswatini so in CiviCRM it also has to be changed.
> On 19 April 2018, King Mswati III announced that the Kingdom of Swaziland had renamed itself the Kingdom of Eswatini, reflecting the extant Swazi name for the state eSwatini, to mark the 50th anniversary of Swazi independence. The new name, **Eswatini**, [...]
Source: https://en.wikipedia.org/wiki/Eswatini#Independence_(1968%E2%80%93present)
Patch: https://github.com/civicrm/civicrm-core/pull/139025.13.0https://lab.civicrm.org/dev/core/-/issues/314Transfer picks up the deleted contact ID basically transferring to the wrong ...2019-03-23T20:47:10ZaniesshsethhTransfer picks up the deleted contact ID basically transferring to the wrong contactTransfer picks up the deleted contact ID basically transferring to the wrong contact. We should be checking if the contact related to that email is deleted or notTransfer picks up the deleted contact ID basically transferring to the wrong contact. We should be checking if the contact related to that email is deleted or not5.13.0https://lab.civicrm.org/dev/core/-/issues/288Use the correct membership date for the notification that appear after comple...2019-04-01T21:27:31Zomar_compucorpUse the correct membership date for the notification that appear after completing the membership payment in case pre hook is usedSuppose you have an extension that implements **hook_civicrm_pre** on membership entity that add 1 year (or whatever amount of time) to the membership new end date whenever someone completed a pending payment for the membership, Based on...Suppose you have an extension that implements **hook_civicrm_pre** on membership entity that add 1 year (or whatever amount of time) to the membership new end date whenever someone completed a pending payment for the membership, Based on this assume the following example :
1- You created a pending membership starts today (27/7/2018) and ends in 1 year (26/7/2019).
2- You changed this membership payment (contribution) from "pending" to "completed".
Now without the hook implementation as explained above, the following message will appear :
```
the contribution record has been saved.
Membership for "CONTACT NAME" has been updated. The membership End Date is July 26th, 2019.
```
and the membership status will be change from Pending to New, And the end date of the membership will be similar to the one shown in the notification message which is 26/7/2019 which is all good.
But when you have the pre hook implemented as suggest above, the membership end date will be 26/7/2020 (since the hook add one year to the end date) but the notification message will still indicate the old end date which is 26/7/2019. This is wrong and the notification message should show the correct end date that reflects the membership actual end date.5.13.0https://lab.civicrm.org/dev/core/-/issues/788Warning: A non-numeric value encountered in ...2019-03-18T05:00:01ZwouterhWarning: A non-numeric value encountered in ...I've encountered warnings on contribution pages & event registrations
- Drupal8
- CiviCRM 5.10.4
- PHP 7.2.12
Warning: A non-numeric value encountered in CRM_Contribute_Form_Contribution_Main::formRule() (line 900 of /var/www/html/vendo...I've encountered warnings on contribution pages & event registrations
- Drupal8
- CiviCRM 5.10.4
- PHP 7.2.12
Warning: A non-numeric value encountered in CRM_Contribute_Form_Contribution_Main::formRule() (line 900 of /var/www/html/vendor/civicrm/civicrm-core/CRM/Contribute/Form/Contribution/Main.php).
Warning: A non-numeric value encountered in CRM_Event_Form_Registration_Register->postProcess() (line 1146 of /var/www/html/vendor/civicrm/civicrm-core/CRM/Event/Form/Registration/Register.php).
```
if ($self->_paymentProcessor &&
$self->_paymentProcessor['billing_mode'] & CRM_Core_Payment::BILLING_MODE_BUTTON
) {
```
```
elseif ($this->_paymentProcessor &&
$this->_paymentProcessor['billing_mode'] & CRM_Core_Payment::BILLING_MODE_NOTIFY
) {
```
![788](/uploads/6ce88a0bf5059e65b381841b42b1fdf2/788.png)5.13.0