dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #22958
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11163: Fixed bug with data element 1.4 file import
------------------------------------------------------------
revno: 11163
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-06-06 18:43:02 +0200
message:
Fixed bug with data element 1.4 file import
modified:
dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dhis14/file/rowhandler/DataElementRowHandler.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-importexport/src/main/java/org/hisp/dhis/importexport/dhis14/file/rowhandler/DataElementRowHandler.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dhis14/file/rowhandler/DataElementRowHandler.java 2011-12-26 10:07:59 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dhis14/file/rowhandler/DataElementRowHandler.java 2013-06-06 16:43:02 +0000
@@ -77,6 +77,8 @@
final DataElement dataElement = (DataElement) object;
dataElement.setActive( true );
+ dataElement.setDomainType( DataElement.DOMAIN_TYPE_AGGREGATE );
+ dataElement.setZeroIsSignificant( false );
if ( dataElement.getCode() != null && dataElement.getCode().trim().length() == 0 )
{