mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ContentData
- The default locale if one is not specified - Client code must still handle null locales for backwards compatibility NodeService - Moved support methods for instrinsic properties Locale - The Alfresco String representation of a Locale is x_y_z, even if x, y or z are "" - This makes the SQL like function more accurate for searches against locale properties git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4618 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -134,12 +134,7 @@ public class PropertyValue implements Cloneable, Serializable
|
||||
@Override
|
||||
Serializable convert(Serializable value)
|
||||
{
|
||||
String str = DefaultTypeConverter.INSTANCE.convert(String.class, value);
|
||||
if (value instanceof Locale && str.length() < 6)
|
||||
{
|
||||
str += "_";
|
||||
}
|
||||
return str;
|
||||
return DefaultTypeConverter.INSTANCE.convert(String.class, value);
|
||||
}
|
||||
},
|
||||
DATE
|
||||
|
Reference in New Issue
Block a user