Upgrade entity reference to 1.5

Fix entity reference module security issue:
  DRUPAL-SA-CONTRIB-2017-067
  https://www.drupal.org/node/2902596

This patch removes the "Autocomplete widgets cannot reference a single
entity result" https://drupal.org/node/1959624#comment-8451891 - it was
merged as d8e3926 commit.

Change-Id: If5b997dac31016e8ebaf3b5b1fc0216bd456b3b0
This commit is contained in:
Marton Kiss 2017-08-30 16:49:26 +02:00
parent 378e97c05f
commit fd4fd96740
2 changed files with 17 additions and 1 deletions

View File

@ -15,4 +15,5 @@ projects[commons][patch][] = "patches/0014-commons-metatag-1.21.patch"
projects[commons][patch][] = "patches/0015-commons-media-2.0.patch"
projects[commons][patch][] = "patches/0016-commons-file_entity-2.3.patch"
projects[commons][patch][] = "patches/0017-commons-media-2.9.patch"
projects[commons][patch][] = "patches/0018-commons-views-3.18.patch"
projects[commons][patch][] = "patches/0018-commons-views-3.18.patch"
projects[commons][patch][] = "patches/0019-commons-entity-reference-1.5.patch"

View File

@ -0,0 +1,15 @@
--- commons.orig/drupal-org.make 2017-08-30 16:20:25.000000000 +0200
+++ commons/drupal-org.make 2017-08-30 16:29:53.000000000 +0200
@@ -131,11 +131,7 @@
projects[entityreference][type] = "module"
projects[entityreference][subdir] = "contrib"
-projects[entityreference][version] = "1.1"
-
-; Autocomplete widgets cannot reference a single entity result.
-; https://drupal.org/node/1959624#comment-8451891
-projects[entityreference][patch][] = "https://drupal.org/files/issues/entityreference-autocomplete-widget-single-entity-1959624-6.patch"
+projects[entityreference][version] = "1.5"
projects[entityreference_prepopulate][type] = "module"
projects[entityreference_prepopulate][subdir] = "contrib"