if ($this->_action == CRM_Core_Action::UPDATE) {
$this->freeze('data_type');
- // Before dev/core#155 we didn't set the is_reserved flag properly, which should be handled by the upgrade script...
- // but it is still possible that existing installs may have optiongroups linked to custom fields that are marked reserved.
- $optionGroupParams['id'] = $this->_values['option_group_id'];
- $optionGroupParams['options']['or'] = [["is_reserved", "id"]];
+ if (!empty($this->_values['option_group_id'])) {
+ // Before dev/core#155 we didn't set the is_reserved flag properly, which should be handled by the upgrade script...
+ // but it is still possible that existing installs may have optiongroups linked to custom fields that are marked reserved.
+ $optionGroupParams['id'] = $this->_values['option_group_id'];
+ $optionGroupParams['options']['or'] = [["is_reserved", "id"]];
+ }
}
// Retrieve optiongroups for selection list
dm_install_vendor "$SRC/vendor" "$TRG/vendor"
dm_install_bower "$SRC/bower_components" "$TRG/bower_components"
dm_install_drupal "$SRC/backdrop" "$TRG/backdrop"
+dm_install_cvext org.civicrm.api4 "$TRG/ext/api4"
dm_install_cvext com.iatspayments.civicrm "$TRG/ext/iatspayments"
# gen tarball
dm_install_vendor "$SRC/vendor" "$TRG/vendor"
dm_install_bower "$SRC/bower_components" "$TRG/bower_components"
dm_install_drupal "$SRC/drupal" "$TRG/drupal"
+dm_install_cvext org.civicrm.api4 "$TRG/ext/api4"
dm_install_cvext com.iatspayments.civicrm "$TRG/ext/iatspayments"
# gen tarball
dm_install_vendor "$SRC/vendor" "$TRG/vendor"
dm_install_bower "$SRC/bower_components" "$TRG/bower_components"
dm_install_drupal "$DM_DRUPALDIR" "$TRG/drupal"
+dm_install_cvext org.civicrm.api4 "$TRG/ext/api4"
dm_install_cvext com.iatspayments.civicrm "$TRG/ext/iatspayments"
# gen tarball
dm_install_vendor "$SRC/vendor" "$TRG/vendor"
dm_install_bower "$SRC/bower_components" "$TRG/bower_components"
dm_install_drupal "$SRC/drupal" "$TRG/drupal"
+dm_install_cvext org.civicrm.api4 "$TRG/ext/api4"
dm_install_cvext com.iatspayments.civicrm "$TRG/ext/iatspayments"
# gen tarball
dm_install_vendor "$SRC/vendor" "$TRG/vendor"
dm_install_bower "$SRC/bower_components" "$TRG/bower_components"
dm_install_drupal "$SRC/drupal" "$TRG/drupal"
+dm_install_cvext org.civicrm.api4 "$TRG/ext/api4"
dm_install_cvext com.iatspayments.civicrm "$TRG/ext/iatspayments"
# delete packages that distributions on Drupal.org repalce if present
dm_install_packages "$SRC/packages" "$TRG/packages"
dm_install_vendor "$SRC/vendor" "$TRG/vendor"
dm_install_bower "$SRC/bower_components" "$TRG/bower_components"
+dm_install_cvext org.civicrm.api4 "$TRG/ext/api4"
dm_install_cvext com.iatspayments.civicrm "$TRG/ext/iatspayments"
## WTF: It's so good we'll install it twice!
dm_install_vendor "$SRC/vendor" "$TRG/civicrm/civicrm/vendor"
dm_install_bower "$SRC/bower_components" "$TRG/civicrm/civicrm/bower_components"
dm_install_wordpress "$SRC/WordPress" "$TRG/civicrm"
+dm_install_cvext org.civicrm.api4 "$TRG/civicrm/civicrm/ext/api4"
dm_install_cvext com.iatspayments.civicrm "$TRG/civicrm/civicrm/ext/iatspayments"
# gen tarball
When a user editing a custom field that uses an option group, you may now
switch to any non-reserved option groups.
+- **Further Fix for updating custom field when not linked to an option group.
+ ([12789](https://github.com/civicrm/civicrm-core/pull/12789))**
+
+ Further following fix from 12729 to ensure that the Edit Custom Field form works when
+ not linked to an option group.
+
- **Upgrader - When updating message templates, identify them by name
([12674](https://github.com/civicrm/civicrm-core/pull/12674))**
- **[infrastructure/ops#842](https://lab.civicrm.org/infrastructure/ops/issues/842)
RSS feed and Getting Started are not displaying in dashlets
- ([https://github.com/civicrm/civicrm-core/pull/12756])**
+ ([12756](https://github.com/civicrm/civicrm-core/pull/12756))**
- **[dev/core#353](https://lab.civicrm.org/dev/core/issues/353) As of 5.4.0,
Activity Search gives an empty result set
AGH Strategies - Andrew Hunt; Agileware - Alok Patel; Australian Greens - Seamus
Lee; Calibrate - Wannes De Roy; Caltha - Tomasz Pietrzkowski; Chris Burgess;
CiviCoop - Jaap Jansma; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - Sunil
-Pawar, Yashodha Chaku; CompuCorp - Camilo Rodriguez, Mukesh Ram; Coop SymbioTIC
-- Mathieu Lutfy; Electronic Frontier Foundation - Mark Burdett; eQuality
+Pawar, Yashodha Chaku; CompuCorp - Camilo Rodriguez, Mukesh Ram; Coop SymbioTIC -
+Mathieu Lutfy; Electronic Frontier Foundation - Mark Burdett; eQuality
Technology - Greg Rundlett; Freeform Solutions - Herb van den Dool; Fuzion -
Jitendra Purohit; JMA Consulting - Monish Deb; John Kingsnorth; Left Join Labs -
Sean Madsen; Megaphone Technology Consulting - Jon Goldberg; MJW Consulting -