Skip to content

Commit

Permalink
Merge pull request #12792 from civicrm/5.5
Browse files Browse the repository at this point in the history
5.5
  • Loading branch information
eileenmcnaughton authored Sep 7, 2018
2 parents 03d1d54 + 47695c3 commit bdf6f90
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 7 deletions.
10 changes: 6 additions & 4 deletions CRM/Custom/Form/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,12 @@ public function buildQuickForm() {

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
Expand Down
1 change: 1 addition & 0 deletions distmaker/dists/backdrop_php5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ 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_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
Expand Down
1 change: 1 addition & 0 deletions distmaker/dists/drupal6_php5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ 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_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
Expand Down
1 change: 1 addition & 0 deletions distmaker/dists/drupal7_dir_php5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dm_install_packages $DM_PACKAGESDIR "$TRG/packages"
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
Expand Down
1 change: 1 addition & 0 deletions distmaker/dists/drupal_php5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ 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_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
Expand Down
1 change: 1 addition & 0 deletions distmaker/dists/drupal_sk_php5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ 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_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
Expand Down
1 change: 1 addition & 0 deletions distmaker/dists/joomla_php5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ dm_install_core "$SRC" "$TRG"
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!
Expand Down
1 change: 1 addition & 0 deletions distmaker/dists/wordpress_php5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dm_install_packages "$SRC/packages" "$TRG/civicrm/civicrm/packages"
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
Expand Down
12 changes: 9 additions & 3 deletions release-notes/5.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ Released September 5, 2018
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))**

Expand Down Expand Up @@ -251,7 +257,7 @@ Released September 5, 2018

- **[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
Expand Down Expand Up @@ -769,8 +775,8 @@ This release was developed by the following code authors:
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 -
Expand Down

0 comments on commit bdf6f90

Please sign in to comment.