From 3124d23ccf7ee082a4d5c6a2f3766b6958b6f1a1 Mon Sep 17 00:00:00 2001 From: Nazar Gargol Date: Thu, 7 Mar 2019 16:11:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20force=5Fi18n=20import=20?= =?UTF-8?q?validation=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #10580 - The validation was failing because boolean values in settings can also be "0" and "1". 04c60b4ce1f9ad99b80bdd0bf9dfc2cf06d8817e explains the reason why these 2 new values are allowed --- core/server/data/schema/default-settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/data/schema/default-settings.json b/core/server/data/schema/default-settings.json index bae986a012..ff284d630e 100644 --- a/core/server/data/schema/default-settings.json +++ b/core/server/data/schema/default-settings.json @@ -56,7 +56,7 @@ "defaultValue": "true", "validations": { "isEmpty": false, - "isIn": [["true", "false"]] + "isIn": [["true", "false", "0", "1"]] } }, "permalinks": {