dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #43567
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22087: minor attribute value importer fix
------------------------------------------------------------
revno: 22087
committer: Morten Olav Hansen <morten@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2016-03-01 17:39:19 +0700
message:
minor attribute value importer fix
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 2016-03-01 09:43:43 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/metadata/importers/DefaultIdentifiableObjectImporter.java 2016-03-01 10:39:19 +0000
@@ -1165,8 +1165,8 @@
if ( schema.havePersistedProperty( "attributeValues" ) )
{
- attributeValues = ReflectionUtils.invokeGetterMethod( "attributeValues", object );
- ReflectionUtils.invokeSetterMethod( "attributeValues", object, new HashSet<>() );
+ attributeValues = object.getAttributeValues();
+ object.setAttributeValues( new HashSet<>() );
}
return attributeValues;