Drupal issueshttps://lab.civicrm.org/dev/drupal/-/issues2021-02-04T19:23:38Zhttps://lab.civicrm.org/dev/drupal/-/issues/57Editing contribution recorded as "Deleted Activity" when full log is enabled2021-02-04T19:23:38ZtapashEditing contribution recorded as "Deleted Activity" when full log is enabledIf an existing contribution edited when full log is enabled, it records in chage log as "Deleted Activity". Is this how it should be?If an existing contribution edited when full log is enabled, it records in chage log as "Deleted Activity". Is this how it should be?https://lab.civicrm.org/dev/drupal/-/issues/55Cannot add Image to Badge Layout on Drupal 8.6.14 CiviCRM 5.12.0.2019-04-17T17:26:59ZcaribbeanCannot add Image to Badge Layout on Drupal 8.6.14 CiviCRM 5.12.0.Go to Administer -> CiviEvent -> Event Name Badge Layouts
Trying to Click "Image (top left)" or "Image (top right)" results in new Window/Tap opens with "File not found."
Output of Web Server error log: [error] 4760#4760: *5993 FastCGI...Go to Administer -> CiviEvent -> Event Name Badge Layouts
Trying to Click "Image (top left)" or "Image (top right)" results in new Window/Tap opens with "File not found."
Output of Web Server error log: [error] 4760#4760: *5993 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: xx.xx.xx.xx, server: example.com, request: "GET /libraries/civicrm/packages/kcfinder/browse.php?cms=civicrm&type=images HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "example.com", referrer: "https://example.com/civicrm/admin/badgelayout?action=update&id=1&reset=1"
A search for browse.php finds the file in {project_root}/vendor/civicrm/civicrm-core/packages/kcfinder/browse.php but not in web_root/libraries/civicrm/packages/kcfinder
Attempting to copy the missing files and directories from the vendor folder to web folder results in another error.
Web Server nginx/1.15.11 PHP 7.3.4-1+ubuntu18.04.1 Database 5.5.5-10.3.14-MariaDB-1:10.3.14+maria
![Screen_Shot_2019-04-16_at_16.07.01](/uploads/759748c6f24f64f4ec347e19efcbead5/Screen_Shot_2019-04-16_at_16.07.01.png)https://lab.civicrm.org/dev/drupal/-/issues/54Drupal8 CiviCRM conflicts with Masquerade module2022-02-24T00:33:50ZJonGoldDrupal8 CiviCRM conflicts with Masquerade moduleReported on d.o originally by jptillman (who is on chat.c.o with the same name) in the Masquerade queue: https://www.drupal.org/project/masquerade/issues/3019665
I confirmed the same issue, and also confirmed that uninstalling CiviCRM r...Reported on d.o originally by jptillman (who is on chat.c.o with the same name) in the Masquerade queue: https://www.drupal.org/project/masquerade/issues/3019665
I confirmed the same issue, and also confirmed that uninstalling CiviCRM resolves this issue. This fits a pattern of Civi having some sort of incorrect interaction with the D8 user login - see #53, core#231, and [CRM-19878](https://issues.civicrm.org/jira/browse/CRM-19878) for other examples.5.41.0https://lab.civicrm.org/dev/drupal/-/issues/50Changing pages on Pagination from the Dashlet causes the report to go fullscreen2021-02-04T19:22:56ZmclubbChanging pages on Pagination from the Dashlet causes the report to go fullscreenAfter we updated to 5.10.3 our client reported that going to the next result (page) the dashlet would take over the full screen. There wasn't any way to minimize or close this if it was a modal. I have tested this out as well and I am ab...After we updated to 5.10.3 our client reported that going to the next result (page) the dashlet would take over the full screen. There wasn't any way to minimize or close this if it was a modal. I have tested this out as well and I am able to replicate.
Drupal 7 (latest)
CiviCRM 5.10.3
To recreate:
* Create a report that will enable pagination and make sure you can add it to the dashboard
* Add the dashlet to the dashboard
* Click on the next page or some other page that is available for the report
* You should see that it goes full screen
Thankshttps://lab.civicrm.org/dev/drupal/-/issues/48Column next_sched_contribution should be next_sched_contribution_date for Vie...2020-04-15T06:55:32ZherbdoolColumn next_sched_contribution should be next_sched_contribution_date for Views integrationIn https://github.com/civicrm/civicrm-drupal/blob/a6a3276330d54ce88fe78cdf9f9034421d56f20c/modules/views/components/civicrm.contribute.inc#L1057 it's referencing a table column that doesn't exist (anymore?).In https://github.com/civicrm/civicrm-drupal/blob/a6a3276330d54ce88fe78cdf9f9034421d56f20c/modules/views/components/civicrm.contribute.inc#L1057 it's referencing a table column that doesn't exist (anymore?).5.14.0https://lab.civicrm.org/dev/drupal/-/issues/44[webform_civicrm] - enable contribution fails with php fatal error in drupal82019-04-29T10:47:32ZDeepak Srivastava[webform_civicrm] - enable contribution fails with php fatal error in drupal8When trying to enable contribution in webform_civicrm, receive a fatal error:
![image](/uploads/7193d1469fdaab57b268a014c744a5bc/image.png)
![image](/uploads/b6bc4c76ccf152fc21f1450f8be9c3c7/image.png)
Error: Call to undefined functio...When trying to enable contribution in webform_civicrm, receive a fatal error:
![image](/uploads/7193d1469fdaab57b268a014c744a5bc/image.png)
![image](/uploads/b6bc4c76ccf152fc21f1450f8be9c3c7/image.png)
Error: Call to undefined function webform_component_invoke() in wf_crm_admin_form::addPageBreak() (line 2057 of /var/www/vhosts/example.org/crm.example.org/modules/webform_civicrm/includes/wf_crm_admin_form.inc) #0 /var/www/vhosts/example.org/crm.example.org/modules/webform_civicrm/includes/wf_crm_admin_form.inc(1983): wf_crm_admin_form::addPageBreak(Array) #1 /var/www/vhosts/example.org/crm.example.org/modules/webform_civicrm/includes/wf_crm_admin_form.inc(1713): wf_crm_admin_form::insertComponent(Array, Array, Array, false) #2 /var/www/vhosts/example.org/crm.example.org/modules/webform_civicrm/src/Form/WebformCiviCRMSettingsForm.php(107): wf_crm_admin_form->postProcess() #3 [internal function]: Drupal\webform_civicrm\Form\WebformCiviCRMSettingsForm->submitForm(Array, Object(Drupal\Core\Form\FormState)) #4 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/Form/FormSubmitter.php(111): call_user_func_array(Array, Array) #5 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/Form/FormSubmitter.php(51): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState)) #6 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/Form/FormBuilder.php(589): Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object(Drupal\Core\Form\FormState)) #7 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/Form/FormBuilder.php(318): Drupal\Core\Form\FormBuilder->processForm('webform_civicrm...', Array, Object(Drupal\Core\Form\FormState)) #8 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/Controller/FormController.php(93): Drupal\Core\Form\FormBuilder->buildForm('webform_civicrm...', Object(Drupal\Core\Form\FormState)) #9 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch)) #10 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #11 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #12 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #13 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #14 /var/www/vhosts/example.org/crm.example.org/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #15 /var/www/vhosts/example.org/crm.example.org/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #16 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /var/www/vhosts/example.org/crm.example.org/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /var/www/vhosts/example.org/crm.example.org/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /var/www/vhosts/example.org/crm.example.org/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /var/www/vhosts/example.org/crm.example.org/core/lib/Drupal/Core/DrupalKernel.php(669): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /var/www/vhosts/example.org/crm.example.org/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #25 {main}.
Drupal version : 8.6.5
CiviCRM Webform (webform_civicrm) : 8.x-5.x-dev
Webform (webform) : 8.x-5.1
CiviCRM : 5.9.0https://lab.civicrm.org/dev/drupal/-/issues/31CiviMember Role sync is no longer syncing Pending memberships2022-10-08T12:04:06ZjitendraCiviMember Role sync is no longer syncing Pending membershipsPending membership does not sync roles even if the option is configured in the settings page.Pending membership does not sync roles even if the option is configured in the settings page.5.9jitendrajitendrahttps://lab.civicrm.org/dev/drupal/-/issues/30Upgrade failure from CiviCRM 4.6.x to 5.5.x due to Backup and Migrate module ...2019-07-05T10:15:51ZdesiertoUpgrade failure from CiviCRM 4.6.x to 5.5.x due to Backup and Migrate module being enabledI attempted an upgrade from 4.6.38 to 5.5.1 running the database upgrade through Drush. I am on Debian 8. At some point around version 4.7 the upgrade failed. It appears that there were too many connection to the MySQL database server, w...I attempted an upgrade from 4.6.38 to 5.5.1 running the database upgrade through Drush. I am on Debian 8. At some point around version 4.7 the upgrade failed. It appears that there were too many connection to the MySQL database server, which I think is set to the standard 100. After consulting an expert, we found that something with the upgrade process was triggering the Drupal Backup and Migrate module to create too many database connections. After reverting to a backup and trying again with Backup and Migrate disabled the upgrade went relatively smoothly. Error text:
PEAR_Exception: "DB Error: connect failed"
* ERROR TYPE: DB_Error
* ERROR CODE: -24
* ERROR MESSAGE: DB Error: connect failed
* ERROR MODE: 16
* ERROR USERINFO: [nativecode=Too many connections]
* ERROR DEBUGINFO: [nativecode=Too many connections]https://lab.civicrm.org/dev/drupal/-/issues/26Double quote (") should not be escaped in CIVICRM_UF_DSN in civicrm.settings.php2020-07-16T17:23:38ZsomnolentsurferDouble quote (") should not be escaped in CIVICRM_UF_DSN in civicrm.settings.phpI'm a complete newbie to both CiviCRM and Drupal, but I've been trying to test out an installation for one of my clients. I completed a fresh, standard installation of Drupal 7, then followed the installation process for CiviCRM in the S...I'm a complete newbie to both CiviCRM and Drupal, but I've been trying to test out an installation for one of my clients. I completed a fresh, standard installation of Drupal 7, then followed the installation process for CiviCRM in the System Administrator Guide.
Once installation was complete, and I had filled in all the details of my database paths and users as requested, I tried to follow the process for setting up scheduled jobs at https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/ using either the CLI or HTTP method.
Whatever I tried, every attempt to run Job.execute resulted in 'DB Error: connect failed'.
With the help of this StackExchange thread (https://civicrm.stackexchange.com/questions/25575/db-error-connect-failed-when-trying-to-call-job-execute-using-cli-php/) I tracked down the logs and discovered that MySQL was rejecting the password of the Drupal database user.
On looking up the password in CIVICRM_UF_DSN in civicrm.settings.php I noticed that a double quote character (") in my password was escaped with a backslash, even though the instructions in the file only say single quote (') or backslash (\) characters should be escaped. Taking the backslash out of the password allowed Job.execute to run as expected.
I had never touched civicrm.settings.php before, so it seems that whichever script had translated the password I entered in the GUI during installation into that file must have erroneously escaped the double quote.https://lab.civicrm.org/dev/drupal/-/issues/22Drupal8: implement views and multilingual CiviCRM2020-07-16T17:23:38ZbgmDrupal8: implement views and multilingual CiviCRMHow to reproduce:
* Create a bilingual Drupal site, with the locale module
* Setup CiviCRM as multilingual, bilingual, using URL prefix language detection (example.org/fr/civicrm)
* Create a view of CiviCRM Events, add the title field.
...How to reproduce:
* Create a bilingual Drupal site, with the locale module
* Setup CiviCRM as multilingual, bilingual, using URL prefix language detection (example.org/fr/civicrm)
* Create a view of CiviCRM Events, add the title field.
Result: fatal database error because it cannot find `civicrm_event.title` (should be `civicrm_event.title_en_US`).
This was a quickfix, incoming PR.
cc @JoeMurray @monish.deb @samuelsovbgmbgmhttps://lab.civicrm.org/dev/drupal/-/issues/20Manual synchronization of CiviCRM memberships and Drupal roles gives error2023-11-09T23:29:43Zcarbar1103Manual synchronization of CiviCRM memberships and Drupal roles gives errorHello.
I am just starting to get memberships and roles sorted out in my CiviCRM. When I go to Home » Administration » Configuration » CiviCRM » CiviMember Roles Sync » Manually Synchronize and click the button, I get a popup saying "Th...Hello.
I am just starting to get memberships and roles sorted out in my CiviCRM. When I go to Home » Administration » Configuration » CiviCRM » CiviMember Roles Sync » Manually Synchronize and click the button, I get a popup saying "There was an error. CiviMember Memberships and Drupal Roles could not be synchronized." The Drupal log just says "unknown error".
On investigation, the problem appears in drupal/modules/civicrm_member_roles/civicrm_member_roles.module, line 530, in the method _civicrm_member_roles_sync():
```
$contacts = CRM_Core_DAO::executeQuery($sql, $params);
if ($contacts->N == 0) {
watchdog('civicrm_member_roles',
$errorMsg,
$errorParams,
WATCHDOG_ERROR
);
return FALSE;
}
```
It is running the following sql:
```
SELECT DISTINCT uf.contact_id, m.end_date FROM civicrm_uf_match uf
LEFT JOIN civicrm_membership m ON uf.contact_id = m.contact_id
WHERE m.id IS NOT NULL AND m.membership_type_id IN (1)
ORDER BY m.end_date DESC
```
which is returning zero rows. This is probably because I haven't got the necessary roles/contacts/etc set up, but it is a bit of an odd error.
Regards,
Carlhttps://lab.civicrm.org/dev/drupal/-/issues/19Drupal8: Implement set UF locale/language (affects mailing tokens)2020-07-16T17:23:38ZbgmDrupal8: Implement set UF locale/language (affects mailing tokens)This is a follow-up to dev/drupal#17.
How to reproduce:
* Create a bilingual Drupal site, with the locale module, with URL-prefix language detection (example.org/fr/civicrm)
* Enable multi-lingual CiviCRM, with two languages (ex: FR/EN...This is a follow-up to dev/drupal#17.
How to reproduce:
* Create a bilingual Drupal site, with the locale module, with URL-prefix language detection (example.org/fr/civicrm)
* Enable multi-lingual CiviCRM, with two languages (ex: FR/EN)
* Send a mailing in French, with the unsubscribe URL token
Expected result: the token should link to the page in French.
Related JIRA issue for Drupal7: https://issues.civicrm.org/jira/browse/CRM-16352
cc @monish.deb @samuelsov5.15.0bgmbgmhttps://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.0bgmbgm