dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25288
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12505: fixes minor bugs in OU import
------------------------------------------------------------
revno: 12505
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-10-08 16:06:03 +0200
message:
fixes minor bugs in OU import
modified:
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/importers/DefaultIdentifiableObjectImporter.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/importers/DefaultIdentifiableObjectImporter.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/importers/DefaultIdentifiableObjectImporter.java 2013-10-08 10:20:06 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/importers/DefaultIdentifiableObjectImporter.java 2013-10-08 14:06:03 +0000
@@ -808,10 +808,9 @@
}
}
- if ( !options.isDryRun() )
- {
- ReflectionUtils.invokeSetterMethod( field.getName(), object, reference );
- }
+ // if ( !options.isDryRun() ) { }
+ // TODO why do we have to invoke the setter on dryRun?
+ ReflectionUtils.invokeSetterMethod( field.getName(), object, reference );
}
}