From 1a03632d4e5ad8e0ace50767819c151a95d3cc44 Mon Sep 17 00:00:00 2001 From: Dave Ward Date: Wed, 27 Feb 2013 12:34:34 +0000 Subject: [PATCH] Merged V4.1-BUG-FIX to HEAD 47190: ALF-10143: Merged V3.4-BUG-FIX to V4.1-BUG-FIX 47189: ALF-18121: Merged PATCHES/V3.4.11 to V3.4-BUG-FIX 47170: MNT-323: Adding additional empty-string-check 47188: MNT-323: Merged HEAD to PATCHES/V4.1.3 31096: ALF-10143 Now Form processors convert property values from String to the appropriate type as specified by the property's DataTypeDefinition when the form is persisted. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@47191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../repo/forms/processor/workflow/TypedPropertyValueGetter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/java/org/alfresco/repo/forms/processor/workflow/TypedPropertyValueGetter.java b/source/java/org/alfresco/repo/forms/processor/workflow/TypedPropertyValueGetter.java index c51379dd5a..64c7990a36 100644 --- a/source/java/org/alfresco/repo/forms/processor/workflow/TypedPropertyValueGetter.java +++ b/source/java/org/alfresco/repo/forms/processor/workflow/TypedPropertyValueGetter.java @@ -80,7 +80,7 @@ public class TypedPropertyValueGetter { return null; } - if(isDateProperty(propDef) && !ISO8601DateFormat.isTimeComponentDefined((String) value)) + if(isDateProperty(propDef) && !ISO8601DateFormat.isTimeComponentDefined(valStr)) { // Special handling for day-only date storage (ALF-10243) return ISO8601DateFormat.parseDayOnly(valStr, TimeZone.getDefault());