diff --git a/GUIs.Test.ZUGFeRDTest/App.config b/GUIs.Test.ZUGFeRDTest/App.config index c60b6a5c..69334236 100644 --- a/GUIs.Test.ZUGFeRDTest/App.config +++ b/GUIs.Test.ZUGFeRDTest/App.config @@ -83,10 +83,6 @@ - - - - diff --git a/WEBSERVICES/ZUGFeRDRESTService/Controllers/ValidationController.cs b/WEBSERVICES/ZUGFeRDRESTService/Controllers/ValidationController.cs index 8657e0ae..c1a7e580 100644 --- a/WEBSERVICES/ZUGFeRDRESTService/Controllers/ValidationController.cs +++ b/WEBSERVICES/ZUGFeRDRESTService/Controllers/ValidationController.cs @@ -419,10 +419,10 @@ namespace ZUGFeRDRESTService.Controllers "(@REFERENCE_GUID, @ITEM_DESCRIPTION, @ITEM_VALUE, @CREATEDWHO, @SPEC_NAME, @GROUP_COUNTER, @IS_REQUIRED)"; string itemValue = string.Empty; - if (pProperty.Value.Length > 900) + if (pProperty.Value.Length > 4000) { - itemValue = pProperty.Value.Substring(1, 899); - _logger.Warn("Value for field [{0}] is longer than 900 characters, will be truncated!", pProperty.TableColumn); + itemValue = pProperty.Value.Substring(1, 4000); + _logger.Warn("Value for field [{0}] is longer than 4000 characters, will be truncated!", pProperty.TableColumn); } else {