Development issueshttps://lab.civicrm.org/groups/dev/-/issues2023-06-23T17:54:21Zhttps://lab.civicrm.org/dev/core/-/issues/17Convert Campaign Interview Task to use Pseudoconstant and remove PHP notices2023-06-23T17:54:21Zmattwiremjw@mjwconsult.co.ukConvert Campaign Interview Task to use Pseudoconstant and remove PHP noticesRemove deprecated CRM_Core_OptionGroup and replace with CRM_Core_PseudoConstant. Fix PHP notices.
Ref: https://github.com/civicrm/civicrm-core/pull/11809Remove deprecated CRM_Core_OptionGroup and replace with CRM_Core_PseudoConstant. Fix PHP notices.
Ref: https://github.com/civicrm/civicrm-core/pull/11809https://lab.civicrm.org/dev/drupal/-/issues/17Drupal8: Get UF locale/language is not supported (ex: for inheritLocale)2020-07-16T17:23:38ZbgmDrupal8: Get UF locale/language is not supported (ex: for inheritLocale)The option for `inhericLocale` does not seem to be working. To reproduce:
* In Drupal, enable translation and enable a second language, set language-detection using the URL prefix.
* Create a multi-lingual site (admin > locale > languag...The option for `inhericLocale` does not seem to be working. To reproduce:
* In Drupal, enable translation and enable a second language, set language-detection using the URL prefix.
* Create a multi-lingual site (admin > locale > languages, enable multilingual, then enable a second language)
* Enable the "inherit CMS language" option.
![Capture_d_écran_de_2018-04-26_14-35-12](/uploads/6573bb26a55bffe8729724d5e9b028f7/Capture_d_écran_de_2018-04-26_14-35-12.png)
Result: no matter whether accessing CiviCRM in English or French, the site is always in the default language.5.3.0bgmbgmhttps://lab.civicrm.org/dev/financial/-/issues/17Unable to create 'Credit/Contra Revenue Account is' financial relationship2018-11-09T22:16:34ZdavyivinsUnable to create 'Credit/Contra Revenue Account is' financial relationshipAll attempts to create a Contra/Credit relationship return "*Error This financial account cannot have 'Credit/Contra Revenue Account is' relationship.*"
The error occurs when attempting to allocate the Contra relationship to:
* an exi...All attempts to create a Contra/Credit relationship return "*Error This financial account cannot have 'Credit/Contra Revenue Account is' relationship.*"
The error occurs when attempting to allocate the Contra relationship to:
* an existing revenue account that has the "Income Account is" relationship,
* a new dedicated "Credit Revenue Account" without any existing relationships.
* any account whether set them up as revenue, expense, COS, asset or liability types.
This error has been reproduced on production sites running D6 (Civi 5.0.0) and D7 (Civi5.1.0), as well as on the Civi 4.7 demo site and the dmaster sandbox.Monish DebMonish Debhttps://lab.civicrm.org/dev/translation/-/issues/17RTL issue: form label should be at right, and their input fields, at the left.2018-10-22T18:50:53ZcalbasiRTL issue: form label should be at right, and their input fields, at the left.I'm not sure if I should create this issue here or at civicrm core repository. Doing here, as first step to make a Merge Request at Github repository.
I'm attaching an screenshot of the wrong output. It's wrong, at least, in Arabic, but...I'm not sure if I should create this issue here or at civicrm core repository. Doing here, as first step to make a Merge Request at Github repository.
I'm attaching an screenshot of the wrong output. It's wrong, at least, in Arabic, but I suppose it's wrong for all other RTL languages. It's, too, a basic feature, because forms are used everywhere...
This issue happens at custom profile but also at system/default profiles.![Captura_2018-09-13_17-20-29](/uploads/3bdba1980909fd4fb5a0ea96979bd24d/Captura_2018-09-13_17-20-29.png)
![Captura_2018-09-13_17-17-19](/uploads/e6b36a362c68005b37c0a74e0d106194/Captura_2018-09-13_17-17-19.png)https://lab.civicrm.org/dev/wordpress/-/issues/17CiviCRM shortcode button not working if pop ups are off in display settings2020-06-17T09:07:23ZkcristianoCiviCRM shortcode button not working if pop ups are off in display settingsIf pop Ups are disabled in [Display preferences](https://wpmaster.demo.civicrm.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fadmin%2Fsetting%2Fpreferences%2Fdisplay&reset=1) the CiviCRM shortcode button does not render properly.
![ima...If pop Ups are disabled in [Display preferences](https://wpmaster.demo.civicrm.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fadmin%2Fsetting%2Fpreferences%2Fdisplay&reset=1) the CiviCRM shortcode button does not render properly.
![image](/uploads/1160b5a86a17a46fa073b40cb359801b/image.png)
This is the result:
![image](/uploads/6145a145d06561a9dfe5f2bfec65b038/image.png)
Instead of:
![image](/uploads/f915b8bbf5b7f1a19e8232023d42333b/image.png)
[Discussed in Mattermost](https://chat.civicrm.org/civicrm/pl/bj65j3gyi3by9e4yd94t6h3mjr)
cc @haystackhttps://lab.civicrm.org/dev/user-interface/-/issues/17Confusing popups when importing activities2022-06-11T01:15:44ZrobinhoodConfusing popups when importing activitiesThis is on CiviCRM 5.24.1, just installed. The behavior of the Import Activities page is odd. On the Preview page, Step 3 of 4, the buttons Previous, Import Now, or Cancel are displayed. However, no matter which button is selected, a pop...This is on CiviCRM 5.24.1, just installed. The behavior of the Import Activities page is odd. On the Preview page, Step 3 of 4, the buttons Previous, Import Now, or Cancel are displayed. However, no matter which button is selected, a popup box says: "Backing up your database before importing is recommended, as there is no Undo for this. Are you sure you want to import now?" Then the import appears to start and a progress bar appears, even if Previous or Cancel were selected. If Import Now was selected, the import proceeds normally. If Previous was selected, nothing is imported, and it returns the user to Step 2 of 4. If Cancel was selected, nothing is imported, and it returns the user to Step 1 of 4. No harm is done, and the return to previous steps is correct, but the popups give the appearance that we are unable to stop the import regardless of the option selected, which is alarming to the user. This behavior is confirmed on the demo site.5.51.0https://lab.civicrm.org/dev/core/-/issues/3272Postal Code Suffix returns Postal Code value2022-04-22T15:53:21ZlcdwebPostal Code Suffix returns Postal Code valueWhen the postal code suffix column is displayed, it returns the postal code value instead of the suffix.When the postal code suffix column is displayed, it returns the postal code value instead of the suffix.lcdweblcdwebhttps://lab.civicrm.org/dev/core/-/issues/3542Move the cache for `CRM_Extension_Browser` out of the filesystem and use a `S...2022-06-16T02:21:42ZtiotsopMove the cache for `CRM_Extension_Browser` out of the filesystem and use a `SqlGroup` insteadThe current code in `CRM_Extension_Browser` is coded specifically for an adhoc, file-based caching logic. The recommendation standard is basically to change the backing/storage from a JSON file to the civicrm_cachetable (at least, for th...The current code in `CRM_Extension_Browser` is coded specifically for an adhoc, file-based caching logic. The recommendation standard is basically to change the backing/storage from a JSON file to the civicrm_cachetable (at least, for the typical usage).
Ref [#2](https://lab.civicrm.org/dev/cloud-native/issues/2#note_4790)5.52.0tiotsoptiotsophttps://lab.civicrm.org/dev/core/-/issues/3605"Tracking Click-Throughs" option in mailings generates 404 links when using m...2024-02-17T05:03:31Zjensschuppe"Tracking Click-Throughs" option in mailings generates 404 links when using multi-language with path prefixThis occurred in a Drupal environment with multiple languages and the following configuration:
- Languages in Drupal:
- English (activated)
- German (activated, default)
- Languages in CiviCRM:
- Default language: English
- avai...This occurred in a Drupal environment with multiple languages and the following configuration:
- Languages in Drupal:
- English (activated)
- German (activated, default)
- Languages in CiviCRM:
- Default language: English
- available: German, English
- Inherit CMS language: yes
Conditions under which the erroneous behavior can be reproduced:
- Mailing language: English
- UI language: German
- language prefix in the URL: none or "de"
or:
- Mailing language: German
- UI language: English
- language prefix in the URL: none or "en"
ergo: Using a UI language different from the mailing language and having path prefixes for language detection.
The result is links to the tracking script being prefixed with the language code of the UI language, like so:
https://example.org/de/sites/all/modules/civicrm/extern/url.php?u=123&qid=12345
which is producing a 404 as obviously the path to the script file is not valid due to the language prefix.
Apparently, this code in CRM/Mailing/BAO/TrackableURL.php:93 is where the URL is constructed, but with `userFrameworkResourceURL` being prefixed with the language code:
```
$redirect = $config->userFrameworkResourceURL . "extern/url.php?u=$id";
```https://lab.civicrm.org/dev/civicrm-asset-plugin/-/issues/18civicrm-asset-plugin not available from github2021-02-19T08:35:07Zyalhcivicrm-asset-plugin not available from githubHi,
I'm trying to install CiviCRM for Drupal 8 on an OVH hosting.
The point is: OVH only allows outgoing connections to few sites like: https://getcomposer.org/, https://gitlab.com/, https://github.com/ but not https://lab.civicrm.org...Hi,
I'm trying to install CiviCRM for Drupal 8 on an OVH hosting.
The point is: OVH only allows outgoing connections to few sites like: https://getcomposer.org/, https://gitlab.com/, https://github.com/ but not https://lab.civicrm.org (tested doing some curl tests)
Other requirements for installing CiviCRM for Drupal 8 with composer are available at github.com.
Would it be possible to make civicrm-asset-plugin available from github and default repository for composer at github?
Thanks in advance.https://lab.civicrm.org/dev/core/-/issues/18log tables for CiviCRM Drupal Modules can cause WSODs after running upgrades ...2023-06-23T17:54:21Zseamusleelog tables for CiviCRM Drupal Modules can cause WSODs after running upgrades when re-calculatingAfter every upgrade if you have detailed logging enabled then the log_tables are recalculated and any differences fixed up. This is to ensure that the triggers on the log tables work fine.
There is an issue with CiviCRM drupal modules ...After every upgrade if you have detailed logging enabled then the log_tables are recalculated and any differences fixed up. This is to ensure that the triggers on the log tables work fine.
There is an issue with CiviCRM drupal modules and it comes down to a miss calculation between the create schema for the intitial log table v the compare differences function.
An example is
```sql
CREATE TABLE civicrm_member_roles_rules (
rule_id int(11) NOT NULL AUTO_INCREMENT,
rid int(10) unsigned NOT NULL,
type_id int(10) unsigned NOT NULL,
status_codes text NOT NULL,
PRIMARY KEY (rule_id)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8
```
When the log table for that is created the AUTO_INCREMENT is correctly handled through https://github.com/civicrm/civicrm-core/blob/master/CRM/Logging/Schema.php#L709 However when the schema diff code runs. We only exclude the column `id` https://github.com/civicrm/civicrm-core/blob/master/CRM/Logging/Schema.php#L628 as we assume that the id column will always be the AUTO_INCREMENT column whereas in the member_roles_rules example the AUTO INCREMENT column is actually `role_id`seamusleeseamusleehttps://lab.civicrm.org/dev/drupal/-/issues/18Installation permissions problem2020-10-15T04:43:56ZTony Maynard-SmithInstallation permissions problemHello,
I have just installed CiviCRM 5.0.2 for Drupal, on a new clean install of Drupal 7.59. It failed saying that I needed the 'administer site administration' permission. I logged out and in again (as site admin), and also gave mys...Hello,
I have just installed CiviCRM 5.0.2 for Drupal, on a new clean install of Drupal 7.59. It failed saying that I needed the 'administer site administration' permission. I logged out and in again (as site admin), and also gave myself the permission as an Authorised User, but it still failed.
I managed to install it by commenting out lines 268 to 273 in the install script, and it seems to be working Ok.
Regards, Tonyhttps://lab.civicrm.org/dev/financial/-/issues/18Proposal - Money formatting2021-03-24T01:03:07Zmattwiremjw@mjwconsult.co.ukProposal - Money formattingWe need to look at a better approach to formatting money within CiviCRM. It should properly handle currencies, decimal places, "1000" separater (ie 1,000.00 and 1.000,00).
Some approaches:
- Money formatting functions: https://github.c...We need to look at a better approach to formatting money within CiviCRM. It should properly handle currencies, decimal places, "1000" separater (ie 1,000.00 and 1.000,00).
Some approaches:
- Money formatting functions: https://github.com/civicrm/civicrm-core/pull/12055
- Allow higher precision decimals to be entered so tax can be calculated correctly: https://github.com/civicrm/civicrm-core/pull/10641
- MoneyPHP?
cc @eileen This is a tracking issue so I can close down PRs.https://lab.civicrm.org/dev/translation/-/issues/18Resolve difference between github and lab repos2020-01-16T18:17:12ZseamusleeResolve difference between github and lab reposOur automated jobs use the github repository as the primary source for po and the bin scripts. There have been some changes since the last time the repo was pushed to lab. We should probably aim to decide which should be the source of tr...Our automated jobs use the github repository as the primary source for po and the bin scripts. There have been some changes since the last time the repo was pushed to lab. We should probably aim to decide which should be the source of truth and then either alter the automated jobs to use the lab repo or set up a sync job in test.civicrm.org
ping @bgm @tottenbgmbgmhttps://lab.civicrm.org/dev/wordpress/-/issues/18wp-cli sometimes fails to find cms path2020-06-17T09:07:23Zaydunsaidan.saunders@squiffle.ukwp-cli sometimes fails to find cms pathInitially reported as https://github.com/veda-consulting/uk.co.vedaconsulting.mosaico/issues/293 but on further investigation the url issue only occurs when mailings are invoked by wp-cli.
When `wp-cli` is called with the `--path` optio...Initially reported as https://github.com/veda-consulting/uk.co.vedaconsulting.mosaico/issues/293 but on further investigation the url issue only occurs when mailings are invoked by wp-cli.
When `wp-cli` is called with the `--path` option but the current working directory is not within the CMS tree, `CRM_Utils_System_WordPress::cmsRootPath()` is unable to determine the CMS path resulting in the `realpath($cmsPath)` call in `CRM_Utils_System_WordPress::getCiviSourceStorage()` returning the current working directory and hence a bad value for the `$config->userFrameworkBaseURL` which is used when replacing trackable URL's in `CRM_Mailing_BAO_TrackableURL::getTrackerURL()`
A workaround is to hardcode in `civicrm.settings.php`:
`$civicrm_setting['URL Preferences']['userFrameworkResourceURL'] = 'https://domain.tld/wp-content/plugins/civicrm/civicrm';`
The fix is to save the `--path` setting so that `CRM_Utils_System_WordPress::cmsRootPath()` returns the right information.aydunsaidan.saunders@squiffle.ukaydunsaidan.saunders@squiffle.ukhttps://lab.civicrm.org/dev/user-interface/-/issues/18Wrap separators in price field in spans with classes2020-05-14T00:17:14ZherbdoolWrap separators in price field in spans with classesThis is what it looks like now:
![Screenshot_from_2020-04-14_23-33-59](/uploads/41dd70e6e16b1305ed8fb8ca7abf3b6e/Screenshot_from_2020-04-14_23-33-59.png)
About 4 years ago a span and class were added to the "-" separator. But we should...This is what it looks like now:
![Screenshot_from_2020-04-14_23-33-59](/uploads/41dd70e6e16b1305ed8fb8ca7abf3b6e/Screenshot_from_2020-04-14_23-33-59.png)
About 4 years ago a span and class were added to the "-" separator. But we should have them on the colons as well. This will help with styling the form. This should be a simple PR.5.27.0herbdoolherbdoolhttps://lab.civicrm.org/dev/core/-/issues/3212Participant Listing report filters incorrectly on role ID2023-12-24T05:03:20ZJonGoldParticipant Listing report filters incorrectly on role IDThis issue is identical to [CRM-18803](https://issues.civicrm.org/jira/browse/CRM-18803) except that CRM-18803 affected all other CiviReports with fields that stored values separated by `CRM_Core_DAO::VALUE_SEPARATOR`. Those were fixed ...This issue is identical to [CRM-18803](https://issues.civicrm.org/jira/browse/CRM-18803) except that CRM-18803 affected all other CiviReports with fields that stored values separated by `CRM_Core_DAO::VALUE_SEPARATOR`. Those were fixed everywhere else by [this PR](https://github.com/civicrm/civicrm-core/pull/8650). However, since the `where()` in this report is overridden, it has its own copy of the regex which wasn't fixed.
I grepped and confirmed this is the only place where this needs to be fixed, and applied the same regex as the commit above.
To replicate this bug, you need at least ten participant roles. The first one's value should be `1`. Searching on this value will return any participant whose role BEGINS with a `1` (i.e. `10`, `11`, `100`, etc.) rather than just records whose participant role value IS 1.JonGoldJonGoldhttps://lab.civicrm.org/dev/core/-/issues/3522Soften messages for read-only extensionsDir2022-06-11T14:41:07ZtiotsopSoften messages for read-only extensionsDirImprove messaging when someone has a different policy for managing `extensionsDir`.This a continuation of this [PR](https://github.com/civicrm/civicrm-core/pull/11895). Most of the messaging update has already been done. There is only on...Improve messaging when someone has a different policy for managing `extensionsDir`.This a continuation of this [PR](https://github.com/civicrm/civicrm-core/pull/11895). Most of the messaging update has already been done. There is only one message ("Read-Only Extensions"). It still encourages web-writable policy, but it lowers the severity and presents it a choice ("if you want X, do Y").
Probably, changing the `warning` into a `notice` is the only thing to update:- a `warning` implies something is wrong, while a `notice` says it's merely out of the ordinary.5.9tiotsoptiotsophttps://lab.civicrm.org/dev/core/-/issues/3573Unsubscribe fails but appears to have worked for resending to previous mailin...2024-02-14T05:03:29ZRichUnsubscribe fails but appears to have worked for resending to previous mailing to search resultsRecreate with 5.2.2 (on Dupal 7)
1. create mailing group A
2. create other group B
4. add contact into group: B
5. do mailing to contacts in group B, using group A as unsubscribe. (i.e. Find » In Group B » Action: create CiviMail mailin...Recreate with 5.2.2 (on Dupal 7)
1. create mailing group A
2. create other group B
4. add contact into group: B
5. do mailing to contacts in group B, using group A as unsubscribe. (i.e. Find » In Group B » Action: create CiviMail mailing)
7. Create and send mailing: sent to recipients of mlg1
8. click unsubscribe.
## Expect
to see confirm form saying "you will be unsubscribed from A" because A was the base group used for the original mailing. (When sending to previous mailing recipients there is no option to select an unsubscribe group)
## Actual
User sees "yes you've been unsubscribed from the mailing group/list" [code ref](https://lab.civicrm.org/dev/core/blob/master/CRM/Mailing/Form/Unsubscribe.php#L71) but nothing has actually happened!https://lab.civicrm.org/dev/core/-/issues/19disabled optionvalues are not shown in participant export2023-06-23T17:54:22ZJoostdisabled optionvalues are not shown in participant exporta participant field has a custom field containing option values. Participants choose one of these option values. The option value that the participants chose gets disabled after they chose it. In a participant export containing this cust...a participant field has a custom field containing option values. Participants choose one of these option values. The option value that the participants chose gets disabled after they chose it. In a participant export containing this custom field the participants who chose for the disabled option will have a blanc space in the table on that location. Expected is having the option they chose over there, all-tough it has been disabled, and isn't available to choose any more.
to recreate this on a demo site:
1. create a participant to the fall fundraiser dinner with a soup preference
1. go to custom fields and edit the food preference custom field
1. deactivate the soup selection you chose in step 1
1. find participants to the fall fundraiser dinner
1. select all participants and export them using 'select fields to export'
1. select the fields to export:
- individual - display name to find the person you gave the food selection to
- participant - food preference: soup selection the field we are interested in
1. open the exported file. The soup selection for the disabled field isn't in there. When there are participants who chose for a soup that is still active the soup selection is in there for them