← Back to team overview

dhis2-devs team mailing list archive

Change of default MergeMode from MERGE to REPLACE


Hi everyone

In 2.25 we will change the default `MergeMode` from `MERGE` to `REPLACE`
(for metadata imports), this is being done because of the somewhat
undefined characteristics of the `MERGE` mode (what is merged, and what is
not.. depends on the internal Java implementation, primitives vs objects

Hopefully this should not cause any issues, but if you foresee any issues
with your scripts or third party apps you can already today make it future
safe by setting the merge mode explicit for imports (mergeMode=MERGE)

Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo