You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2013/03/22 18:07:15 UTC
[jira] [Resolved] (SYNCOPE-343) REST methods returning
implementation classes might fail when there are no available
[ https://issues.apache.org/jira/browse/SYNCOPE-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò resolved SYNCOPE-343.
--------------------------------------------
Resolution: Fixed
http://svn.apache.org/r1459902
> REST methods returning implementation classes might fail when there are no available
> ------------------------------------------------------------------------------------
>
> Key: SYNCOPE-343
> URL: https://issues.apache.org/jira/browse/SYNCOPE-343
> Project: Syncope
> Issue Type: Bug
> Components: client, core
> Affects Versions: 1.1.0
> Environment: Spring MVC
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Priority: Minor
> Fix For: 1.1.0
>
>
> There are some REST methods (PolicyController#getCorrelationRuleClasses or TaskController#getJobClasses) returning Set<String> containing the names of classes implementing a specific interface.
> Such methods are called by the admin console, for example, when defining a new policy or a new task.
> In case there are no custom implementation provided (this happens for SyncRule, currently), an exception is logged:
> org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of MyObject out of START_ARRAY token
> This problem does not affect CXF services since in that case the class names are wrapped in specific transfer objects.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira