From 1ae4ac04d6bcf922735e5bfc9d575d00113888ca Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 13 Mar 2014 10:31:42 +0200 Subject: [PATCH] max length for number separators --- .../Espo/Resources/metadata/entityDefs/Preferences.json | 6 ++++-- .../Espo/Resources/metadata/entityDefs/Settings.json | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/application/Espo/Resources/metadata/entityDefs/Preferences.json b/application/Espo/Resources/metadata/entityDefs/Preferences.json index 4c848d8b50..c5a0a802a4 100644 --- a/application/Espo/Resources/metadata/entityDefs/Preferences.json +++ b/application/Espo/Resources/metadata/entityDefs/Preferences.json @@ -21,12 +21,14 @@ }, "thousandSeparator": { "type": "varchar", - "default": "," + "default": ",", + "maxLength": 1 }, "decimalMark": { "type": "varchar", "default": ".", - "required": true + "required": true, + "maxLength": 1 }, "defaultCurrency": { "type": "enum", diff --git a/application/Espo/Resources/metadata/entityDefs/Settings.json b/application/Espo/Resources/metadata/entityDefs/Settings.json index 8c4f78511f..a38612ddc3 100644 --- a/application/Espo/Resources/metadata/entityDefs/Settings.json +++ b/application/Espo/Resources/metadata/entityDefs/Settings.json @@ -40,12 +40,14 @@ }, "thousandSeparator": { "type": "varchar", - "default": "," + "default": ",", + "maxLength": 1 }, "decimalMark": { "type": "varchar", "default": ".", - "required": true + "required": true, + "maxLength": 1 }, "currencyList": { "type": "array",