dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31554
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16094: Fixed wrong value being assigned to audit value in some cases
------------------------------------------------------------
revno: 16094
committer: Halvdan Hoem Grelland <halvdanhg@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2014-07-12 01:38:21 +0200
message:
Fixed wrong value being assigned to audit value in some cases
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/datavalue/DataValue.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-api/src/main/java/org/hisp/dhis/datavalue/DataValue.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/datavalue/DataValue.java 2014-07-11 10:21:13 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/datavalue/DataValue.java 2014-07-11 23:38:21 +0000
@@ -312,7 +312,7 @@
{
if( !auditValueIsSet )
{
- this.auditValue = valueIsSet ? this.auditValue : value;
+ this.auditValue = valueIsSet ? this.value : value;
auditValueIsSet = true;
}