Today I was starting to simulate the do-find-matching-object action during a demonstration / training, and found the simulation was only working, if exactly one object was found.
If the response to the query issued by the do-find-matching-object action returns one <instance>, the simulation is showing the expected data.
But if either an empty instance (<iinstance/> ) or multiple <instance> elements are returned, a null pointer exception is thrown in Designer - the output in of the simulation seams to be corrct, up tpo the point the multiple scr-dn are shown, but there is no error variable initialized, no "multiple objects found shown in the trace, and the simulation is broken.
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product version="4.9.0.0000">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<query class-name="User" scope="subtree">
<search-class class-name="User"/>
<search-attr attr-name="mail">
<value type="string">test@demo.com</value>
</search-attr>
<read-attr/>
</query>
</input>
</nds>
Demo Driver :Restricting file Permission for /Users/tschloesser/designer_workspace/workspaces47/Demosystem/IDMDemoSystem/.tmp/ULNGEK9O.log
Demo Driver :Remote Loader: Restricting file Permission for /Users/tschloesser/designer_workspace/workspaces47/Demosystem/IDMDemoSystem/.tmp/ULNGEK9O.log
Demo Driver :Remote Loader: Restricting file Permission for /Users/tschloesser/designer_workspace/workspaces47/Demosystem/IDMDemoSystem/.tmp/ULNGEK9O.log
Demo Driver : Query from policy result
Demo Driver :
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product version="4.9.0.0000">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<instance class-name="User" src-dn="11">
<association>1</association>
</instance>
<instance class-name="User" src-dn="b">
<association>b</association>
</instance>
</output>
</nds>
Demo Driver : Match found: src-dn='11' association='1'
Demo Driver : Match found: src-dn='b' association='b'
Am I too blind to see, or did I found an (new) issue?
Kind regards
Thorsten