Hi again (and thanks for all the other times I got help here, it is
marvellous)

I am again wondering what is happening.
I have created my objects in edirectory using this driver.
The filter have been set to ignore edirectory values, and the merge
authority is application (for everything except object class, where merge
authority is none)
My goal is that the application should be authoritative for the object.
On the drivers first run, it is creating all the objects, and everything
is fine. On the second run however, the values are cleared from the IDV
(trace below). I cannot see why.
Is it beacuse I have modify-attr in an add operation?

<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product build="20150722_0750" instance="KLE"
version="1.0.0.0">Identity Manager REST Driver</product>
<contact>NetIQ Corporation.</contact>
</source>
<input>
<add class-name="STSKLASS" event-id="KLE##1161129222230##0" src-
dn="00">
<modify-attr attr-name="CN">
<add-value>
<value type="string">00</value>
</add-value>
</modify-attr>
<modify-attr attr-name="Description">
<add-value>
<value type="string">Kommunens styrelse</value>
</add-value>
</modify-attr>
<modify-attr attr-name="STSGUID">
<add-value>
<value type="string">4eba8818-da19-4e37-b3e1-b9b6be2f2f13</value>
</add-value>
</modify-attr>
<association>4eba8818-da19-4e37-b3e1-b9b6be2f2f13</association>
</add>
</input>
</nds>
[12/29/16 22:22:31.611]:KLE PT:Applying publisher filter.
[12/29/16 22:22:31.612]:KLE PT:Publisher processing add for 00.
[12/29/16 22:22:31.612]:KLE PT:Found an associated object.
[12/29/16 22:22:31.612]:KLE PT:Merging eDirectory and application values.
[12/29/16 22:22:31.612]:KLE PT:Reading relevant attributes from data\sts
\klass\KLE\00.
[12/29/16 22:22:31.612]:KLE PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.5.5.0">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<query class-name="STSKLASS" dest-dn="data\sts\klass\KLE\00" dest-
entry-id="34171" scope="entry">
<read-attr attr-name="CN"/>
<read-attr attr-name="Description"/>
<read-attr attr-name="STSGUID"/>
<read-attr attr-name="Object Class"/>
</query>
</input>
</nds>
[12/29/16 22:22:31.613]:KLE PT:Pumping XDS to eDirectory.
[12/29/16 22:22:31.613]:KLE PT:Performing operation query for data\sts
\klass\KLE\00.
[12/29/16 22:22:31.614]:KLE PT:--JCLNT-- \BLACKPILL\system\driverset1\KLE
- Publisher : Duplicating : context = 1415970982, tempContext = 1415970899
[12/29/16 22:22:31.615]:KLE PT:--JCLNT-- \BLACKPILL\system\driverset1\KLE
- Publisher : Calling free on tempContext = 1415970899
[12/29/16 22:22:31.615]:KLE PT:Read result:
[12/29/16 22:22:31.615]:KLE PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.5.5.0">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<instance class-name="STSKLASS" event-id="0" qualified-src-dn="O=data
\OU=sts\OU=klass\OU=KLE\CN=00" src-dn="\BLACKPILL\data\sts\klass\KLE\00"
src-entry-id="34171">
<association state="associated">4eba8818-da19-4e37-b3e1-
b9b6be2f2f13</association>
<attr attr-name="CN">
<value naming="true" timestamp="1483046525#14" type="string">00</
value>
</attr>
<attr attr-name="Description">
<value timestamp="1483046525#4" type="string">Kommunens styrelse</
value>
</attr>
<attr attr-name="STSGUID">
<value timestamp="1483046525#5" type="string">4eba8818-da19-4e37-
b3e1-b9b6be2f2f13</value>
</attr>
<attr attr-name="Object Class">
<value timestamp="1483046525#10" type="string">STSKLASS</value>
<value timestamp="1483046525#11" type="string">auxKLASS</value>
<value timestamp="1483046525#12" type="string">Top</value>
</attr>
</instance>
<status event-id="0" level="success"></status>
</output>
</nds>
[12/29/16 22:22:31.617]:KLE PT:Updating eDirectory with application values.
[12/29/16 22:22:31.617]:KLE PT:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.5.5.0">DirXML</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<modify class-name="STSKLASS" dest-dn="data\sts\klass\KLE\00" dest-
entry-id="34171" event-id="KLE##1161129222230##0" from-merge="true" src-
dn="00">
<association>4eba8818-da19-4e37-b3e1-b9b6be2f2f13</association>
<modify-attr attr-name="STSGUID">
<remove-value>
<value timestamp="1483046525#5" type="string">4eba8818-da19-4e37-
b3e1-b9b6be2f2f13</value>
</remove-value>
</modify-attr>
<modify-attr attr-name="Description">
<remove-value>
<value timestamp="1483046525#4" type="string">Kommunens
styrelse</value>
</remove-value>
</modify-attr>
<modify-attr attr-name="CN">
<remove-value>
<value naming="true" timestamp="1483046525#14" type="string">00</
value>
</remove-value>
</modify-attr>
</modify>
</input>
</nds>