From f40841071047985a790dc888e08f9b04e5d8c7c4 Mon Sep 17 00:00:00 2001
From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org>
Date: Wed, 5 Apr 2017 20:34:34 +0100
Subject: [PATCH] Issue #2867113 by Berdir, Wim Leers: Fatal error in
 serialization_update_8302() when updating to 8.3.0-rc2

---
 core/modules/serialization/serialization.install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/serialization/serialization.install b/core/modules/serialization/serialization.install
index 6c67f755c9a0..6620b446efc7 100644
--- a/core/modules/serialization/serialization.install
+++ b/core/modules/serialization/serialization.install
@@ -42,7 +42,7 @@ function serialization_update_8302() {
   $config_factory = \Drupal::configFactory();
   $config_factory->getEditable('serialization.settings')
     ->set('bc_primitives_as_strings', FALSE)
-    ->save(FALSE);
+    ->save(TRUE);
 
   return t('The REST API will no longer output all values as strings. Integers/booleans will be used where appropriate. If your site depends on these value being strings, <a href="https://www.drupal.org/node/2837696">read the change record to learn how to enable the BC mode.</a>');
 }
-- 
GitLab