Repository: syncope Updated Branches: refs/heads/1_2_X 49e93351c -> 8d309e2a6
[SYNCOPE-1070] Using the actual schema type to get the value as string Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/8d309e2a Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/8d309e2a Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/8d309e2a Branch: refs/heads/1_2_X Commit: 8d309e2a639a7d29ced1404727bc328ba83491a2 Parents: 49e9335 Author: Francesco Chicchiriccò <ilgro...@apache.org> Authored: Fri Apr 21 13:03:37 2017 +0200 Committer: Francesco Chicchiriccò <ilgro...@apache.org> Committed: Fri Apr 21 13:03:37 2017 +0200 ---------------------------------------------------------------------- core/src/main/java/org/apache/syncope/core/util/MappingUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/8d309e2a/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java b/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java index a504dc2..ae89206 100644 --- a/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java +++ b/core/src/main/java/org/apache/syncope/core/util/MappingUtil.java @@ -336,7 +336,7 @@ public final class MappingUtil { if (FrameworkUtil.isSupportedAttributeType(schemaType.getType())) { objValues.add(value.getValue()); } else { - objValues.add(value.getValueAsString()); + objValues.add(value.getValueAsString(schemaType)); } }