[OPENICF-1149] SCIM Connector: ObjectClass.ACCOUNT is hardcoded in the search Created: 29/Jul/19  Updated: 12/Mar/20  Resolved: 29/Jul/19

Status: Closed
Project: OpenICF
Component/s: SCIM Connector
Affects Version/s: scim-connector-1.5.0.0, scim-connector-1.5.1.0
Fix Version/s: scim-connector-1.5.2.0

Type: Bug Priority: Major
Reporter: Gael Allioux Assignee: Gael Allioux
Resolution: Fixed Votes: 0
Labels: MAGELLAN
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Target Version/s:
Verified Version/s:
QA Assignee: Son Nguyen

 Comments   
Comment by Gael Allioux [ 29/Jul/19 ]

if you do a search on group, then it fails

 

Caused by: java.lang.IllegalArgumentException: ObjectClass does not match that of the object.
at org.identityconnectors.framework.common.objects.SyncDelta.<init>(SyncDelta.java:82)
at org.identityconnectors.framework.common.objects.SyncDeltaBuilder.build(SyncDeltaBuilder.java:199)
at org.forgerock.openicf.connectors.scim.ScimConnector.lambda$0(ScimConnector.java:455)
at org.forgerock.openicf.connectors.scim.ScimConnector.executeQuery(ScimConnector.java:336)
at org.forgerock.openicf.connectors.scim.ScimConnector.sync(ScimConnector.java:458)
at org.identityconnectors.framework.impl.api.local.operations.SyncImpl.sync(SyncImpl.java:73)
at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:104)
at com.sun.proxy.$Proxy83.sync(Unknown Source)
at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:96)
at com.sun.proxy.$Proxy83.

Comment by Son Nguyen [ 12/Feb/20 ]

Verified successfully with scim-connector-1.5.2.0-SNAPSHOT

Generated at Sat Jan 16 23:33:42 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.