Development issueshttps://lab.civicrm.org/groups/dev/-/issues2019-07-29T13:37:33Zhttps://lab.civicrm.org/dev/core/-/issues/1149With logging turned on editing an activity displays as a deletion2019-07-29T13:37:33ZDaveDWith logging turned on editing an activity displays as a deletionI don't have any more details at the moment but can reproduce on dmaster.demo.
1. Turn on logging (system settings - misc).
2. Create an activity
3. Edit it.
4. View the "Contact Logging Report (Summary)". It shows it as a deletion.
Al...I don't have any more details at the moment but can reproduce on dmaster.demo.
1. Turn on logging (system settings - misc).
2. Create an activity
3. Edit it.
4. View the "Contact Logging Report (Summary)". It shows it as a deletion.
Also actual deletions don't show up at all in the report.https://lab.civicrm.org/dev/core/-/issues/1050Delete repeating activities not working as intended2019-07-30T10:35:44ZSteveEllisDelete repeating activities not working as intendedWhen deleting an activity that has been repeated, a dialog box pops up presenting options -
* only this activity?
* this activity onwards?
* every activity?
Selecting any of these options gives the same result - a pop up says 'Are you...When deleting an activity that has been repeated, a dialog box pops up presenting options -
* only this activity?
* this activity onwards?
* every activity?
Selecting any of these options gives the same result - a pop up says 'Are you sure?' but disappears immediately before I can respond, and only the one selected activity is deleted.
This appears to be unrelated to core #1045 below (thanks @eileen and @daved for the resolution to that). I can replicate this behaviour on all versions of Civi going back to 4.7.8.https://lab.civicrm.org/dev/core/-/issues/575Registering multiple participants results in wrong event fee2019-07-30T23:22:23ZandyburnsRegistering multiple participants results in wrong event feeWhen you allow for register multiple event participants, it makes you pay the first person's fee and input the payment info. However, the additional participants event fee is not selected till the 2nd page, so it does not calculate the t...When you allow for register multiple event participants, it makes you pay the first person's fee and input the payment info. However, the additional participants event fee is not selected till the 2nd page, so it does not calculate the total fee amount properly.
Reproduced at https://wpmaster.demo.civicrm.org/civicrm/?page=CiviCRM&q=civicrm%2Fevent%2Fregister&id=1&reset=1.
For now, we are limited to only allowing 1 registration at a time.https://lab.civicrm.org/dev/core/-/issues/1159system status page is empty, with no javascript errors2019-07-31T02:22:50Zjohnksystem status page is empty, with no javascript errorsI upgraded from CiviCRM 5.14.1 to 5.15.1. My system status page doesn't show anything. The "main content" part of the page source looks like this:
```
<div ng-app="crmApp">
<div ng-view></div>
</div>
```
However, there are no javascr...I upgraded from CiviCRM 5.14.1 to 5.15.1. My system status page doesn't show anything. The "main content" part of the page source looks like this:
```
<div ng-app="crmApp">
<div ng-view></div>
</div>
```
However, there are no javascript errors in the console. To try to resolve it, I tried "cleanup caches" and also a menu rebuild, and flushing caches in Drupal. This is running with Drupal 8.7.5.
I don't know if it's related, but I have another problem that showed up at the same time. When I first log in, going to CiviCRM shows an error page with the message:
```Received unknown parameter: api_version```
Reloading the page makes the error go away, making it seem like something to do with having the right cookies set, perhaps?
How can I debug this further?https://lab.civicrm.org/dev/core/-/issues/1136libmysqlclient >= 5.5.3, compatibilty with MariaDB2019-07-31T06:07:13Zedvanleeuwenlibmysqlclient >= 5.5.3, compatibilty with MariaDBUpgrading to version 5.15 gives the following warning:
> It is recommended, though not yet required, to upgrade your PHP MySQL driver (libmysqlclient) to >= 5.5.3 for utf8mb4 support.
I am using MariaDB 10.3.16. This has support for utf...Upgrading to version 5.15 gives the following warning:
> It is recommended, though not yet required, to upgrade your PHP MySQL driver (libmysqlclient) to >= 5.5.3 for utf8mb4 support.
I am using MariaDB 10.3.16. This has support for utf8mb4.
Could it be that the check for the proper libmysqlclient does not include MariaDB versions?https://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/1069Error thrown while sending email using the preferred from address2019-07-31T10:23:15ZyashodhaError thrown while sending email using the preferred from addressGo to Settings - Outbound Mail
Check Allow Mail to be sent from logged in contact's email address
Error is thrown while sending email using the preferred from address (logged in user's email address)
![from_error](/uploads/af9340f4d2f...Go to Settings - Outbound Mail
Check Allow Mail to be sent from logged in contact's email address
Error is thrown while sending email using the preferred from address (logged in user's email address)
![from_error](/uploads/af9340f4d2fd80fc572d43ac9a78d609/from_error.png)
This behavior replicated *only* for preferred from address.
![preferred_from](/uploads/3357529a787d528568898a372f6e9d0a/preferred_from.png)
yashodhayashodhahttps://lab.civicrm.org/dev/financial/-/issues/36Bug, cannot import Contributions because the import requires the payment meth...2019-07-31T20:48:05Zjustinfreeman (Agileware)Bug, cannot import Contributions because the import requires the payment method, payment instrument ID, not the payment instrument labelBug, cannot import Contributions because the import requires the payment method, payment instrument ID, not the payment instrument label.
For example: Contributions being imported with payment instrument (payment method) of "Credit card...Bug, cannot import Contributions because the import requires the payment method, payment instrument ID, not the payment instrument label.
For example: Contributions being imported with payment instrument (payment method) of "Credit card", "Cheque" will fail to import. However if these labels are replaced with the values, 1 (Credit card) and 4 (Cheque) then the import will succeed.
Importing contribution payment_instrument_id is formatted in following line of code.
https://github.com/agileware/civicrm-core/blob/master/CRM/Utils/DeprecatedUtils.php#L246
Code gets the option Value instead of a Name, the contribution API accepts the payment_instrument by Value. Logic is updated in Utils to consider name instead of ID. This function is getting called from only Contribution import.
PR submitted, see https://github.com/civicrm/civicrm-core/pull/13125
Agileware Ref: CIVICRM-11035.17.0justinfreeman (Agileware)justinfreeman (Agileware)https://lab.civicrm.org/dev/core/-/issues/945$this can not be used in static methods2019-07-31T20:49:25Zherbdool$this can not be used in static methodsMy IDE tells me that "$this can not be used in static methods". This is for in `public static function getIncompleteImportTables()` in `CRM/Contact/Import/ImportJob.php`. I don't know the best way to fix it, but here's a helpful link htt...My IDE tells me that "$this can not be used in static methods". This is for in `public static function getIncompleteImportTables()` in `CRM/Contact/Import/ImportJob.php`. I don't know the best way to fix it, but here's a helpful link https://stackoverflow.com/questions/2286696/using-this-inside-a-static-function-fails.5.16.0https://lab.civicrm.org/dev/core/-/issues/987Issue with alterReportVars hook invoke2019-08-01T04:07:14ZsushantpIssue with alterReportVars hook invokeCurrently alterReportVars hook is invoked after grand total and section total calculations.
When alterReportVars used for altering any values in report rows , calculations does not take that into
consideration.
alterReportVars hook ...Currently alterReportVars hook is invoked after grand total and section total calculations.
When alterReportVars used for altering any values in report rows , calculations does not take that into
consideration.
alterReportVars hook should invoked before grand total and section total calculations.5.17.0https://lab.civicrm.org/dev/core/-/issues/1104Make admin panels hookable2019-08-01T04:07:14ZyashodhaMake admin panels hookableMake it easy to show/hide items on administer screen.Make it easy to show/hide items on administer screen.5.17.0yashodhayashodhahttps://lab.civicrm.org/dev/core/-/issues/961Contribution page including 2 email fields does not respect dedupe rule.2019-08-02T01:27:13ZjitendraContribution page including 2 email fields does not respect dedupe rule.Unsupervised rule fails if we have 2 email fields to match on with latter set as empty. To replicate -
- Add a profile with first name, last name, billing email and work email.
- Create a contact with first name = "Test", Last name = "D...Unsupervised rule fails if we have 2 email fields to match on with latter set as empty. To replicate -
- Add a profile with first name, last name, billing email and work email.
- Create a contact with first name = "Test", Last name = "Dedupe" and email = "test@example.com"
- Add the profile to a contribution page.
- Submit the contribution page anonymously and enter First name = Test, Last name = "Dedupe" and billing email = "test@example.com". Keep work email as empty.
- Complete the payment.
![image](/uploads/43e2533c1a6f37dc9251b380755ca0f9/image.png)
- The payment should be recorded against the existing contact based on dedupe matching.
- As we do not have any value filled for second email field, dedupe fails and a new contact is created with same details.5.17.0jitendrajitendrahttps://lab.civicrm.org/dev/core/-/issues/439Contact Reference Field Cutoff on Export2019-08-04T18:55:16ZhershelContact Reference Field Cutoff on ExportOn a brand new Drupal 7 / CiviCRM 5.6.0 install I created a custom field group for Grants and added one Contact Reference field and then created 2 grants. When I search for grants and export and try to export that Contact Reference field...On a brand new Drupal 7 / CiviCRM 5.6.0 install I created a custom field group for Grants and added one Contact Reference field and then created 2 grants. When I search for grants and export and try to export that Contact Reference field, the name of the Contact is limited to 16 characters.
Further testing indicates that the name of a Contact Reference field on a Contact record also is limited to 16 characters when exported.
First reported here: https://civicrm.stackexchange.com/questions/26835/grant-export-custom-field-cutoff5.17.0https://lab.civicrm.org/dev/core/-/issues/1135Participants having multiple roles affects maximum event registration count2019-08-05T19:47:12ZDon WijesooriyaParticipants having multiple roles affects maximum event registration countIf you add multiple participant roles for a participant entry, it affects the event full count.
### Steps to reproduce
1. On dmaster, create a new event
2. Enable online registration and set "Max Number of Participants" to 1
3. Go to l...If you add multiple participant roles for a participant entry, it affects the event full count.
### Steps to reproduce
1. On dmaster, create a new event
2. Enable online registration and set "Max Number of Participants" to 1
3. Go to live event registration page. You should be able to register
4. Now add a new registration to a different contact from backend.
5. Once again go to live event registration page. Now it should show the event full message.
6. Go back to the other contact's events. Edit the event participant entry and add another role such as "Host".
7. Now go to the event registration page and you will be able to register for the maxed out event
### Issue
After inspecting `CRM_Event_BAO_Participant::eventFull()` the following line assumes there will only be one value in the field
````php
$where[] = " participant.role_id IN ( '" . implode("', '", $escapedRoles) . "' ) ";
````
Therefore when you have multiple values it won't work properly.
### Solution
I used regular expression code that's used in `CRM_Event_BAO_Query::whereClauseSingle()` under `case 'participant_role_id'`. This is a simple workaround I could think of. Haven't tested in all other scenarios.
````php
$regexp = "([[:cntrl:]]|^)" . implode('([[:cntrl:]]|$)|([[:cntrl:]]|^)', $escapedRoles) . "([[:cntrl:]]|$)";
$where[] = " participant.role_id REGEXP '{$regexp}'";
````5.17.0https://lab.civicrm.org/dev/translation/-/issues/29Missing strings in the translation files (Date Received, Paid By)2019-08-06T15:06:04ZbgmMissing strings in the translation files (Date Received, Paid By)From the offline contribution receipt, there are strings that are always in English.
* Received Date
* Paid By
![Capture_d_écran_de_2019-08-06_08-55-38](/uploads/9186c620cfac07db2c9140813d0feb54/Capture_d_écran_de_2019-08-06_08-55-38.p...From the offline contribution receipt, there are strings that are always in English.
* Received Date
* Paid By
![Capture_d_écran_de_2019-08-06_08-55-38](/uploads/9186c620cfac07db2c9140813d0feb54/Capture_d_écran_de_2019-08-06_08-55-38.png)
I looked at Transifex and the strings seem to be missing. They are not in the gettext mo files either.https://lab.civicrm.org/dev/core/-/issues/949Export table field size is inadequate for State/Province data values2019-08-06T20:35:08ZorigamiusaExport table field size is inadequate for State/Province data valuesExporting a custom data field of type State/Province crashes with a db error "Data too long for column" if the State/Province has a long name (example: no crash with "Massachusetts", but crash with "District of Columbia"). The temporary ...Exporting a custom data field of type State/Province crashes with a db error "Data too long for column" if the State/Province has a long name (example: no crash with "Massachusetts", but crash with "District of Columbia"). The temporary table is created with a column size of varchar(16), presumably because the State/Province key is stored as a LONG; but the exported quantity is the value, which could be of arbitrary length (and certainly includes examples longer than 16 characters in normal usage).
This appears to be a similar issue to https://lab.civicrm.org/dev/core/issues/181 and https://lab.civicrm.org/dev/core/issues/877.5.17.0https://lab.civicrm.org/dev/drupal/-/issues/72confirmation screen shows internal profile name not public title (reg screen ...2019-08-07T18:07:13ZDLaurysconfirmation screen shows internal profile name not public title (reg screen shows public title)The profile names that appear on the screen when registering for an event don't match between the register screen and the confirmation screen. The register screen uses the 'public title' of the profile, which is great! But then the confi...The profile names that appear on the screen when registering for an event don't match between the register screen and the confirmation screen. The register screen uses the 'public title' of the profile, which is great! But then the confirmation screen shows the internal profile name.5.17.0https://lab.civicrm.org/dev/core/-/issues/953Updating contact (with no email) via import adding email doesn't set email as...2019-08-08T01:16:22Zluke.stewartUpdating contact (with no email) via import adding email doesn't set email as primaryHave replicated on dmaster running 5.15.alpha1
To reproduce:
In Civicrm
Create a new contact with no email address.
On your computer:
Create a CSV with one row and two columns - Contact ID,email address
In Civicrm
Contacts-> Import...Have replicated on dmaster running 5.15.alpha1
To reproduce:
In Civicrm
Create a new contact with no email address.
On your computer:
Create a CSV with one row and two columns - Contact ID,email address
In Civicrm
Contacts-> Import Contacts
Select the csv created above, Change the "For Duplicate contacts" option to "Update" or "Fill".
Step through rest of the import - mapping the contact ID and email to the appropriate fields.
Using the api explorer (or via the database/drush etc) check the email for this contact
```
drush cvapi Email.get sequential=1 return="is_primary" contact_id=209
```
```
{
"is_error": 0,
"version": 3,
"count": 1,
"id": 191,
"values": [
{
"id": "191",
"is_primary": "0"
}
]
}
```
Impact:
If a contact has only one email it should be set to primary. If it's not set to primary they are not emailable. They will not be included in bulk mailings. If attempting to use action mail from their profile you will get a warning "Selected contact(s) do not have a valid email address, or communication preferences specify DO NOT EMAIL, or they are deceased or Primary email address is On Hold".
Clicking on the email to edit shows it marked as primary - you can see however in the database or using the api explorer it's not set as primary.
This is possibly a wider data integrity issue - is there ever a case whereby a contact has one email and it shouldn't be set to primary?5.15.0https://lab.civicrm.org/dev/core/-/issues/1171unreleased regression2019-08-08T01:27:17Zeileenunreleased regressionnew enotices on importing with an import mapping (not to be confused with the pre-existing ones)
https://github.com/civicrm/civicrm-core/pull/14978new enotices on importing with an import mapping (not to be confused with the pre-existing ones)
https://github.com/civicrm/civicrm-core/pull/149785.17.0https://lab.civicrm.org/dev/core/-/issues/1170Fix getLoginURL() for Backdrop2019-08-08T03:16:12ZherbdoolFix getLoginURL() for BackdropBecause of https://github.com/backdrop/backdrop-issues/issues/260, any anonymous visits to `/user` will redirect to `/user/login`. Currently `CRM_Utils_System_Backdrop::getLoginURL()` creates a link to `/user?destination...` and this URL...Because of https://github.com/backdrop/backdrop-issues/issues/260, any anonymous visits to `/user` will redirect to `/user/login`. Currently `CRM_Utils_System_Backdrop::getLoginURL()` creates a link to `/user?destination...` and this URL will automatically try to redirect. And because of Backdrop/Drupal allowing the `?destination` parameter to override other redirects, it will automatically go to that destination instead of staying at `/user` or even `/user/login`
There's probably an easy fix by just changing getLoginURL to point to `/user/login` and no immediate redirect will happen.5.17.0