← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11620: Fixed bug - Problems with Individual Records / Single Events / Events Anonymous after migrating f...

 

------------------------------------------------------------
revno: 11620
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-08-09 10:31:35 +0700
message:
  Fixed bug - Problems with Individual Records / Single Events / Events Anonymous after migrating from version 2.11 to 2.12
modified:
  dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/startup/TableAlteror.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-patient/src/main/java/org/hisp/dhis/patient/startup/TableAlteror.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/startup/TableAlteror.java	2013-07-31 06:51:17 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/startup/TableAlteror.java	2013-08-09 03:31:35 +0000
@@ -191,7 +191,7 @@
         executeSql( "UPDATE patientidentifiertype SET type='string' WHERE type='text'" );
 
         executeSql( "UPDATE program SET onlyEnrollOnce='false' WHERE onlyEnrollOnce is null" );
-        executeSql( "UPDATE programStage SET captureCoordinates='false' WHERE captureCoordinates is null" );
+        executeSql( "UPDATE programStage SET captureCoordinates='false' WHERE captureCoordinates is null and captureCoordinates != true" );
 
         executeSql( "update caseaggregationcondition set \"operator\"='times' where \"operator\"='SUM'" );