dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #06831
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1890: Minor Bug Fix in PortalReports
------------------------------------------------------------
revno: 1890
committer: Bharath Kumar <chbharathk@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-08-05 10:27:23 +0530
message:
Minor Bug Fix in PortalReports
modified:
local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/portal/action/PortalReportsResultAction.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 'local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/portal/action/PortalReportsResultAction.java'
--- local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/portal/action/PortalReportsResultAction.java 2010-07-28 10:17:34 +0000
+++ local/in/dhis-web-reports-national/src/main/java/org/hisp/dhis/reports/portal/action/PortalReportsResultAction.java 2010-08-05 04:57:23 +0000
@@ -771,7 +771,7 @@
if ( PIPSIList.get( programInstance ).contains( pStageInstance ) || programInstance.isCompleted() == false )
{
- if ( pStageInstance.getExecutionDate() != null && pStageInstance.getExecutionDate().before( eDate ) )
+ if ( pStageInstance != null && pStageInstance.getExecutionDate() != null && pStageInstance.getExecutionDate().before( eDate ) )
{
PatientDataValue patientDataValue1 = patientDataValueService.getPatientDataValue( pStageInstance, d1e, selectedOrgUnit );