dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #21364
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10087: Set timestamp and stored by property for updatated values
------------------------------------------------------------
revno: 10087
committer: Magnus Korvald <korvald@xxxxxxxxxxx>
branch nick: trunk
timestamp: Fri 2013-03-08 17:22:03 +0100
message:
Set timestamp and stored by property for updatated values
modified:
dhis-2/dhis-services/dhis-service-sms/src/main/java/org/hisp/dhis/sms/parse/DefaultParserManager.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-sms/src/main/java/org/hisp/dhis/sms/parse/DefaultParserManager.java'
--- dhis-2/dhis-services/dhis-service-sms/src/main/java/org/hisp/dhis/sms/parse/DefaultParserManager.java 2013-03-08 15:53:42 +0000
+++ dhis-2/dhis-services/dhis-service-sms/src/main/java/org/hisp/dhis/sms/parse/DefaultParserManager.java 2013-03-08 16:22:03 +0000
@@ -367,8 +367,6 @@
dv.setDataElement( code.getDataElement() );
dv.setPeriod( period );
dv.setComment( "" );
- dv.setTimestamp( new java.util.Date() );
- dv.setStoredBy( storedBy );
newDataValue = true;
}
@@ -385,6 +383,8 @@
}
dv.setValue( value );
+ dv.setTimestamp( new java.util.Date() );
+ dv.setStoredBy( storedBy );
if ( newDataValue )
{