CiviCRM Core issueshttps://lab.civicrm.org/dev/core/-/issues2019-02-05T04:27:09Zhttps://lab.civicrm.org/dev/core/-/issues/679Groups and Tags affect search results when using Search Builder2019-02-05T04:27:09ZRoseLaniganGroups and Tags affect search results when using Search BuilderTo recreate (in both the Drupal sandbox and WordPress sandbox):
* Create a group the normal way, e.g. Contact Types = Individuals
* Go to Search Builder - if I just choose fields such as contact Type, Street Address, Email... the resu...To recreate (in both the Drupal sandbox and WordPress sandbox):
* Create a group the normal way, e.g. Contact Types = Individuals
* Go to Search Builder - if I just choose fields such as contact Type, Street Address, Email... the results display properly
* However, if I include a Group or Tag as a parameter, e.g. Group = the group created in step 1, or Tag IS empty, the results only show the first result, although it's clear from the counter that there are more results (screenshot included).
![Untitled](/uploads/a36d03302b83ef3862a10b3191bbfe6b/Untitled.png)
First spotted on 5.9.0 and can recreate on 5.11.alpha5.10https://lab.civicrm.org/dev/core/-/issues/671"Display Result As" in Advanced search is not working.2019-02-04T20:46:42Zjitendra"Display Result As" in Advanced search is not working.On Dmaster -
1. Navigate to Advanced Search.
2. Select "Display Result As" to a value eg "related contact" -> "Parent of".
3. Hit Search.
Seems to be due to the changes made in https://github.com/civicrm/civicrm-core/pull/13250/files#di...On Dmaster -
1. Navigate to Advanced Search.
2. Select "Display Result As" to a value eg "related contact" -> "Parent of".
3. Hit Search.
Seems to be due to the changes made in https://github.com/civicrm/civicrm-core/pull/13250/files#diff-4709aadbb3a8fe3eafe15d2fdc83ecf8R317
@monish.deb @eileen It seems we already pass $this->_formValues as a reference param to convertFormValues(), so not sure why it is reset to the value returned by the function? Does that mean any changes made inside convertFormValues() is not considered by the process?5.10https://lab.civicrm.org/dev/core/-/issues/665possible unreleased regression - customised template changed on site running ...2019-02-04T03:49:15Zeileenpossible unreleased regression - customised template changed on site running 5.10rcI am logging as I don't want to lose sight of this - my 5.10.rc site just sent me the default message template not my custom one. The msg_text was not customised but msg_html (and msg_subject were) - I think we'd better do some testing ...I am logging as I don't want to lose sight of this - my 5.10.rc site just sent me the default message template not my custom one. The msg_text was not customised but msg_html (and msg_subject were) - I think we'd better do some testing to make sure there isn't a missed scenario
Note that the templates need 'please print this for your records ' removed & it might be worth doing in conjunction with this digginghttps://lab.civicrm.org/dev/core/-/issues/660Fatal DB Error: already exists on event registration/contribution pages when ...2019-01-17T11:24:07ZdavejFatal DB Error: already exists on event registration/contribution pages when profile has user creation**Steps to replicate**
1. In Drupal account settings, set *Who can register accounts? = Visitors* and un-tick *Require e-mail verification when a visitor creates an account.*
2. In standard *Your Registration Info* profile settings, set ...**Steps to replicate**
1. In Drupal account settings, set *Who can register accounts? = Visitors* and un-tick *Require e-mail verification when a visitor creates an account.*
2. In standard *Your Registration Info* profile settings, set *Drupal user account registration option? = Account creation required*.
3. Create a basic event with no fees, allowing online registration, using above profile.
4. As an anonymous user, register for the event, using email address and username that do not exist in the Civi or Drupal databases.
**Expected behaviour**
Contact created and registered for event, user created.
**Actual behaviour**
Fatal DB Error: already exists
```
[debug_info] => INSERT INTO civicrm_uf_match (domain_id , uf_id , uf_name , contact_id ) VALUES
( 1 , 5 , 'blah@blah.blah' , 207 ) [nativecode=1062 ** Duplicate entry 'blah@blah.blah' for key 'UI_uf_name_domain_id']
```
2 contacts created with same email address:
- first (by id) with display name = provided name, has participant record, no UF match record.
- second (by id) with display name = email, no participant record, has UF match record.
User created.
Similar past issues:
- [CRM-16234 User Creation via profile fails with DB Error](https://issues.civicrm.org/jira/browse/CRM-16234)
- [CRM-19195 Duplicate entry in civicrm_uf_match when forcing account creation](https://issues.civicrm.org/jira/browse/CRM-19195)
Replicated on 5.9.0/Drupal 7 and current local dmaster.
On local civibuild drupal-demo 5.8.2: the contact, participant, user & UF match records were created successfully.https://lab.civicrm.org/dev/core/-/issues/659Civi returning 500 errors to Paypal Pro request to civicrm/extern/ipn.php2020-11-15T14:55:09ZStoobCivi returning 500 errors to Paypal Pro request to civicrm/extern/ipn.phpCivi gathers all the information it needs from Paypal's request to ipn.php and DOES correctly update the status, fee_amount, etc. from the array given to Civi by Paypal. Note: This is for **ONE TIME (single) transactions**, *not for rec...Civi gathers all the information it needs from Paypal's request to ipn.php and DOES correctly update the status, fee_amount, etc. from the array given to Civi by Paypal. Note: This is for **ONE TIME (single) transactions**, *not for recurring* transactions.
However despite this, Civi is returning a 500 error back to Paypal, who in turn tries and tries again, and eventually turns off IPN entirely.
The original report is here: https://civicrm.stackexchange.com/questions/26603/anyone-getting-ipn-warning-emails-from-paypal and I've discussed the issue with @xurizaemon and @eileen
CiviCRM.log does list the array received from Paypal which appears intact, but there is no mention of any error, per se, in CiviCRM.log. However in the server php error_log I find the attached error for the same transaction. Note there are several 500 because Paypal, after the initial perceived failure repeats the request several times in the subsequent minutes.
[error_paypal_pro_one-time_ipn.php.txt](/uploads/8a2ef25be9db5bed41c710c6ccaf3984/error_paypal_pro_one-time_ipn.php.txt)
Note that comparatively the 'new URL' for IPN works fine, and returns 200 code: civicrm/payment/ipn/15.12.0https://lab.civicrm.org/dev/core/-/issues/656unreleased regression - attendee report generates undefined property notice2019-01-14T02:07:11ZJonGoldunreleased regression - attendee report generates undefined property noticeYou can replicate this on dmaster demo by clicking "Refresh Results" on the "Attendee List" report. You'll get this notice once per contact:
```
Notice: Undefined property: CRM_Report_Form_Event_ParticipantListing::$campaigns in CRM_Re...You can replicate this on dmaster demo by clicking "Refresh Results" on the "Attendee List" report. You'll get this notice once per contact:
```
Notice: Undefined property: CRM_Report_Form_Event_ParticipantListing::$campaigns in CRM_Report_Form_Event_ParticipantListing->alterDisplay() (line 748 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Report/Form/Event/ParticipantListing.php).
```
Ping @yashodha
Ref: core#4915.10https://lab.civicrm.org/dev/core/-/issues/653New Events defaulting to event template after first page2019-01-30T20:49:51ZRoseLaniganNew Events defaulting to event template after first pageCan recreate on the dmaster.
* Create Event Template (Events > Event Template)
* Create new event (Events > New Event)
* Use template
* When click 'Continue' to proceed beyond first page, it takes the user to the template's page 2 (...Can recreate on the dmaster.
* Create Event Template (Events > Event Template)
* Create new event (Events > New Event)
* Use template
* When click 'Continue' to proceed beyond first page, it takes the user to the template's page 2 (location) rather than the new event's location page
* If you click back to info and settings, that has the url link as if the event has been created, the it's a dead link.
* It creates a duplicate template, but no event.
Using v5.9.05.10https://lab.civicrm.org/dev/core/-/issues/651error exporting contributions with soft credits2019-03-07T19:55:31Zericgerror exporting contributions with soft creditswhen trying to export contributions with soft credits I got the following error
unknown column 'Array' in 'group statement'
[civicrm 5.9; drupal 7.x; mariadb; php 7.1]
I traced it to line 152 of
CRM/Export/BAO/Export.php
changing
$...when trying to export contributions with soft credits I got the following error
unknown column 'Array' in 'group statement'
[civicrm 5.9; drupal 7.x; mariadb; php 7.1]
I traced it to line 152 of
CRM/Export/BAO/Export.php
changing
$groupBy = array('contribution_search_scredit_combined.id', 'contribution_search_scredit_combined.scredit_id');
to
$groupBy = "contribution_search_scredit_combined.id, contribution_search_scredit_combined.scredit_id";
resolved the issue for me.
(I really need to learn how to do proper pull requests)5.10https://lab.civicrm.org/dev/core/-/issues/626Case Activities no longer show overdue items first.2018-12-29T21:21:27ZRayWrightCase Activities no longer show overdue items first.Previously, the listings of activities on cases would show overdue items first.
![CaseAct-01](/uploads/744e76b6db7657cd80aded49ebb453d3/CaseAct-01.png)
When datatables were being integrated CRM-16363 https://github.com/civicrm/civicrm-...Previously, the listings of activities on cases would show overdue items first.
![CaseAct-01](/uploads/744e76b6db7657cd80aded49ebb453d3/CaseAct-01.png)
When datatables were being integrated CRM-16363 https://github.com/civicrm/civicrm-core/commit/ad280fb669e26f136bb9f56b29556ad70a78d3a6#diff-ff123c4a302e96ad0dfa6e93247dd242 they added a sort order to the table directly int the template file - resulting in this:
![CaseAct-02](/uploads/267ede7aa3a41ca0ea648af419ead426/CaseAct-02.png)
The logic to sort by overdue items first lives in the Case/BAO/Case.php file (line 1042 in 5.5.3)
`ORDER BY overdue_date ASC, display_date DESC, weight DESC";`
Simply removing the data-order 'filter' from the tpl file reverts to the previous behavior. I've put in a PR as well.5.10https://lab.civicrm.org/dev/core/-/issues/619Custom field of type contact reference stopped working2019-01-03T00:27:11ZPradeep Nayakpradpnayak@gmail.comCustom field of type contact reference stopped workingCustom field of type contact reference stopped working for address field when upgraded to 5.8.1 from 4.7.31
The commit that might have caused this break is https://github.com/civicrm/civicrm-core/pull/12790/files#diff-bdea9a3ec62827e6c9...Custom field of type contact reference stopped working for address field when upgraded to 5.8.1 from 4.7.31
The commit that might have caused this break is https://github.com/civicrm/civicrm-core/pull/12790/files#diff-bdea9a3ec62827e6c90a70202ea9f7ccL1066
![Screen_Shot_2018-12-22_at_23.25.10](/uploads/0b37ef9862869048426f122485447c15/Screen_Shot_2018-12-22_at_23.25.10.png)5.9https://lab.civicrm.org/dev/core/-/issues/597Financial Type get api action returns empty values when name parameter is used2018-12-17T20:30:23ZscardiniusFinancial Type get api action returns empty values when name parameter is usedAny parameters work fine except of `name`. I see such problems:
* it's not possible to find type by existing name
* it's not possible to find type by non-existing name (test for new financial type)
* `'DonationNew' is not a valid op...Any parameters work fine except of `name`. I see such problems:
* it's not possible to find type by existing name
* it's not possible to find type by non-existing name (test for new financial type)
* `'DonationNew' is not a valid option for field financial_type = Array`
Example:
```php
$result = civicrm_api3('FinancialType', 'get', [
'sequential' => 1,
'name' => "Donation",
]);
```
Result:
```json
{
"is_error": 0,
"version": 3,
"count": 0,
"values": []
}
```
This is a regression in those versions
* 5.5.3
* 5.6.0
It works fine in 5.3.25.8.2https://lab.civicrm.org/dev/core/-/issues/595On Edit Membership Status admin form, default value of Label field fails to p...2018-12-17T20:30:07ZdavejOn Edit Membership Status admin form, default value of Label field fails to populateOn Edit Membership Status form, Label field is empty when form loads. If left blank, get "This field is required" on submit. If filled in, it saves OK to db but when edit form is loaded again, it remains blank. So it's an issue of popula...On Edit Membership Status form, Label field is empty when form loads. If left blank, get "This field is required" on submit. If filled in, it saves OK to db but when edit form is loaded again, it remains blank. So it's an issue of populating the default value of the Label field in the admin form.
This is a fairly recent regression, couldn't see an existing bug report. Affects 5.8.0, 5.7.2 & 5.5.2 but not 5.4.1 .
5.8.2https://lab.civicrm.org/dev/core/-/issues/594WYSIWYG Editor affected in CiviCRM 5.8.02018-12-28T08:55:55Zvakeesan26WYSIWYG Editor affected in CiviCRM 5.8.0After changing Display preference Wysiwig Editor setting from Text-Area to CKEditor
the editor not loaded anywhere.
Also the Configure CKEditor button is not visible in display preference page.
![image](/uploads/bf12c40db9672e5b0ad876...After changing Display preference Wysiwig Editor setting from Text-Area to CKEditor
the editor not loaded anywhere.
Also the Configure CKEditor button is not visible in display preference page.
![image](/uploads/bf12c40db9672e5b0ad8767f211260e7/image.png)
**New Activity**
![image](/uploads/ba87691aaab34031a6f363e7a6136fc2/image.png)
**Manage Events**
![image](/uploads/c74efdd95f623d4eac15fd7735e350a1/image.png)5.9https://lab.civicrm.org/dev/core/-/issues/593Quicksearch "Name/Email" doesn't search email2018-12-18T03:19:39ZJonGoldQuicksearch "Name/Email" doesn't search emailI'm seeing this on both 5.8.0 and master.
QuickSearch, when set to "Name/Email" searches on name but not email. Basic/Advanced search "Name/Email" fields both work normally.I'm seeing this on both 5.8.0 and master.
QuickSearch, when set to "Name/Email" searches on name but not email. Basic/Advanced search "Name/Email" fields both work normally.5.8.2https://lab.civicrm.org/dev/core/-/issues/589Autocomplete search result fields selection not being saved2018-12-18T21:09:33Zvakeesan26Autocomplete search result fields selection not being saved![image](/uploads/63a3d487baa560ed3ac439e27aecefd0/image.png)
https://dmaster.demo.civicrm.org/civicrm/admin/setting/search?reset=1
When we select additional autocomplete fields ( like email,phone,street ) those selections are not bein...![image](/uploads/63a3d487baa560ed3ac439e27aecefd0/image.png)
https://dmaster.demo.civicrm.org/civicrm/admin/setting/search?reset=1
When we select additional autocomplete fields ( like email,phone,street ) those selections are not being saved.
only the default "Contact Name" is selected.
Also Email is not included in default Quick search [Name/Email].
It is only searching in sort_name (filed separately as https://lab.civicrm.org/dev/core/issues/593)
issue - CiviCRM 5.8.0 5.8.1https://lab.civicrm.org/dev/core/-/issues/588"CiviMail Draft" appears twice in non-Mosaico test emails2018-12-13T04:45:56ZJonGold"CiviMail Draft" appears twice in non-Mosaico test emailsCiviCRM 5.8.0 I believe this is a side effect of https://github.com/civicrm/civicrm-core/pull/12758.CiviCRM 5.8.0 I believe this is a side effect of https://github.com/civicrm/civicrm-core/pull/12758.5.8.1https://lab.civicrm.org/dev/core/-/issues/585client is not getting assigned as target contact2018-12-29T22:09:50ZStoobclient is not getting assigned as target contactThis behavior started in 5.6 and persists in 5.8.0 whereby when editing the next scheduled activity in the Case sequence, it looks like the target contact is set, but it actually isn't. This appears to be that because when the next sche...This behavior started in 5.6 and persists in 5.8.0 whereby when editing the next scheduled activity in the Case sequence, it looks like the target contact is set, but it actually isn't. This appears to be that because when the next scheduled activity is created in the sequence, the target contact is blank to begin with.
But when the next scheduled activity is edited and saved, the source contact is set, the case id is set, but target contact remains unset. In other words, the activity target is not set to the client as it should be, nor as the screen implies that it is. The undesirable symptom is that activities without a target do not show up in Activity reports or Find Activities search.
![looks-good](/uploads/f8e63bf92cc7610eebf5463211d7af5e/looks-good.png)
![but-target-blank](/uploads/48b57aefca4d042303ab7f868b205523/but-target-blank.png)
5.8.2https://lab.civicrm.org/dev/core/-/issues/582Regression - datepicker icon not showing on search builder2018-12-12T23:43:41ZeileenRegression - datepicker icon not showing on search buildersee https://civicrm.stackexchange.com/questions/27628/search-builder-does-not-display-date-picker-for-contacts/27632#27632see https://civicrm.stackexchange.com/questions/27628/search-builder-does-not-display-date-picker-for-contacts/27632#276325.8.1https://lab.civicrm.org/dev/core/-/issues/572Regression: Custom Note fields on Events do not work with CKEditor since 5.72018-12-13T08:48:47ZAgilewareRegression: Custom Note fields on Events do not work with CKEditor since 5.7Agileware ref: CIVICRM-1118
Overview
========
Custom Note fields on Events no longer work with CKEditor.
Was working in 5.6.2.
Verified this still an issue on `dmaster.demo.civicrm.org`:
![rich_text_field_event](/uploads/b636e035977...Agileware ref: CIVICRM-1118
Overview
========
Custom Note fields on Events no longer work with CKEditor.
Was working in 5.6.2.
Verified this still an issue on `dmaster.demo.civicrm.org`:
![rich_text_field_event](/uploads/b636e035977d0b5d100a6229c83e5200/rich_text_field_event.png)
Steps to Reproduce
==================
1. Create a custom data group for Events
2. Add a "Note" field using the "Rich Text Editor" Input Field Type
3. Create an event. Rich text editor is working here.
4. Edit the event Info and Configuration.
5. The custom field doesn't load CKEditor, complaining that `a.ui.spaces` is undefined or null.
6. Sometimes CKEditor doesn't load for the "Complete Description" field either, but it fails less reliably.5.8https://lab.civicrm.org/dev/core/-/issues/552Contribution net amount not re-calculated when fee amount is changed2018-12-05T20:27:27Zaydunsaidan.saunders@squiffle.ukContribution net amount not re-calculated when fee amount is changedWhen a contribution is edited and the fee amount changed, the net amount is not being recalculated.
Scenario 1:
Go to a contact summary
Contributions > Record Contribution
Choose a financial type
Enter amount as 100
Expand Add...When a contribution is edited and the fee amount changed, the net amount is not being recalculated.
Scenario 1:
Go to a contact summary
Contributions > Record Contribution
Choose a financial type
Enter amount as 100
Expand Additional Details section
(Incidentally note stray help text "Net value of the contribution (Total Amount minus Fee)")
Enter Fee Amount as 1.23
Save
View the Contribution just created and note Total amount = $100, Fee amount $1.23, Net amount $98.77 -> Correct
Scenario 2:
Go to a contact summary
Contributions > Record Contribution
Choose a financial type
Enter amount as 100
Save
View the Contribution just created and note Total amount = $100, Fee amount $0, Net amount $100 -> Correct
Now edit the contribution
Expand Additional Details section
Enter Fee Amount as 1.23
Save
View the Contribution just created a note Total amount = $100, Fee amount $1.23, **Net amount $100** -> Total and Fee amounts are correct, but the **Net amount is not recalculated**.
May be related to https://github.com/civicrm/civicrm-core/pull/126625.8