Development issueshttps://lab.civicrm.org/groups/dev/-/issues2023-05-01T05:03:22Zhttps://lab.civicrm.org/dev/core/-/issues/2025Proposal update PR template to add a section on testing2023-05-01T05:03:22ZeileenProposal update PR template to add a section on testingI think in addition to our current sections on the PR template we should add a section something like
"Explain how this PR adds relevant test cover. If test cover has not been added please explain why not, or which existing tests cover...I think in addition to our current sections on the PR template we should add a section something like
"Explain how this PR adds relevant test cover. If test cover has not been added please explain why not, or which existing tests cover the relevant code, with reference to discussion at https://github.com/civicrm/civicrm-dev-docs/issues/832"
@MikeyMJCO @totten @seamuslee @colemanwhttps://lab.civicrm.org/dev/core/-/issues/760"Access denied" when updating a recurring contribution2023-05-01T05:03:21Zken"Access denied" when updating a recurring contributionIn 5.10.4, when I make a recurring contribution, the receipt sent to me includes a link to update the recurring contribution.
As an anonymous user, when I click on that link, I get an access denied message ("Ensure you are still logged ...In 5.10.4, when I make a recurring contribution, the receipt sent to me includes a link to update the recurring contribution.
As an anonymous user, when I click on that link, I get an access denied message ("Ensure you are still logged in and have permission to access this feature"). Sometimes this prevents me updating the contribution (the form is read only) and other times I can edit it.
The URL in the email is https://example.com/civicrm/contribute/updaterecur?reset=1&coid=xxxxx&cs=xxxxxxxxxxxxx_xxxxxxx_inf
The URL which throws the 403 is https://example.com/civicrm/custom?type=ContributionRecur&entityID=xxx&qf=xxxxxx_xxxx&action=2&cgcount=1&snippet=jsonhttps://lab.civicrm.org/dev/core/-/issues/1709Better localised address handling.2023-04-30T05:03:22ZhomotechsualBetter localised address handling.Overview
----------------------------------------
_Currently, address forms in CiviCRM are built from a US-centric default set of form fields, currently we're using the translation system to alter the titles of these for different region...Overview
----------------------------------------
_Currently, address forms in CiviCRM are built from a US-centric default set of form fields, currently we're using the translation system to alter the titles of these for different regions (e.g a string translation exists for State/Province to County for EN_GB)._
_This ends up giving us a bad DX and bad UX we end up in a situation where even US address fields end up with a "County" field if we're using the EN_GB translation, not to mention that we're violating a rather fundamental aim of translation in that we're not actually translating - we're substituting a different string for a localised requirement that's unconnected to the language in use._
Proposed Solution
----------------------------------------
_We should investigate using a library e.g: [CommerceGuys/Addressing](https://github.com/commerceguys/addressing) (or another mechanism) to provide country-aware address forms/fields which work for CiviCRM's global community._https://lab.civicrm.org/dev/core/-/issues/867Expose line item name on search2023-04-30T05:03:21ZmaduraExpose line item name on search## Problem
On Advanced Search and Find Contributions there is currently no field to search for the line items. If an admin wants to be able to search for the contacts or contributions based on line items information there is no other se...## Problem
On Advanced Search and Find Contributions there is currently no field to search for the line items. If an admin wants to be able to search for the contacts or contributions based on line items information there is no other search parameters available.
## Proposed Solution
Introduce the "line item name" field in search.
Technical Steps:
- Add a new field to contribution search form and in postprocess, handle it and add suitable where clauses using existing fields as reference.
- Add a new textfield for line item search in CRM_Contribute_BAO_Query::buildSearchForm()
- In CRM_Contribute_BAO_Query::whereClauseSingle add logic for including condition for line item name.https://lab.civicrm.org/dev/core/-/issues/1854Bug When Restoring Overridden Status on Related Memberships2023-04-29T05:03:20ZCamilo RodríguezBug When Restoring Overridden Status on Related MembershipsOverview
----------------------------------------
Under certain special circumstances, once a main membership that has related memberships (eg. a membership held by an employer for a maximum number of employees), if the status is overrid...Overview
----------------------------------------
Under certain special circumstances, once a main membership that has related memberships (eg. a membership held by an employer for a maximum number of employees), if the status is overridden for a specific date, and the date has been met so that status for the main membership and its related memberships can now be calculated by the membership status calculation job, some of the related memberships may get deleted.
Reproduction steps
----------------------------------------
The specific conditions that need to be met are:
- Have an organization with a membership that has a maximum number of related memberships via a specific relationship (eg. 3 maximum related contacts with employee relationship).
- Have more contacts related to the organization that the maximum related memberships (eg 5)
- Distribute the memberships to the contacts so that the first created contact, and the last contacts have the related memberships.
- Give the main membership an overridden status for a date in the past.
Run membership status calculation job.
Current behaviour
----------------------------------------
Under this conditions, when the job is run, what will happen is the 3 memberships will be allocated to the first 3 contacts related to the organization. So if before the job was run, we had contacts with ID's 1001, 1002, 1003, 1004, 1005, and the three memberships were for contacts 1001, 1004 and 1005, when the job runs, the memberships will be given to contacts 1001, 1002 and 1003, and the memberships for 1004 and 1005 will be deleted. Furthermore, a fatal exception is thrown when the job is run.
![image](/uploads/ed7b1709c19662a72108c32591dd9ccb/image.png)
Expected behaviour
----------------------------------------
- Running the job should maintain the memberships to the contacts they've already been given to.
- The job should run and complete without failure.
Environment information
----------------------------------------
* __CiviCRM: 5.24.6
* __PHP: 7.2
* __CMS: Drupal 7.71
* __Database: MySQL 5.7
* __Web Server: Nginx
Comments
----------------------------------------
I have debugged the issue and found a fix. I will add the PR to the ticket once I have it up.https://lab.civicrm.org/dev/core/-/issues/408priority_id getting set incorrectly2023-04-29T05:03:20Zddoligalskipriority_id getting set incorrectlyA modification in CRM/Member/BAO/Membership.php made in 4.7.20 is causing a db constraint error when attempting to make payment on a membership. (See https://github.com/civicrm/civicrm-core/commit/66a1e31f279137676e395ce60eda2cc14bcde5f1...A modification in CRM/Member/BAO/Membership.php made in 4.7.20 is causing a db constraint error when attempting to make payment on a membership. (See https://github.com/civicrm/civicrm-core/commit/66a1e31f279137676e395ce60eda2cc14bcde5f1#diff-f43c8498e32f5b2d68ab27bcd243ca36)
The specific modification (in multiple places) is to set the value of 'priority_id' to 'Normal'. It previously was set to 2. My guess is that 'Normal' should be looked up in option_values with the value saved to priority_id.https://lab.civicrm.org/dev/core/-/issues/4268Incorrect membership status on payment failure2023-04-28T13:04:50ZMonish DebIncorrect membership status on payment failureOverview
----------------------------------------
If there is an active membership A and the user selects & renews for a different membership B, then on payment failure membership B retain the old membership status (current/new) instead ...Overview
----------------------------------------
If there is an active membership A and the user selects & renews for a different membership B, then on payment failure membership B retain the old membership status (current/new) instead of pending.
Reproduction steps
----------------------------------------
1. A user has active membership A
1. User made a live donation for membership B (that belongs to the same membership org)
1. Payment fails due to some reason.
Current behaviour
----------------------------------------
The user has an active membership B linked with a Pending (Incomplete transaction) contribution.
Expected behaviour
----------------------------------------
The membership status should be set to Pending
Environment information
----------------------------------------
* __Browser:__ _Firefox 59.0.1/Chrome 78.0.3904/Safari 13_
* __CiviCRM:__ _Master_
* __PHP:__ __8.0_
* __CMS:__ _Drupal 8_
* __Database:__ _MariaDB 10.4_
* __Web Server:__ _Apache 2.4_Monish DebMonish Debhttps://lab.civicrm.org/dev/core/-/issues/1720API error: '2' is not a valid option for field payment_instrument_id2023-04-28T05:03:19ZStoobAPI error: '2' is not a valid option for field payment_instrument_idUpon completion of upgrade to 5.24.x this message appears if the payment_instrument_id 2 does not exist in the Civi.
> API error: '2' is not a valid option for field payment_instrument_id
It is possible to run a CiviCRM without specif...Upon completion of upgrade to 5.24.x this message appears if the payment_instrument_id 2 does not exist in the Civi.
> API error: '2' is not a valid option for field payment_instrument_id
It is possible to run a CiviCRM without specific ID for payment instrument, IMHO the upgrader should not assume certain payment_instrument_id exists. Although the upgrade is completed 'just fine' this error can hopefully be removed or underlying issue resolved.https://lab.civicrm.org/dev/core/-/issues/37Payment never completed when localizing Contribution statuses2023-04-28T01:39:33ZsamuelsovPayment never completed when localizing Contribution statusesSame kind of problem that https://issues.civicrm.org/jira/browse/CRM-21791, in CRM_Core_Payment, the label is used instead of the name which cause problems when localizing / customizing contribution status label.
To reproduce :
* go to...Same kind of problem that https://issues.civicrm.org/jira/browse/CRM-21791, in CRM_Core_Payment, the label is used instead of the name which cause problems when localizing / customizing contribution status label.
To reproduce :
* go to /civicrm/admin/options?gid=11&reset=1
* change the "Completed" label to anything else, e.g. "Terminé"
* make a payment using a contribution form page that goes through CRM_Core_Payment::doPayment (e.g. use Stripe extension processor)
* the transaction status is never set to "Completed"/"Terminé"https://lab.civicrm.org/dev/core/-/issues/36send_reminder causes database error2023-04-28T01:39:33Zgremblebeansend_reminder causes database errorWhen running the send_reminder job on CiviCRM 4.7.31 on MariaDB 10.1.26-0+deb9u1 using:
`cli.php -s my.3ca.org.uk -u admin -p*** -e Job -a send_reminder`
It fails with:
```
DB Error: syntax error
Died during callApi
```
The full erro...When running the send_reminder job on CiviCRM 4.7.31 on MariaDB 10.1.26-0+deb9u1 using:
`cli.php -s my.3ca.org.uk -u admin -p*** -e Job -a send_reminder`
It fails with:
```
DB Error: syntax error
Died during callApi
```
The full error log reads:
```
Mar 30 07:26:59 [info] $Fatal Error Details = Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => exceptionHandler
)
[code] => -2
[message] => DB Error: syntax error
[mode] => 16
[debug_info] => INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_schedule_id)
SELECT e.contact_id as contact_id, e.id as entity_id, "civicrm_participant" as entity_table, 21 as action_schedule_id
FROM civicrm_participant e
INNER JOIN civicrm_event_en_GB r ON e.event_id = r.id
INNER JOIN civicrm_contact c ON c.id = e.contact_id AND c.is_deleted = 0 AND c.is_deceased = 0
LEFT JOIN civicrm_action_log reminder ON reminder.contact_id = e.contact_id AND
reminder.entity_id = e.id AND
reminder.entity_table = 'civicrm_participant' AND
reminder.action_schedule_id = 21
WHERE (r.id IN ("84")) AND (r.is_active = 1) AND (r.is_template = 0) AND (e.status_id IN (1)) AND (reminder.id IS NULL) AND ('20180330072659' >= DATE_SUB(r.start_date, INTERVAL hour)) AND (DATE_SUB(20180330072659, INTERVAL 1 DAY ) <= r.start_date)
[nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) AND (DATE_SUB(20180330072659, INTERVAL 1 DAY ) <= r.start_date)' at line 10]
[type] => DB_Error
[user_info] => INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_schedule_id)
SELECT e.contact_id as contact_id, e.id as entity_id, "civicrm_participant" as entity_table, 21 as action_schedule_id
FROM civicrm_participant e
INNER JOIN civicrm_event_en_GB r ON e.event_id = r.id
INNER JOIN civicrm_contact c ON c.id = e.contact_id AND c.is_deleted = 0 AND c.is_deceased = 0
LEFT JOIN civicrm_action_log reminder ON reminder.contact_id = e.contact_id AND
reminder.entity_id = e.id AND
reminder.entity_table = 'civicrm_participant' AND
reminder.action_schedule_id = 21
WHERE (r.id IN ("84")) AND (r.is_active = 1) AND (r.is_template = 0) AND (e.status_id IN (1)) AND (reminder.id IS NULL) AND ('20180330072659' >= DATE_SUB(r.start_date, INTERVAL hour)) AND (DATE_SUB(20180330072659, INTERVAL 1 DAY ) <= r.start_date)
[nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) AND (DATE_SUB(20180330072659, INTERVAL 1 DAY ) <= r.start_date)' at line 10]
[to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::exceptionHandler prefix="" info="INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_schedule_id)
SELECT e.contact_id as contact_id, e.id as entity_id, "civicrm_participant" as entity_table, 21 as action_schedule_id
FROM civicrm_participant e
INNER JOIN civicrm_event_en_GB r ON e.event_id = r.id
INNER JOIN civicrm_contact c ON c.id = e.contact_id AND c.is_deleted = 0 AND c.is_deceased = 0
LEFT JOIN civicrm_action_log reminder ON reminder.contact_id = e.contact_id AND
reminder.entity_id = e.id AND
reminder.entity_table = 'civicrm_participant' AND
reminder.action_schedule_id = 21
WHERE (r.id IN ("84")) AND (r.is_active = 1) AND (r.is_template = 0) AND (e.status_id IN (1)) AND (reminder.id IS NULL) AND ('20180330072659' >= DATE_SUB(r.start_date, INTERVAL hour)) AND (DATE_SUB(20180330072659, INTERVAL 1 DAY ) <= r.start_date)
[nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')) AND (DATE_SUB(20180330072659, INTERVAL 1 DAY ) <= r.start_date)' at line 10]"]
)
Mar 30 07:26:59 [info] $backTrace = #0 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(948): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(921): CRM_Core_Error::exceptionHandler(Object(DB_Error))
#2 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/packages/DB.php(985): PEAR_Error->__construct("DB Error: syntax error", -2, 16, (Array:2), "INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_s...")
#3 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(575): DB_Error->__construct(-2, 16, (Array:2), "INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_s...")
#4 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(223): PEAR->_raiseError(Object(DB_mysqli), NULL, -2, 16, (Array:2), "INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_s...", "DB_Error", TRUE)
#5 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1905): PEAR->__call("raiseError", (Array:7))
#6 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/packages/DB/mysqli.php(933): DB_common->raiseError(-2, NULL, NULL, "INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_s...", "1064 ** You have an error in your SQL syntax; check the manual that correspon...")
#7 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/packages/DB/mysqli.php(403): DB_mysqli->mysqliRaiseError()
#8 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1216): DB_mysqli->simpleQuery("INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_s...")
#9 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(2446): DB_common->query("INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_s...")
#10 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(1635): DB_DataObject->_query("INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_s...")
#11 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(392): DB_DataObject->query("INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_s...")
#12 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(1348): CRM_Core_DAO->query("INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_s...", TRUE)
#13 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/Civi/ActionSchedule/RecipientBuilder.php(215): CRM_Core_DAO::executeQuery("INSERT INTO civicrm_action_log (contact_id, entity_id, entity_table, action_s...")
#14 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/Civi/ActionSchedule/RecipientBuilder.php(156): Civi\ActionSchedule\RecipientBuilder->buildRelFirstPass()
#15 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/ActionSchedule.php(360): Civi\ActionSchedule\RecipientBuilder->build()
#16 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/ActionSchedule.php(375): CRM_Core_BAO_ActionSchedule::buildRecipientContacts(3, "20180330072659", (Array:3))
#17 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/api/v3/Job.php(186): CRM_Core_BAO_ActionSchedule::processQueue("20180330072659", (Array:3))
#18 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_job_send_reminder((Array:3))
#19 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(169): Civi\API\Provider\MagicFunctionProvider->invoke((Array:9))
#20 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(100): Civi\API\Kernel->runRequest((Array:9))
#21 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/api/api.php(23): Civi\API\Kernel->runSafe("Job", "send_reminder", (Array:2), NULL)
#22 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/bin/cli.class.php(113): civicrm_api("Job", "send_reminder", (Array:2))
#23 /var/www/my.3ca.org.uk/web/wp-content/plugins/civicrm/civicrm/bin/cli.php(32): civicrm_cli->callApi()
#24 {main}
```https://lab.civicrm.org/dev/core/-/issues/35avoid template variable leakage when processing more than one recurring contr...2023-04-28T01:39:33Zjamieavoid template variable leakage when processing more than one recurring contribution in a sessionThis bug happens if you have more than one iATS recurring contribution and an earlier contribution is assigned to a soft credit, but one or more later contributions are not assigned to a soft credit.
The later contributions have the sof...This bug happens if you have more than one iATS recurring contribution and an earlier contribution is assigned to a soft credit, but one or more later contributions are not assigned to a soft credit.
The later contributions have the soft credit information inserted into their receipt because the email message template variables are not properly cleared.
iATS processes multiple recurring contributions in a single session via a cron job, so may be uniquely triggering this error (although the bug is with CiviCRM Core).5.3.0https://lab.civicrm.org/dev/core/-/issues/34Split edit/view access on permissioned relationships2023-04-28T01:39:33Zaydunsaidan.saunders@squiffle.ukSplit edit/view access on permissioned relationshipsCurrently, relationships can be 'permissioned' such that one contact in the relationship can access the other. This access is both view and edit. It is not possible to provide 'view-only' access via a relationship.
The proposed approa...Currently, relationships can be 'permissioned' such that one contact in the relationship can access the other. This access is both view and edit. It is not possible to provide 'view-only' access via a relationship.
The proposed approach is to create an 'edit related contacts' permission that works in conjunction with the existing permissioning:
- for users with the 'edit related contacts' permission, behaviour is unchanged
- for users without the 'edit related contacts' permission, contacts that they have access to via permissioned relationships will be viewable (as now), but not editable (change).5.5.0aydunsaidan.saunders@squiffle.ukaydunsaidan.saunders@squiffle.ukhttps://lab.civicrm.org/dev/core/-/issues/33CiviCRM-WordPress - Do not parse shortcodes in REST context2023-04-28T01:39:33ZkcristianoCiviCRM-WordPress - Do not parse shortcodes in REST contextWordPress 5.0 will introduce a new default editing experience. The code name is 'Gutenberg' . Gutenberg is built on blocks and the method of handling modals in the editing experience is changing.
The existing modal for inserting shor...WordPress 5.0 will introduce a new default editing experience. The code name is 'Gutenberg' . Gutenberg is built on blocks and the method of handling modals in the editing experience is changing.
The existing modal for inserting shortcodes will not work with Gutenberg. We will need to rework inserting the shortcode to a new block for the new release. Expected Merge Request for Gutenberg will be April 2018 and the release will be sometime thereafter.
However, this week WP 4.9.5 will ship and in this release will be a call to action to all users to install the Gutenberg plugin to test.
Currently if a CiviCRM shortcode is put into the 'Shortcode Block' there will be an error and the post will not save properly. As [bastienho](https://github.com/bastienho) points out in [PR 126](https://github.com/civicrm/civicrm-wordpress/pull/126) the following error is thrown: ``Notice: Trying to get property of non-object in civicrm/civicrm/CRM/Utils/System/WordPress.php on line 221``
For now we should fix this error and then work on full Gutenberg Compatibility once the official merge request is approved to WP.https://lab.civicrm.org/dev/core/-/issues/32Add option to disable cancel button on a profile form2023-04-28T01:39:33ZjitendraAdd option to disable cancel button on a profile formWhile setting up "subscribe" and "contact us" forms for a site, the default behaviour for a wordpress profile form of type "create" embedded via a shortcode is to show a cancel button.
This isn't really necessary for a single page form...While setting up "subscribe" and "contact us" forms for a site, the default behaviour for a wordpress profile form of type "create" embedded via a shortcode is to show a cancel button.
This isn't really necessary for a single page form with no existing data in it - but there doesn't appear to be a way to disable it.5.4.0https://lab.civicrm.org/dev/core/-/issues/30Exporting master address contact even if no master address contact is defined2023-04-28T01:39:33ZsamuelsovExporting master address contact even if no master address contact is definedExporting "Master address contact" should give the master contact only if there is a master_id defined for this address but currently, if there is no master_id, the first master address id found for this contact is used.
```php
class C...Exporting "Master address contact" should give the master contact only if there is a master_id defined for this address but currently, if there is no master_id, the first master address id found for this contact is used.
```php
class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
...
public static function getMasterDisplayName($masterAddressId = NULL, $contactId = NULL) {
$masterDisplayName = NULL;
$sql = NULL;
if (!$masterAddressId && !$contactId) {
return $masterDisplayName;
}
if ($masterAddressId) {
$sql = "
SELECT display_name from civicrm_contact
LEFT JOIN civicrm_address ON ( civicrm_address.contact_id = civicrm_contact.id )
WHERE civicrm_address.id = " . $masterAddressId;
}
// ==> is there any reason to do that ?
elseif ($contactId) {
$sql = "
SELECT display_name from civicrm_contact cc, civicrm_address add1
LEFT JOIN civicrm_address add2 ON ( add1.master_id = add2.id )
WHERE cc.id = add2.contact_id AND add1.contact_id = " . $contactId;
}
$masterDisplayName = CRM_Core_DAO::singleValueQuery($sql);
return $masterDisplayName;
}
```5.3.0https://lab.civicrm.org/dev/core/-/issues/29Joomla Menu Item - Event Registration - Unable to choose event2023-04-28T01:39:33ZADG CreativeJoomla Menu Item - Event Registration - Unable to choose eventWhen creating a Joomla Menu Item to point to an Event Registration page, the dropdown for choosing an event is empty although there are current active events that should be populating.
This is affecting version 4.7.31, our sites running...When creating a Joomla Menu Item to point to an Event Registration page, the dropdown for choosing an event is empty although there are current active events that should be populating.
This is affecting version 4.7.31, our sites running 4.7.30 are not encountering this problem.
Type Event Registration is the only one that seems to be having an issue, all other types work as expected.
Joomla Versions: 3.8.4, 3.8.6Monish DebMonish Debhttps://lab.civicrm.org/dev/core/-/issues/28For repeating Events, the absolute Registration Start / End date is transferr...2023-04-28T01:39:33Zjustinfreeman (Agileware)For repeating Events, the absolute Registration Start / End date is transferred to each of the repeated events which causes future events to be closed for sign-ups on creationFor repeating Events, the absolute Registration Start / End date is transferred to each of the repeated events which causes future events to be closed for sign-ups on creation.
The fields are:
Registration Start Date / Time
Registration...For repeating Events, the absolute Registration Start / End date is transferred to each of the repeated events which causes future events to be closed for sign-ups on creation.
The fields are:
Registration Start Date / Time
Registration End Date / Time
It makes more sense for repeating events, that these dates need to be set relative to the event date.
This could be an overall enhancement to make these date fields relative for all events, not just repeating. Which would make more sense. Especially since that applies also to copying an event as well as setting up a repeating event.
As it stands now, repeating events with Registration Start and Registration End need to be manually updated after creation. Otherwise, no one can register for those events.
Agileware Ref: CIVICRM-841https://lab.civicrm.org/dev/core/-/issues/27Move check for presence of the phone strip function to a Check (currently don...2023-04-28T01:39:33ZeileenMove check for presence of the phone strip function to a Check (currently done whenever a phone number is edited)5.40.0https://lab.civicrm.org/dev/core/-/issues/26On behalf form fails to create new organisation2023-04-28T01:39:32ZjitendraOn behalf form fails to create new organisationRelated SE - https://civicrm.stackexchange.com/questions/23137/existing-organization-getting-updated-instead-a-new-organization/24190
Steps to replicate -
- Set up Contribution page using 'on behalf of'
- Submit the form a first time,...Related SE - https://civicrm.stackexchange.com/questions/23137/existing-organization-getting-updated-instead-a-new-organization/24190
Steps to replicate -
- Set up Contribution page using 'on behalf of'
- Submit the form a first time, create your 'on behalf of' Org.
- Submit the form a second time for New Org, using new name/email
- Outcome the original Org now has the new email but the old name. Both contributions are on their record.https://lab.civicrm.org/dev/core/-/issues/1965Contact image not displaying on contact summary - Drupal 82023-04-27T05:03:21ZalbionbrownContact image not displaying on contact summary - Drupal 8Overview
----------------------------------------
Images uploaded to a contact record are not displayed on the contact summary when using Drupal 8 as the CMS.
Reproduction steps
----------------------------------------
1. Click on **Co...Overview
----------------------------------------
Images uploaded to a contact record are not displayed on the contact summary when using Drupal 8 as the CMS.
Reproduction steps
----------------------------------------
1. Click on **Contacts -> New Individual**.
2. Enter basic information and upload an image to the '**Browse/Upload Image**' field
3. Save the contact
4. View the contact's summary
Current behaviour
----------------------------------------
The browser's default missing image icon is dispayed.
Expected behaviour
----------------------------------------
The uploaded image should be displayed.
Environment information
----------------------------------------
PHP 7.3.20-1
Ubuntu 18.04
Apache/2.4.29 (Ubuntu)
Drupal 8.9.3
CiviCRM 5.28
Comments
----------------------------------------
The image is uploaded to the server and is readable by the web server. The image upload directory in Administer > System settings > Directories is set to [civicrm.files]/custom, which is where the images have been uploaded to.