[midPoint] Re. Error importing objects

Ivan Noris ivan.noris at evolveum.com
Thu Oct 24 13:40:18 CEST 2013


Hi,

seems to me you have bad query in connectorRef / filter:

You have:

        <connectorRef type="ConnectorType">
            <filter>
                <q:equal>
                    <q:value>
                       
<connectorType>org.identityconnectors.ldap.LdapConnector</connectorType>
                    </q:value>
                </q:equal>
            </filter>
        </connectorRef>

You should have (notice the bold line):

        <connectorRef type="ConnectorType">
            <filter>
                <q:equal>
*                <q:path>c:connectorType</q:path>*
                 
<q:value>org.identityconnectors.ldap.LdapConnector</q:value>
                </q:equal>
           </filter>
        </connectorRef>

(I.e.: "find a Connector where
connectorType=org.identityconnectors.ldap.LdapConnector")

This is a quick catch; if there is another problem, I will look at it.
Please try.

Regards,
Ivan


On 10/24/2013 01:22 PM, Deepak Natarajan wrote:
> Dear All -
>
> We've been struggling with an issue. We are trying to import a resource configuration (attached XML configuration). We get the following exception
>
> Import object
> 	• Internal error: postMarshall call failed: Failed to convert object filter from filter. Reason: Could not convert query, because query does not contain property path.
> 	• Context: startLineNumber: 37
> 	• Context: progress: 1
> 	• Context: object: resource:null(APOS Engagement Resource (Apache DS))
> 	• Context: endLineNumber: 289
> 	• Cause: Failed to convert object filter from filter. Reason: Could not convert query, because query does not contain property path. [ HIDE ERROR STACK ]
> com.evolveum.midpoint.util.exception.SystemException: Failed to convert object filter from filter. Reason: Could not convert query, because query does not contain property path.
> at com.evolveum.midpoint.model.util.Utils.resolveRef(Utils.java:224)
> at com.evolveum.midpoint.model.util.Utils.access$0(Utils.java:141)
> at com.evolveum.midpoint.model.util.Utils$1.visit(Utils.java:134)
> at com.evolveum.midpoint.prism.PrismValue.accept(PrismValue.java:125)
> at com.evolveum.midpoint.prism.Item.accept(Item.java:507)
> at com.evolveum.midpoint.prism.PrismContainerValue.accept(PrismContainerValue.java:733)
> at com.evolveum.midpoint.prism.Item.accept(Item.java:507)
> at com.evolveum.midpoint.model.util.Utils.resolveReferences(Utils.java:137)
> at com.evolveum.midpoint.model.importer.ObjectImporter$1.postMarshall(ObjectImporter.java:140)
>
> Has anyone encountered this before...?
>
> Thanks!
>
>
>
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-- 
  Ing. Ivan Noris
  Consultant
  Evolveum, s.r.o
  ___________________________________________________
  "Semper cautus - semper paratus - semper idem Vix."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20131024/e9660f04/attachment.htm>


More information about the midPoint mailing list