Francesco Chicchiriccò created SYNCOPE-343:
----------------------------------------------
Summary: 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