dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16923
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6574: Bugfixed
------------------------------------------------------------
revno: 6574
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2012-04-14 18:10:59 +0200
message:
Bugfixed
modified:
dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/SpringDataValueSetStore.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-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/SpringDataValueSetStore.java'
--- dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/SpringDataValueSetStore.java 2012-04-13 22:28:40 +0000
+++ dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/datavalueset/SpringDataValueSetStore.java 2012-04-14 16:10:59 +0000
@@ -45,7 +45,6 @@
import org.hisp.dhis.organisationunit.OrganisationUnit;
import org.hisp.dhis.period.Period;
import org.hisp.dhis.period.PeriodType;
-import org.hisp.dhis.system.util.TextUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.support.rowset.SqlRowSet;
@@ -89,7 +88,7 @@
dataValue.setStoredBy( rowSet.getString( "storedby" ) );
dataValue.setTimestamp( getMediumDateString( rowSet.getDate( "lastupdated" ) ) );
dataValue.setComment( rowSet.getString( "comment" ) );
- dataValue.setFollowup( TextUtils.valueOf( "followup" ) );
+ dataValue.setFollowup( rowSet.getBoolean( "followup" ) );
writer.closeElement();
}