mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Persist Enum properties as first-class STRING values
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21996 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -580,7 +580,7 @@ public class NodePropertyValue implements Cloneable, Serializable
|
|||||||
{
|
{
|
||||||
return ValueType.DOUBLE;
|
return ValueType.DOUBLE;
|
||||||
}
|
}
|
||||||
else if (value instanceof String)
|
else if (value instanceof String || value instanceof Enum<?>)
|
||||||
{
|
{
|
||||||
return ValueType.STRING;
|
return ValueType.STRING;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user