dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24666
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12130: do not use patient.getPrograms() in MobileProgramEnrollmentAction (fixes compile issue)
------------------------------------------------------------
revno: 12130
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-09-18 09:25:37 +0200
message:
do not use patient.getPrograms() in MobileProgramEnrollmentAction (fixes compile issue)
modified:
dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SaveMobileProgramEnrollmentAction.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-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SaveMobileProgramEnrollmentAction.java'
--- dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SaveMobileProgramEnrollmentAction.java 2013-09-03 01:20:58 +0000
+++ dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/beneficiaryenrollment/action/SaveMobileProgramEnrollmentAction.java 2013-09-18 07:25:37 +0000
@@ -445,7 +445,6 @@
programInstanceService.addProgramInstance( programInstance );
- patient.getPrograms().add( program );
patientService.updatePatient( patient );
for ( ProgramStage programStage : program.getProgramStages() )