From ee2c22d9842773faf9d3085956859e801369b1d5 Mon Sep 17 00:00:00 2001
From: Rajab Natshah <rajabn@gmail.com>
Date: Tue, 7 Nov 2017 01:33:56 +0200
Subject: [PATCH] Issue #2921426: Added the patch for [Views Reference Field]
 module to fix the issue of viewsreference update 8103 in 
 viewsreference.install

---
 CHANGELOG.md    | 6 +++++-
 composer.json   | 4 ++++
 drupal-org.make | 2 ++
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 49591658..d6697a2b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -46,7 +46,11 @@
 * Issue [#2921326](https://www.drupal.org/node/2921326):
                   Added the patch for [Drupal core] to fix the issue of
                   Preview of content - Notice: Undefined offset: 0 in quick
-                  edit entity is latest revision'
+                  edit entity is latest revision
+* Issue [#2921426](https://www.drupal.org/node/2921426):
+                  Added the patch for [Views Reference Field] module to fix
+                  the issue of viewsreference update 8103 in
+                  viewsreference.install
 
 ### Changed since the last release:
 * Issue [#2916762](https://www.drupal.org/node/2916762):
diff --git a/composer.json b/composer.json
index 91365310..61054b64 100644
--- a/composer.json
+++ b/composer.json
@@ -337,6 +337,10 @@
       "drupal/ctools": {
         "Issue #2820783: Fix Block.php notices and warnings.":
         "https://www.drupal.org/files/issues/fixblockpager-2820783-27.patch"
+      },
+      "drupal/viewsreference": {
+        "Issue #2921423: Error on update TypeError: Argument 1 passed to Insert::fields() must be of the type array, null given, called in viewsreference.install on line 71":
+        "https://www.drupal.org/files/issues/2921423-3_0.patch"
       }
     }
   }
diff --git a/drupal-org.make b/drupal-org.make
index 5db155d8..7a660201 100644
--- a/drupal-org.make
+++ b/drupal-org.make
@@ -289,6 +289,8 @@ projects[entity_reference_revisions][version] = 1.3
 
 projects[viewsreference][type] = module
 projects[viewsreference][version] = 2.0-alpha2
+;; Issue #2921423: Error on update TypeError: Argument 1 passed to Insert::fields() must be of the type array, null given, called in viewsreference.install on line 71
+projects[viewsreference][patch][] = https://www.drupal.org/files/issues/2921423-3_0.patch
 
 projects[masonry][type] = module
 projects[masonry][version] = 1.0-rc2
-- 
GitLab