mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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
This commit is contained in:
@@ -80,7 +80,7 @@ public class TypedPropertyValueGetter
|
|||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if(isDateProperty(propDef) && !ISO8601DateFormat.isTimeComponentDefined((String) value))
|
if(isDateProperty(propDef) && !ISO8601DateFormat.isTimeComponentDefined(valStr))
|
||||||
{
|
{
|
||||||
// Special handling for day-only date storage (ALF-10243)
|
// Special handling for day-only date storage (ALF-10243)
|
||||||
return ISO8601DateFormat.parseDayOnly(valStr, TimeZone.getDefault());
|
return ISO8601DateFormat.parseDayOnly(valStr, TimeZone.getDefault());
|
||||||
|
Reference in New Issue
Block a user