CiviCRM Core issueshttps://lab.civicrm.org/dev/core/-/issues2023-01-04T05:03:24Zhttps://lab.civicrm.org/dev/core/-/issues/1372APIv4 Explorer should display more error details2023-01-04T05:03:24ZtottenAPIv4 Explorer should display more error details## Current Behavior
If you use the APIv4 Explorer to call something and hit an exception, then the output does not present any details. It only says "Internal Server Error"; this is true even if the response includes more details.
![Sc...## Current Behavior
If you use the APIv4 Explorer to call something and hit an exception, then the output does not present any details. It only says "Internal Server Error"; this is true even if the response includes more details.
![Screen_Shot_2019-11-06_at_8.15.04_PM](/uploads/cb0c7c2944f7c16451c893985f6c5171/Screen_Shot_2019-11-06_at_8.15.04_PM.png)
## Expected Behavior
Display the error message and backtrace.
## Environment
* CiviCRM: `master` circa Nov 6 -- early `5.21.alpha1`https://lab.civicrm.org/dev/core/-/issues/1312Add dupe_check to API v4 Contact Create2022-12-27T05:03:30ZpbarmakAdd dupe_check to API v4 Contact Createv4 of the API does not seem to have a dupe_check parameter for Contact Create. It would be good to have this so we can migrate v3 code over easier.v4 of the API does not seem to have a dupe_check parameter for Contact Create. It would be good to have this so we can migrate v3 code over easier.https://lab.civicrm.org/dev/core/-/issues/1313Remove remaining refs to Jira in error messages2022-12-26T05:03:23ZJoe McLaughlinRemove remaining refs to Jira in error messagesRemove any remaining refs to Jira in error messages, etc, like this for example. From someone attempting to update from 4.2.x:
![Screenshot_20191012-114932](/uploads/644b6370b8f3f8ca37fcbe398dfa59c7/Screenshot_20191012-114932.png)Remove any remaining refs to Jira in error messages, etc, like this for example. From someone attempting to update from 4.2.x:
![Screenshot_20191012-114932](/uploads/644b6370b8f3f8ca37fcbe398dfa59c7/Screenshot_20191012-114932.png)https://lab.civicrm.org/dev/core/-/issues/1301Find cases issue - export issue2022-12-22T05:03:21ZgibsonoliverFind cases issue - export issueWhen you do a Find cases search>export>select fields for export you can choose related fields. But they don't export
![Capture](/uploads/6e010d1d48a8d990a07f40896bc5d8a4/Capture.PNG)When you do a Find cases search>export>select fields for export you can choose related fields. But they don't export
![Capture](/uploads/6e010d1d48a8d990a07f40896bc5d8a4/Capture.PNG)https://lab.civicrm.org/dev/core/-/issues/1248Make "Household"-free configuration supported2022-12-15T05:04:47ZtottenMake "Household"-free configuration supportedDisabling the `Household` contact-type is a fairly a common but obscure customization. (See, for example, [this popular Q&A on StackExchange](https://civicrm.stackexchange.com/questions/54/how-can-i-disable-households).) Basically: `Hous...Disabling the `Household` contact-type is a fairly a common but obscure customization. (See, for example, [this popular Q&A on StackExchange](https://civicrm.stackexchange.com/questions/54/how-can-i-disable-households).) Basically: `Household` is a power-tool that isn't needed everywhere, so a number of implementers/consultants/support-folk will take measures to disable it -- thus preventing the users from misusing or growing confused by it.
On the other hand, the codebase has special bits sprinkled in for supporting the three canonical contact-types (Individual/Household/Organization), so there is likely some risk in disabling it, and the admin UI clearly takes measures to *prevent* anyone from disabling any of those three.
![Screen_Shot_2019-09-11_at_9.50.26_AM](/uploads/48e7014363948a8c04022db9b556d1c3/Screen_Shot_2019-09-11_at_9.50.26_AM.png)
The support disposition of this came up in regression report #1246 - to wit: if one has gone under the hood to do this customization, should one expect it to work or to get socialized support when there's a regression?
This issue is meant as a vote of "Yes, it should be supported - and what would it take for that?" Here are a few loose/general things:
* Expand the automated test-coverage for this scenario
* Update admin UI so that one can disable it through the GUI
* Ensure that related elements which implicitly depend on `Household` are somehow toggled based on whether `Household` is active. [This answer](https://civicrm.stackexchange.com/a/411/93) highlights several such elements. Ideally, an official toggle would be forgiving and could be freely re-enabled, but it would also be acceptable to take a more destructive approach (like in the Stackexchange threads) as long as it's very clearly communicated (i.e. indicating what data+configuration will be destroyed).https://lab.civicrm.org/dev/core/-/issues/1219Problem with creating or editing activities in cases after upgrade to 5.16.3 ...2022-12-15T05:04:46ZjohansProblem with creating or editing activities in cases after upgrade to 5.16.3 from 5.8.2I have just upgraded from 5.8.2 to 5.16.3 without errors on drupal 7.61.
When I open an activity or create a new activity in a case, it opens in a overlay window on top of the page, but it does not display correctly.
When it opens the ...I have just upgraded from 5.8.2 to 5.16.3 without errors on drupal 7.61.
When I open an activity or create a new activity in a case, it opens in a overlay window on top of the page, but it does not display correctly.
When it opens the overlay window I get the following error in the DevTools Console:
VM669:35 Uncaught TypeError: Cannot read property 'indexOf' of undefined
at HTMLDocument.eval (eval at <anonymous> (jquery.min.js?pww3un:2), <anonymous>:35:35)
at i (jquery.min.js?pww3un:2)
at Object.add [as done] (jquery.min.js?pww3un:2)
at n.fn.init.n.fn.ready (jquery.min.js?pww3un:2)
at new n.fn.init (jquery.min.js?pww3un:2)
at Object.n [as $] (jquery.min.js?pww3un:2)
at eval (eval at <anonymous> (jquery.min.js?pww3un:2), <anonymous>:3:9)
at eval (<anonymous>)
at jquery.min.js?pww3un:2
at Function.globalEval (jquery.min.js?pww3un:2)
And the window looks like this:
![Activity_in_case_with_display_error](/uploads/a9939ba90e76fbbbb70501397464642e/Activity_in_case_with_display_error.png)
Is this a problem only I am having or?
Johanhttps://lab.civicrm.org/dev/core/-/issues/173Missing email on contribution thank you page when using pay later and a profi...2022-12-13T05:03:44ZAlanDixonMissing email on contribution thank you page when using pay later and a profile that includes an email addressAs per https://civicrm.stackexchange.com/questions/23034/email-address-is-missing-on-thank-you-page-where-it-says-an-email-confirmation reported by @petednz
1. It seems like the _emailExists property is setup to track when the email is...As per https://civicrm.stackexchange.com/questions/23034/email-address-is-missing-on-thank-you-page-where-it-says-an-email-confirmation reported by @petednz
1. It seems like the _emailExists property is setup to track when the email is included in a profile (and therefore not at it's usual key), and I notice that that property is handled on the Confirm page but not on the Thankyou page.
2. The email address does show up on the page within the profile display, so it's available.
So we just need to get it assigned to the email variable in the smarty, I think the preprocess method is where it should be done. I tried using some code similar to the stuff on the Confirm page, but it didn't work, I'm kind of making it up ...https://lab.civicrm.org/dev/core/-/issues/1231Administrator UX: Identify pending extension DB updates2022-12-12T05:03:29ZtottenAdministrator UX: Identify pending extension DB updatesAs described in MM by @mattwire:
> The existing extension upgrades prompt is next to useless because it doesn't tell you which extensions have database upgrades waiting so you have to just click and cross your fingers! If, instead it g...As described in MM by @mattwire:
> The existing extension upgrades prompt is next to useless because it doesn't tell you which extensions have database upgrades waiting so you have to just click and cross your fingers! If, instead it gave a list of extensions with database upgrades it would at least give the user something to "decide".
>
> I do see a use-case for not automatically running them as it gives you the opportunity to decide to rollback the extension instead of upgrade at that point. But that may not actually be useful in the real world (ie. outside of my developer world).
>
>So, either run them automatically and tell the user they were run. Or don't run them and tell the user what is actually in need of upgrade.https://lab.civicrm.org/dev/core/-/issues/1228Contribution Receive date not required in offline Event Registration2022-12-10T05:03:20Zmagnolia61Contribution Receive date not required in offline Event RegistrationWhen manually adding a contribution the receive date is a required field.<br><br>
This is not the case in the Event Registration Form while entering a new registration with a contribution.
I believe for consistency it would be better to ...When manually adding a contribution the receive date is a required field.<br><br>
This is not the case in the Event Registration Form while entering a new registration with a contribution.
I believe for consistency it would be better to also have it be required at this form.<br><br>
Not sure how to code it though. Would this just be as easy as changing the tpl and marking the field required?
<br><br>
This is probably related: https://github.com/civicrm/civicrm-core/pull/14460https://lab.civicrm.org/dev/core/-/issues/1229Dedicated permission for automatic messages2022-12-10T05:03:19ZmarcelklehrDedicated permission for automatic messagesI would like to be able to selectively grant access to the automated messages of CiviMail, so that the council of my organisation can edit these on their own, without having to grant them full admin privs.I would like to be able to selectively grant access to the automated messages of CiviMail, so that the council of my organisation can edit these on their own, without having to grant them full admin privs.https://lab.civicrm.org/dev/core/-/issues/1162People tagged with “No Bulk Email (User Opt Out)” seem to be receiving bulk e...2022-12-08T05:03:17ZandyburnsPeople tagged with “No Bulk Email (User Opt Out)” seem to be receiving bulk emailPer this I am also seeing this behavior: https://civicrm.stackexchange.com/questions/29318/people-tagged-with-privacy-no-bulk-email-seem-to-be-receiving-bulk-email.
I checked wpmaster.demo.civicrm.org and my prod site and when composing...Per this I am also seeing this behavior: https://civicrm.stackexchange.com/questions/29318/people-tagged-with-privacy-no-bulk-email-seem-to-be-receiving-bulk-email.
I checked wpmaster.demo.civicrm.org and my prod site and when composing an email I added 1 record to a mailing group on each site and it says 'No Recipients' on both. That is correct.
![image](/uploads/ddf053c98be293a5dc3edafaf6ea8903/image.png)
In our live installation we know this is not working because the email recipient replied to the mass email sent saying they tried to unsubscribe 3x even though the field 'No Bulk Email (User Opt Out) is checked.
We use Sparkpost if that could impact this. On WP 5.2.2 and Civi 5.13.4https://lab.civicrm.org/dev/core/-/issues/1165From address does not default to contact's email (Improvement Request)2022-12-05T05:03:26ZBobSFrom address does not default to contact's email (Improvement Request)When "Allow Mail to be sent from logged in contact's email address" (Administer | System Settings | Outbound mail) is Yes (and an new email is opened to be sent to a contact, the default From address is the user's primary email address, ...When "Allow Mail to be sent from logged in contact's email address" (Administer | System Settings | Outbound mail) is Yes (and an new email is opened to be sent to a contact, the default From address is the user's primary email address, as expected.
When this flag is No, however, the default is the first email address in the From Senders, even if the user has a primary address which is in the From Senders list.
Same issue with CiviMail, although in that case the default From address is always the first address in the From Senders, even when the above flag is Yes.
8/9/19: Edit: Change "unchecked" to "Yes" and "checked" to "No".https://lab.civicrm.org/dev/core/-/issues/380Exporting Results from Related Contact Search Gives "No Records to Export" Me...2022-12-04T05:03:21ZguyiacExporting Results from Related Contact Search Gives "No Records to Export" MessageOn civicrm.org, I was trying to export the employers of people who attended CiviCamp Hartford 2017. I used the Advanced Search, chose CiviCamp Hartford 2017 in the Event tab, and Related Contacts - Employer in the "Display Results As" dr...On civicrm.org, I was trying to export the employers of people who attended CiviCamp Hartford 2017. I used the Advanced Search, chose CiviCamp Hartford 2017 in the Event tab, and Related Contacts - Employer in the "Display Results As" dropdown. I get 82 results to display. However when I select all 82 records and try to export them, I get the "no records to export" message. Same result on the dmaster demo site.
![image](/uploads/adb4206a1de036dd2371400e72a7f13a/image.png)https://lab.civicrm.org/dev/core/-/issues/1169OOM in civicrm-core/install/civicrm.php when user does not have proper databa...2022-12-03T05:03:24ZthaeliOOM in civicrm-core/install/civicrm.php when user does not have proper database permissionsThe specific circumstances under which I encountered this bug was Drupal 8, but I don't see anything Drupal-specific in the bug.
* Drupal 8 with CiviCRM 5.15
* Drupal db user only has SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ...The specific circumstances under which I encountered this bug was Drupal 8, but I don't see anything Drupal-specific in the bug.
* Drupal 8 with CiviCRM 5.15
* Drupal db user only has SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, TRIGGER
* Activate civicrm plugin with `drush en civicrm`
Result: civicrm-core/install/civicrm.php runs out of memory, even with the PHP memory limit set to -1.
Commenting out line 185 of civicrm-core/install/civicrm.php prevents the OOM and shows the actual error (missing permissions).https://lab.civicrm.org/dev/core/-/issues/1163hook_civicrm_aclWhereClause not called when removing contacts from group2022-12-02T05:03:25ZBobShook_civicrm_aclWhereClause not called when removing contacts from group**Scenario 1:**
User has both "CiviCRM: view all contacts" and "CiviCRM: edit all contacts" not enabled.
User clicks Contacts | Manage Groups, clicks the Contacts link for a listed group, selects a contact and chooses "Group - remove con...**Scenario 1:**
User has both "CiviCRM: view all contacts" and "CiviCRM: edit all contacts" not enabled.
User clicks Contacts | Manage Groups, clicks the Contacts link for a listed group, selects a contact and chooses "Group - remove contacts" from the Actions dropdown. hook_civicrm_aclWhereClause is called (and returns true) several times and the operation is successful as expected.
**Scenario 2:**
Same user as above views the Groups tab on a contact record, clicks "Remove" for one of the listed groups, and clicks "Continue" at the confirmation prompt.
A error popup appears saying "API permission check failed for GroupContact/delete call; insufficient permission: require access CiviCRM and edit all contacts"
Only **after** this is hook_civicrm_aclWhereClause called (verified by breakpoint at the entry point), but the remove operation has already been blocked.
Tested on CiviCRM 5.15.1, Drupal 7.67<br>
Untestable on demo site as it requires hook installation.https://lab.civicrm.org/dev/core/-/issues/1157What is the meaning of a blank value in a field in QuickForm?2022-12-01T05:03:38ZseamusleeWhat is the meaning of a blank value in a field in QuickForm?So i have come to this question because of a rather annoying and perculiar situation we have in our system.
We want to populate a contribution custom field value based on a hook_civicrm_post on the contribution which is all fine. It wor...So i have come to this question because of a rather annoying and perculiar situation we have in our system.
We want to populate a contribution custom field value based on a hook_civicrm_post on the contribution which is all fine. It works 90% of the time fine however when using the back office form to add contributions we seem to be in an issue where by the following process appears to happen
Form is submitted -> Form processes the contribution elements -> triggers the hook_civicrm_post hook -> our custom code updates the custom value -> form processes the custom data values on from the QuickForm hook -> custom field was blank on the screen -> CiviCRM overwrites the custom field value with a blank string.
So my question is what is the appropriate resposne when quickform submits a blank field
I would see that if the action is Add then maybe we should just ignore it, but i can see a reason in say Edit mode or similar to clear the data in the database but would appreciate others thoughts.
The other question is that is there any better hook to be using for this purpose?
@colemanw @eileen @totten @JoeMurray etchttps://lab.civicrm.org/dev/core/-/issues/1152Rebuild menu URL doesn't work on multisite2022-11-29T05:03:29ZandyburnsRebuild menu URL doesn't work on multisiteUsing the link (/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fmenu%2Frebuild?reset=1) doesn't rebuild the menu.
Is the best way to approach this is to rebuild in SQL for now? https://docs.civicrm.org/sysadmin/en/latest/install/multi-site...Using the link (/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fmenu%2Frebuild?reset=1) doesn't rebuild the menu.
Is the best way to approach this is to rebuild in SQL for now? https://docs.civicrm.org/sysadmin/en/latest/install/multi-site/#build-the-navigation-links-for-new-domainhttps://lab.civicrm.org/dev/core/-/issues/1150Date/Time of the first activity in a repeat activity sequence is wrong if you...2022-11-27T05:03:22ZDaveDDate/Time of the first activity in a repeat activity sequence is wrong if you choose a start date in the repeating section1. Create an activity.
2. In the repeat activity section choose a start date/time.
3. When you click save the confirmation popup seems to have the correct date/times all listed.
4. The first activity that gets created has the activity da...1. Create an activity.
2. In the repeat activity section choose a start date/time.
3. When you click save the confirmation popup seems to have the correct date/times all listed.
4. The first activity that gets created has the activity date/time from the original (which is likely the current date/time), not the start date you picked.
Can reproduce on dmaster.demohttps://lab.civicrm.org/dev/core/-/issues/1148Rationalise / stdise paths vs settings2022-11-27T05:03:22ZeileenRationalise / stdise paths vs settingsPer the long discussion here - https://github.com/civicrm/civicrm-core/pull/14718 we have some new 'paths' you can set for urls but others are in 'settings' which is a bit confusing. Ideally we would convert the settings ones but make th...Per the long discussion here - https://github.com/civicrm/civicrm-core/pull/14718 we have some new 'paths' you can set for urls but others are in 'settings' which is a bit confusing. Ideally we would convert the settings ones but make them overridable via 'settings' as expressed
"Perhaps it's possible to first use Civi::paths behind the scenes and have it populate/override paths set in $civicrm_settings?"https://lab.civicrm.org/dev/core/-/issues/1146Custom multi profile: file fields only show one delete attachment action2022-11-26T05:03:21ZmountevCustom multi profile: file fields only show one delete attachment actionFor a profile with multi record custom set including multiple file fields, display delete attachment option only for one file.
Steps to reproduce:
- create a custom data set for contacts or indivs. mark it as a multi-record set.
- add ...For a profile with multi record custom set including multiple file fields, display delete attachment option only for one file.
Steps to reproduce:
- create a custom data set for contacts or indivs. mark it as a multi-record set.
- add two file type fields
- create a profile and add those fields to it. mark them as included in the multi-record listing (or pick a different field; you need at least one marked like this for the listing to work)
- open the profile in edit view. add a record and upload a file to each field. save it.
- that returns you to the listing of multi-records. edit the existing record. the two files will be listed but only one has a "delete attached file" link. if you click it, it removes the attachment for the last file field.
Note: if your custom data set is a single record set, the profile edit form will have the link for each file.
![image](/uploads/d69c46695e140fe31c965571faf48325/image.png)