Development issueshttps://lab.civicrm.org/groups/dev/-/issues2021-01-29T11:01:43Zhttps://lab.civicrm.org/dev/core/-/issues/2296Only an admin user #1 (drupal) is able to edit an export mapping or edit one2021-01-29T11:01:43ZcalbasiOnly an admin user #1 (drupal) is able to edit an export mapping or edit oneDrupal 7, civicrm 5.33.1 (but also on 5.29)
My user#1 user can edit a mapping when exporting fields of a searched group of users, and it can also create a new mapping, just editing an existing one.
But when other manager user, with per...Drupal 7, civicrm 5.33.1 (but also on 5.29)
My user#1 user can edit a mapping when exporting fields of a searched group of users, and it can also create a new mapping, just editing an existing one.
But when other manager user, with permissions to export, is trying to do it, system freezes and nothing happens, and there is no a new or modified mapping on civicrm mappings section. So the process is stuck.
This user can export contact fields info without problem.https://lab.civicrm.org/dev/core/-/issues/2295List of exported fields are not shown with Chromium browser (but they do with...2021-01-29T11:00:15ZcalbasiList of exported fields are not shown with Chromium browser (but they do with Firerox)When exporting some custom information of some searched contacts, using any of the mappings available, an user can add/delete some fields (even update the mapping or create a new mapping "profile"). This happens at step 3 of 3 and I have...When exporting some custom information of some searched contacts, using any of the mappings available, an user can add/delete some fields (even update the mapping or create a new mapping "profile"). This happens at step 3 of 3 and I have no problem to do it using Firefox (Debian testing version), but I can not see the fields list using Crome, just submit buttons. Here you are the html output:
```
<div class="crm-block crm-form-block crm-export-map-form-block">
<div id="wizard-steps">
<ul class="wizard-bar">
<li class="past-step"><i class="crm-i fa-check" aria-hidden="true"></i> 1. Cerca</li>
<li class="past-step"><i class="crm-i fa-check" aria-hidden="true"></i> 2. Opcions d'exportació</li>
<li class="current-step"><i class="crm-i fa-chevron-right" aria-hidden="true"></i> 3. Selecciona els camps a exportar</li>
</ul>
</div>
<h2>Selecciona els camps a exportar (pas 3 de 3)</h2>
<div class="crm-submit-buttons">
<button class="crm-form-submit cancel crm-button crm-button-type-back crm-button_qf_Map_back" value="1" type="submit" name="_qf_Map_back" id="_qf_Map_back-top"><i aria-hidden="true" class="crm-i fa-chevron-left"></i> Anterior</button>
<button class="crm-form-submit validate crm-button crm-button-type-done crm-button_qf_Map_done" value="1" type="submit" name="_qf_Map_done" id="_qf_Map_done-top"><i aria-hidden="true" class="crm-i fa-times"></i> Torna a la cerca</button>
<button class="crm-form-submit validate crm-button crm-button-type-next crm-button_qf_Map_next" value="1" type="submit" name="_qf_Map_next" id="_qf_Map_next-top"><i aria-hidden="true" class="crm-i fa-download"></i> Descarrega el fitxer</button>
</div>
<div ng-app="exportui" class="ng-scope">
<!-- ngInclude: '~/exportui/export.html' -->
</div>
<div class="crm-submit-buttons">
```
I get 10 errors on inspector... i suppose one of them is the responsible for this.
> Access to font at 'https://www.enginyerscivils.cat/sites/all/modules/civicrm/bower_components/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0' from origin 'https://enginyerscivils.cat' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
> fontawesome-webfont.woff2:1
>
> Failed to load resource: net::ERR_FAILED
>
> Access to font at 'https://www.enginyerscivils.cat/sites/all/modules/civicrm/bower_components/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0' from origin 'https://enginyerscivils.cat' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
> fontawesome-webfont.woff2:1
>
> Failed to load resource: net::ERR_FAILED
> advanced?_qf_Map_display=true&qfKey=44f102135c72280af0998e66fda144374c69835124417548815e1d4eb76679a1_1095:1
>
> Access to font at 'https://www.enginyerscivils.cat/sites/all/modules/civicrm/bower_components/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0' from origin 'https://enginyerscivils.cat' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
> fontawesome-webfont.woff:1 Failed to load resource: net::ERR_FAILED
> advanced?_qf_Map_display=true&qfKey=44f102135c72280af0998e66fda144374c69835124417548815e1d4eb76679a1_1095:1
>
> Access to XMLHttpRequest at 'https://www.enginyerscivils.cat/sites/default/files/civicrm/persist/contribute/dyn/angular-modules.12d46c7002289d3a18abfc5c5b8ed6e9.json' from origin 'https://enginyerscivils.cat' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
> js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:897
>
> Possibly unhandled rejection: {"status":500}
> (anonymous) @ js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:897
> js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:897
>
> TypeError: a.headers is not a function
> at s (js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:876)
> at js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:910
> at m.$digest (js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:921)
> at m.$apply (js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:925)
> at k (js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:876)
> at v (js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:881)
> at XMLHttpRequest.y.onerror (js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:882) "Possibly unhandled rejection: {}"
> (anonymous) @ js_coCb3AVGGFHSRICP59lZ4DCHfK7RO_s1Whgo_Lhprfg.js:897
> www.enginyerscivils.cat/sites/default/files/civicrm/persist/contribute/dyn/angular-modules.12d46c7002289d3a18abfc5c5b8ed6e9.json:1 Failed to load resource: net::ERR_FAILED
> advanced?_qf_Map_display=true&qfKey=44f102135c72280af0998e66fda144374c69835124417548815e1d4eb76679a1_1095:1
>
> Access to font at 'https://www.enginyerscivils.cat/sites/all/modules/civicrm/bower_components/font-awesome/fonts/fontawesome-webfont.ttf?v=4.7.0' from origin 'https://enginyerscivils.cat' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
> fontawesome-webfont.ttf:1
>
> Failed to load resource: net::ERR_FAILED
>
> DevTools failed to load SourceMap: Could not load content for https://www.enginyerscivils.cat/sites/default/files/js/angular.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILUREhttps://lab.civicrm.org/dev/core/-/issues/1962Possible regression - require 'make online contribution' to edit contribution...2021-04-14T19:31:59ZeileenPossible regression - require 'make online contribution' to edit contributions after upgrading to 5.29 rc w securityLast night it was reported that staff who had 'edit contributions' but not 'make online contributions' could not 'edit contributions' after upgrading from 5.26 to 5.29 (rc-security). I haven't established yet what 'can't edit means as I ...Last night it was reported that staff who had 'edit contributions' but not 'make online contributions' could not 'edit contributions' after upgrading from 5.26 to 5.29 (rc-security). I haven't established yet what 'can't edit means as I could only replicate locally 'can't cancel recurring' and I couldn't see how that might have changed.
I will ask more questions of the 'couldn't edit'-ors but it to the extent it relates to the recurring contribution forms I note - the forms started out as front-end-forms so
<item>
<path>civicrm/contribute/unsubscribe</path>
<title>Cancel Subscription</title>
<page_callback>CRM_Contribute_Form_CancelSubscription</page_callback>
<access_arguments>make online contributions</access_arguments>
<is_public>true</is_public>
</item>
Would be appropriate there.
Because the forms double up as back office forms we have never added is_public which intermittently comes up as a theming issue.
One option would be to have separate front end & back end urls so we would
1) add is_public => TRUE to the existing entry
2) add a second entry like
<item>
<path>civicrm/contribute/cancel</path>
<title>Cancel Subscription</title>
<page_callback>CRM_Contribute_Form_CancelSubscription</page_callback>
<access_arguments>edit contributions</access_arguments>
<is_public>FALSE</is_public>
</item>
And update the backoffice urls to point to that.https://lab.civicrm.org/dev/drupal/-/issues/126Error when merging contacts2020-07-23T16:00:03ZhowardshandError when merging contactsAfter an upgrade to Civi 5.23 on Drupal 7 started experiencing an issue during contact merges:
```
backTrace
#0 sites\all\modules\civicrm\CRM\Core\Error.php(148): CRM_Core_Error::backtrace()
#1 sites\all\modules\civicrm\vendor\pear\pear...After an upgrade to Civi 5.23 on Drupal 7 started experiencing an issue during contact merges:
```
backTrace
#0 sites\all\modules\civicrm\CRM\Core\Error.php(148): CRM_Core_Error::backtrace()
#1 sites\all\modules\civicrm\vendor\pear\pear-core-minimal\src\PEAR.php(922): CRM_Core_Error::handle(Object(DB_Error))
#2 sites\all\modules\civicrm\packages\DB.php(997): PEAR_Error->__construct("DB Error: already exists", -5, 16, (Array:2), "UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501...")
#3 sites\all\modules\civicrm\vendor\pear\pear-core-minimal\src\PEAR.php(575): DB_Error->__construct(-5, 16, (Array:2), "UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501...")
#4 sites\all\modules\civicrm\vendor\pear\pear-core-minimal\src\PEAR.php(223): PEAR->_raiseError(Object(DB_mysqli), NULL, -5, 16, (Array:2), "UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501...", "DB_Error", TRUE)
#5 sites\all\modules\civicrm\packages\DB\common.php(1925): PEAR->__call("raiseError", (Array:7))
#6 sites\all\modules\civicrm\packages\DB\mysqli.php(935): DB_common->raiseError(-5, NULL, NULL, "UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501...", "1062 ** Duplicate entry '150-7752-3' for key 'UI_activity_contact'")
#7 sites\all\modules\civicrm\packages\DB\mysqli.php(405): DB_mysqli->mysqliRaiseError()
#8 sites\all\modules\civicrm\packages\DB\common.php(1231): DB_mysqli->simpleQuery("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501")
#9 sites\all\modules\civicrm\packages\DB\DataObject.php(2696): DB_common->query("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501")
#10 sites\all\modules\civicrm\packages\DB\DataObject.php(1829): DB_DataObject->_query("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501")
#11 sites\all\modules\civicrm\CRM\Core\DAO.php(421): DB_DataObject->query("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501")
#12 sites\all\modules\civicrm\CRM\Core\DAO.php(1473): CRM_Core_DAO->query("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501", TRUE)
#13 sites\all\modules\civicrm\CRM\Dedupe\Merger.php(563): CRM_Core_DAO::executeQuery("UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501", (Array:0), TRUE, NULL, TRUE)
#14 sites\all\modules\civicrm\CRM\Dedupe\Merger.php(1316): CRM_Dedupe_Merger::moveContactBelongings(Object(CRM_Dedupe_MergeHandler), (Array:5), (Array:0))
#15 sites\all\modules\civicrm\CRM\Contact\Form\Merge.php(308): CRM_Dedupe_Merger::moveAllBelongings(150, 54501, (Array:16))
#16 sites\all\modules\civicrm\CRM\Core\Form.php(484): CRM_Contact_Form_Merge->postProcess()
#17 sites\all\modules\civicrm\CRM\Core\QuickForm\Action\Done.php(59): CRM_Core_Form->mainProcess()
#18 sites\all\modules\civicrm\packages\HTML\QuickForm\Controller.php(203): CRM_Core_QuickForm_Action_Done->perform(Object(CRM_Contact_Form_Merge), "done")
#19 sites\all\modules\civicrm\packages\HTML\QuickForm\Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contact_Form_Merge), "done")
#20 sites\all\modules\civicrm\CRM\Core\Controller.php(335): HTML_QuickForm_Page->handle("done")
#21 sites\all\modules\civicrm\CRM\Utils\Wrapper.php(98): CRM_Core_Controller->run()
#22 sites\all\modules\civicrm\CRM\Core\Invoke.php(285): CRM_Utils_Wrapper->run("CRM_Contact_Form_Merge", "Merge Contact", (Array:0))
#23 sites\all\modules\civicrm\CRM\Core\Invoke.php(68): CRM_Core_Invoke::runItem((Array:13))
#24 sites\all\modules\civicrm\CRM\Core\Invoke.php(36): CRM_Core_Invoke::_invoke((Array:3))
#25 sites\all\modules\civicrm\drupal\civicrm.module(454): CRM_Core_Invoke::invoke((Array:3))
#26 includes\menu.inc(527): civicrm_invoke("contact", "merge")
#27 index.php(21): menu_execute_active_handler()
#28 {main}
Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
DB Error: already exists
Error Details
Database Error Code: Duplicate entry '150-7752-3' for key 'UI_activity_contact', 1062
Additional Details:
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -5
[message] => DB Error: already exists
[mode] => 16
[debug_info] => UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501 [nativecode=1062 ** Duplicate entry '150-7752-3' for key 'UI_activity_contact']
[type] => DB_Error
[user_info] => UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501 [nativecode=1062 ** Duplicate entry '150-7752-3' for key 'UI_activity_contact']
[to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="" info="UPDATE civicrm_activity_contact SET contact_id = 150 WHERE contact_id = 54501 [nativecode=1062 ** Duplicate entry '150-7752-3' for key 'UI_activity_contact']"]
)
Return to home page.
Fatal error: Uncaught CRM_Core_Exception: [0: Transaction integrity error: Expected to find active frame thrown in sites\all\modules\civicrm\Civi\Core\Transaction\Manager.php on line 93
```
This seems to be caused by the fact that we record activities for all of our mailings and merging records who were sent the same mailing is causing "Duplicate entry '150-7752-3' for key 'UI_activity_contact'". We have always done this though and have never had the error before.https://lab.civicrm.org/dev/core/-/issues/1873Possible safari url direction issue2023-04-03T05:03:33ZeileenPossible safari url direction issueLong discussion on this now-closed PR
https://github.com/civicrm/civicrm-core/pull/17422Long discussion on this now-closed PR
https://github.com/civicrm/civicrm-core/pull/17422https://lab.civicrm.org/dev/drupal/-/issues/124Cannot Load ckeditor From Drupal 82020-10-24T19:01:14ZskesslerCannot Load ckeditor From Drupal 8When going to a page that loads ckeditor in CiviCRM 5.26.2 in Drupal 8.9.1 it attempts to load CSS and JS from /core/assets/vendor/ckeditor/ however the files it is attempting to load to do not exist.
For example, there is no folder s...When going to a page that loads ckeditor in CiviCRM 5.26.2 in Drupal 8.9.1 it attempts to load CSS and JS from /core/assets/vendor/ckeditor/ however the files it is attempting to load to do not exist.
For example, there is no folder skins/moono/skin.js there is a folder called moono-lisa.
I am not sure if these are changes, typos or what have you but since there are not matching files I am not sure what to just make as a patch.
Thanks,
Stevehttps://lab.civicrm.org/dev/core/-/issues/1504Contribution note removed when edited contribution2023-01-29T05:03:15ZtapashContribution note removed when edited contributionOverview
----------------------------------------
Contribution note does not retrieve when editing a contribution, therefore it gets deleted when saved the contribution.
Reproduction steps
----------------------------------------
1. Cli...Overview
----------------------------------------
Contribution note does not retrieve when editing a contribution, therefore it gets deleted when saved the contribution.
Reproduction steps
----------------------------------------
1. Click on **Edit contribution of any individual**.
1. clicked **Save**.
1. Got a message "Deleted - Selected Note has been deleted successfully."
Current behaviour
----------------------------------------
notes field blank althogh there was a message save in previous edit.
![Screenshot_2020-01-01_at_23.17.57](/uploads/9f9555b85ded80e5f41af0bc7ffcf180/Screenshot_2020-01-01_at_23.17.57.png)
Expected behaviour
----------------------------------------
message should show when editing
Environment information
----------------------------------------
* __CiviCRM:_5.20.3https://lab.civicrm.org/dev/drupal/-/issues/94Notice: Undefined property: CRM_Core_DAO2024-03-13T19:07:26ZGhost UserNotice: Undefined property: CRM_Core_DAOAfter a login in drupal I see the following errors:
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-street_address in CRM_Core_BAO_UFGroup::getValues() (Zeile 1289 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UF...After a login in drupal I see the following errors:
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-street_address in CRM_Core_BAO_UFGroup::getValues() (Zeile 1289 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-city in CRM_Core_BAO_UFGroup::getValues() (Zeile 1289 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-postal_code in CRM_Core_BAO_UFGroup::getValues() (Zeile 1289 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-country in CRM_Core_BAO_UFGroup::getValues() (Zeile 1264 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-country_id in CRM_Core_BAO_UFGroup::getValues() (Zeile 1266 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-state_province in CRM_Core_BAO_UFGroup::getValues() (Zeile 1264 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-state_province_id in CRM_Core_BAO_UFGroup::getValues() (Zeile 1266 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
![image](/uploads/02599db50123540bbe5d48006cd818a6/image.png)
---
CiviCRM Version: `7.x-5.18.4`
Drupal Version: `7.67`https://lab.civicrm.org/dev/civicrm-asset-plugin/-/issues/2Notice: Undefined property: CRM_Core_DAO2023-02-20T15:45:46ZGhost UserNotice: Undefined property: CRM_Core_DAOAfter a login in drupal I see the following errors:
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-street_address in CRM_Core_BAO_UFGroup::getValues() (Zeile 1289 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UF...After a login in drupal I see the following errors:
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-street_address in CRM_Core_BAO_UFGroup::getValues() (Zeile 1289 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-city in CRM_Core_BAO_UFGroup::getValues() (Zeile 1289 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-postal_code in CRM_Core_BAO_UFGroup::getValues() (Zeile 1289 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-country in CRM_Core_BAO_UFGroup::getValues() (Zeile 1264 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-country_id in CRM_Core_BAO_UFGroup::getValues() (Zeile 1266 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-state_province in CRM_Core_BAO_UFGroup::getValues() (Zeile 1264 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
* Notice: Undefined property: CRM_Core_DAO::$Private_Adresse-state_province_id in CRM_Core_BAO_UFGroup::getValues() (Zeile 1266 von /var/www/html/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php).
![image](/uploads/839e8f47d4b8f6c1cd6798e06fcf8ad0/image.png)
---
CiviCRM Version: `7.x-5.18.4`
Drupal Version: `7.67`https://lab.civicrm.org/dev/core/-/issues/1351Modify shared address note on contact dashboard2019-11-08T05:36:58Zrevati_gawasModify shared address note on contact dashboardWhile creating the share address for any contact , if we select contact who don't have address there is no way to jump on the selected contact and edit the address so that we can use that contact in for sharing the address.While creating the share address for any contact , if we select contact who don't have address there is no way to jump on the selected contact and edit the address so that we can use that contact in for sharing the address.5.20.0Björn EndresBjörn Endreshttps://lab.civicrm.org/dev/drupal/-/issues/84Drupal7: use label instead of name in membership views2023-11-09T23:27:57ZwdecraeneDrupal7: use label instead of name in membership viewsIn `drupal/modules/views/components/civicrm.member.inc` add two times 'pseudo args' so (translated) labels are used instead of machine names.
```php
//Membership Status
$data['civicrm_membership']['status'] = array(
'title' => t...In `drupal/modules/views/components/civicrm.member.inc` add two times 'pseudo args' so (translated) labels are used instead of machine names.
```php
//Membership Status
$data['civicrm_membership']['status'] = array(
'title' => t('Status'),
'real field' => 'status_id',
'help' => t('The Status of the Membership'),
'field' => array(
'handler' => 'civicrm_handler_field_pseudo_constant',
'click sortable' => TRUE,
'pseudo class' => 'CRM_Member_PseudoConstant',
'pseudo method' => 'membershipStatus',
'pseudo args' => array(NULL, NULL, 'label'),
),
'argument' => array(
'handler' => 'views_handler_argument',
),
'filter' => array(
'handler' => 'civicrm_handler_filter_pseudo_constant',
'allow empty' => TRUE,
'pseudo class' => 'CRM_Member_PseudoConstant',
'pseudo method' => 'membershipStatus',
'pseudo args' => array(NULL, NULL, 'label'),
),
'sort' => array(
'handler' => 'views_handler_sort',
),
);
```https://lab.civicrm.org/dev/wordpress/-/issues/33One of parameters (value: ) is not of the type Integer2019-07-09T23:30:15ZlandbryoOne of parameters (value: ) is not of the type IntegerHi All,
we're running into an issue when a contribution is attributed to the Financial Type of "Other".
Here's how we reproduce the issue:
1. In CiviCRM we "View Contact"
2. Select "Contributions" tab
3. Clicking "Edit" for a contrib...Hi All,
we're running into an issue when a contribution is attributed to the Financial Type of "Other".
Here's how we reproduce the issue:
1. In CiviCRM we "View Contact"
2. Select "Contributions" tab
3. Clicking "Edit" for a contribution assigned the financial type of "Other" produces the "Network Error
Unable to reach the server. Please refresh this page in your browser and try again." error.
4. Right clicking the "Edit" and selecting "Open link in new tab" produces the error "One of parameters (value: ) is not of the type Integer" with the following backtrace:
```
#0 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(381): CRM_Core_Error::backtrace()
#1 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/Type.php(571): CRM_Core_Error::fatal("One of parameters (value: ) is not of the type Integer")
#2 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(1519): CRM_Utils_Type::validate("", "Integer")
#3 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(1397): CRM_Core_DAO::composeQuery("SELECT ft.id, ft.total_amount FROM civicrm_financial_trxn ft INNER JOIN civic...", (Array:2), TRUE)
#4 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/FinancialTrxn.php(99): CRM_Core_DAO::executeQuery("SELECT ft.id, ft.total_amount FROM civicrm_financial_trxn ft INNER JOIN civic...", (Array:2))
#5 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Contribute/BAO/Contribution.php(3991): CRM_Core_BAO_FinancialTrxn::getBalanceTrxnAmt("44726")
#6 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/AbstractEditPayment.php(744): CRM_Contribute_BAO_Contribution::getPaymentInfo("44726", NULL, TRUE)
#7 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution.php(251): CRM_Contribute_Form_AbstractEditPayment->assignPaymentInfoBlock()
#8 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(585): CRM_Contribute_Form_Contribution->preProcess()
#9 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Display.php(92): CRM_Core_Form->buildForm()
#10 /home/example/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Contribute_Form_Contribution), "display")
#11 /home/example/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_Contribution), "display")
#12 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(349): HTML_QuickForm_Page->handle("display")
#13 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Page/Tab.php(327): CRM_Core_Controller->run()
#14 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Page/Tab.php(378): CRM_Contribute_Page_Tab->edit()
#15 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(311): CRM_Contribute_Page_Tab->run((Array:4), NULL)
#16 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(85): CRM_Core_Invoke::runItem((Array:13))
#17 /home/example/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
#18 /home/example/public_html/wp-content/plugins/civicrm/civicrm.php(1392): CRM_Core_Invoke::invoke((Array:4))
#19 /home/example/public_html/wp-includes/class-wp-hook.php(286): CiviCRM_For_WordPress->invoke("")
#20 /home/example/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters("", (Array:1))
#21 /home/example/public_html/wp-includes/plugin.php(465): WP_Hook->do_action((Array:1))
#22 /home/example/public_html/wp-admin/admin.php(253): do_action("toplevel_page_CiviCRM")
```
This is the URL structure of the new tab:
https://example.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fcontact%2Fview%2Fcontribution&reset=1&action=update&id=44726&cid=532&context=contribution
Thank you for any help you can provide.https://lab.civicrm.org/dev/core/-/issues/1078Customers being charged double randomly2022-11-15T05:03:39ZSohalKhatwaniCustomers being charged double randomlyWe are using Core CiviCRM and the customers are now being charged double for their memberships and 2 payments are being taken. We are on the 5.13.5 and don't see any issues which would cause this. It is a live site with alot of membershi...We are using Core CiviCRM and the customers are now being charged double for their memberships and 2 payments are being taken. We are on the 5.13.5 and don't see any issues which would cause this. It is a live site with alot of memberships coming through. Can anyone help.https://lab.civicrm.org/dev/core/-/issues/1057Payment Contributions - Received Date not recorded if payment manually entere...2023-01-07T05:03:28Zdylan-circlePayment Contributions - Received Date not recorded if payment manually entered (Appears isolated to Realex Payment Processor)If a member logs in to renew or join a membership, everything works OK.
However, if a member rings the clients office to pay with their card details on the phone and the client manually enters the members card details, the money success...If a member logs in to renew or join a membership, everything works OK.
However, if a member rings the clients office to pay with their card details on the phone and the client manually enters the members card details, the money successfully goes through the Realex Payment Process and the membership is renewed but this creates a Contribution with no "Received Date".
**Expected System Result:**
Contribution to have a valid Received Date.
**Actual System Result:**
Received Date on a Contribution is empty.https://lab.civicrm.org/dev/core/-/issues/1034Clearing caches with OPCache enabled results in Fatal error about file not found2022-12-07T05:03:30ZjaapjansmaClearing caches with OPCache enabled results in Fatal error about file not foundI have a server with OPCache enabled and every time I visit the extension page or clear the civicrm cache with civicrm/clearcache?reset=1 civicrm will fail with the following error:
```
PHP Fatal error: require(): Failed opening requir...I have a server with OPCache enabled and every time I visit the extension page or clear the civicrm cache with civicrm/clearcache?reset=1 civicrm will fail with the following error:
```
PHP Fatal error: require(): Failed opening required '/home/civicrm/domains/civicrm.devz.no/private_html/sites/default/files/civicrm/templates_c//CachedExtLoader.46b570d6687674478a30918df6837257.php'
(include_path='.:/home/civicrm/domains/civicrm.devz.no/private_html/sites/all/modules/civicrm:/home/civicrm/domains/civicrm.devz.no/private_html/sites/all/modules/civicrm/packages:.:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/packages:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/vendor/tecnickcom:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/vendor/phpseclib/phpseclib/phpseclib:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/vendor/pear/pear_exception:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/vendor/pear/auth_sasl:/home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/vendor/pear/log
in /home/civicrm/domains/civicrm.devz.no/public_html/sites/all/modules/civicrm/CRM/Extension/ClassLoader.php on line 86\n
```https://lab.civicrm.org/dev/core/-/issues/923Error when creating profile or accessing profile2020-03-25T02:16:30ZtapashError when creating profile or accessing profileNotice: Undefined variable: otherModuleString in CRM_UF_Form_Group->getOtherModuleString() (line 430 of /home/webadmin/public_html/cmm-uat/sites/all/modules/civicrm/CRM/UF/Form/Group.php).Notice: Undefined variable: otherModuleString in CRM_UF_Form_Group->getOtherModuleString() (line 430 of /home/webadmin/public_html/cmm-uat/sites/all/modules/civicrm/CRM/UF/Form/Group.php).5.25.0https://lab.civicrm.org/dev/drupal/-/issues/60Drupal 8 doesn't see routes for mailchimp extension2019-04-26T20:13:29ZjohnkDrupal 8 doesn't see routes for mailchimp extensionsee also: https://github.com/veda-consulting/uk.co.vedaconsulting.mailchimp/issues/321
I get a 404 for all the pages specific to the mailchimp extension, when running under a D8 site.
I'm unsure whether this is a bug in the extension i...see also: https://github.com/veda-consulting/uk.co.vedaconsulting.mailchimp/issues/321
I get a 404 for all the pages specific to the mailchimp extension, when running under a D8 site.
I'm unsure whether this is a bug in the extension itself, or the civicrm-drupal-8 module, so I thought I'd open an issue here, as well.https://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/core/-/issues/885Attendee Report: Incorrect filtering by deceased participants2020-12-04T01:44:28ZshaneonabikeAttendee Report: Incorrect filtering by deceased participantsSo today I discovered a pretty strange bug, but I'm open to determine whether this is related to something in the configuration.
**Issue**
When viewing the Attendee List for a new event I noticed that the participant count was lower th...So today I discovered a pretty strange bug, but I'm open to determine whether this is related to something in the configuration.
**Issue**
When viewing the Attendee List for a new event I noticed that the participant count was lower than the Event Participants List. What is narrows down to is that the Attendee List has a *filter for excluding deceased participants*. When I set this to **Any** value it works perfectly.
I traced on so called *deceased* participant and they are not set to deceased. All of these users were imported about 1.5 years ago from an old CiviCRM system and imported here. I don't know if perhaps there an incorrect value is set for the deceased value and therefore is causing certain participants to be considered this way. In total I believe there is about **48** in total :/
**CiviCRM Details**
* Drupal 7
* CiviCRM 5.12.0
* PHP 7.3.4https://lab.civicrm.org/dev/core/-/issues/880utf8mb4 warning keeps coming back up2019-04-24T21:47:11Zjohnkutf8mb4 warning keeps coming back upI run CiviCRM 5.12.0 on Drupal 8.6.14 with PHP 7.2.15 and Apache2. I use postgres for my Drupal database, so the databases are split.
When I upgraded to the recent version that added the Mysql utf8mb4 check (5.12, I think), at the Drupa...I run CiviCRM 5.12.0 on Drupal 8.6.14 with PHP 7.2.15 and Apache2. I use postgres for my Drupal database, so the databases are split.
When I upgraded to the recent version that added the Mysql utf8mb4 check (5.12, I think), at the Drupal status page it began showing the message: "It is recommended, though not yet required, to configure your MySQL server for utf8mb4 support. You will need the following MySQL server configuration: innodb_large_prefix=true innodb_file_format=barracuda innodb_file_per_table=true." I added this configuration to my mysqld.cnf, and then restarted and saw that the message was gone. However, when I restarted my Apache server the next time, the message came back, and I found that the civicrm_utf8mb4_test table was present in the database and needed to be dropped. From code inspection, I concluded this could only come about as a result of a race condition with civicrm-core/Civi/Install/Requirements.php, where the table is created as a non-temporary table. So I changed that code to 'CREATE TEMPORARY TABLE ...' and 'DROP TEMPORARY TABLE ...', which caused the problem to go away.
However, my attempts to capture debug_backtrace() at this point in the code have all failed. I don't understand why that is. I tried printing it to the apache error log, as well as writing it to a file in '/tmp'. I have a dev version of the site, which uses the same CiviCRM database connection, so I also have disabled this site in my Apache configuration, as it seems like it could have been a complicating factor. The bug still occurs, with that original Civi/Install/Requirements.php.5.14.0