Hi,

When requesting a record on a Rest connector that respond with data:
{"appName":"appAdmin","key":null,"login":"appAdmin","status":"ACTIVE","projects":["projet1","projet2"],"uid":"appAdmin"}

I found in Syncope log this exception:
Caused by: java.lang.IllegalStateException: Object {Uid=Attribute:
{Name=__UID__, Value=[appAdmin]}, ObjectClass=ObjectClass:
__ACCOUNT__, Attributes=[Attribute: {Name=projects, Value=[projet1,
projet2]}, Attribute: {Name=appName, Value=[appAdmin]}, Attribute:
{Name=__NAME__, Value=[appAdmin]}, Attribute: {Name=__UID__,
Value=[appAdmin]}], Name=Attribute: {Name=__NAME__, Value=[appAdmin]}}
was returned by the connector but failed to pass the framework filter.
This seems like wrong implementation of the filter in the connector.
        at 
org.identityconnectors.framework.impl.api.local.operations.FilteredResultsHandler.handle(FilteredResultsHandler.java:82)
        at 
org.identityconnectors.framework.impl.api.local.operations.SearchImpl$AttributesToGetSearchResultsHandler.handle(SearchImpl.java:275)
        at 
org.identityconnectors.framework.impl.api.local.operations.SearchImpl$1.handle(SearchImpl.java:145)
        at 
org.identityconnectors.framework.impl.api.SearchResultsHandlerLoggingProxy.handle(SearchResultsHandlerLoggingProxy.java:75)
        at 
net.tirasa.connid.commons.scripted.AbstractScriptedConnector.processResults(AbstractScriptedConnector.java:800)
        at 
net.tirasa.connid.commons.scripted.AbstractScriptedConnector.executeQuery(AbstractScriptedConnector.java:616)
        ... 14 more

My questions is about the connector filter:
- What is attended by the filter ?
- Where to find the configuration of that filter ?
- Why is the external attribute appName, mapped on the internal name
attribute is wrong for the filter ?

Best regards,

Stéphane POPOFF

Reply via email to