← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 800792] Re: Only show first program stages in program stage management

 

I fixed the first and second bugs.

For the third, when creating *a program* with *program-stages* and enrolling
a patient to this program, *program-stage-instances* will created for the
patient. When selecting a program-stage into *case-entry form* to enter
values, values will be saved with *program-stage-instance* corresponding to
selected program-stage.

So when creating a new* program-stage* *for an available program*, old
patients - who enrolled this one before, will not have *
program-stage-instance* of new *program-stage*. So, when* selecting new
program-stage into case-entry form* to enter data for old patients, we
cannot get corresponsive the program-stage-instance. And the result is
"java.lang.NullPointerException" as you saw.

Besides, program-stage-instances are sorted to create visit-plans for
patients. If creating a new program-stages for a available program ( which
patients enrolled to before ), I need requirements clearly.

Best regards,
------------------------------------------------
Châu Thu Trân
HISP Viet Nam
Email: tran.hispvietnam@xxxxxxxxx


On Thu, Jun 23, 2011 at 10:30 AM, Thu Tran <800792@xxxxxxxxxxxxxxxxxx>wrote:

> ** Changed in: dhis2
>       Status: New => Confirmed
>
> --
> You received this bug notification because you are a member of DHIS 2
> India Developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/800792
>
> Title:
>  Only show first program stages in program stage management
>
> Status in DHIS 2 - District Health Information Software:
>   Confirmed
>
> Bug description:
>  When I create program with many program stages in the beginning, then
>  in program stage management. All program stages are listed.
>
>  But after that I add more program stages into this program, in the
>  program management, the new program stages are not listed.
>
>   And in data entry form, the new program stages are listed, but it
>  said " java.lang.NullPointerException" when I select report date of
>  new program stages
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/800792/+subscriptions
>


** Changed in: dhis2
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/800792

Title:
  Only show first program stages in program stage management

Status in DHIS 2 - District Health Information Software:
  Fix Committed

Bug description:
  When I create program with many program stages in the beginning, then
  in program stage management. All program stages are listed.

  But after that I add more program stages into this program, in the
  program management, the new program stages are not listed.

   And in data entry form, the new program stages are listed, but it
  said " java.lang.NullPointerException" when I select report date of
  new program stages

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/800792/+subscriptions


Follow ups

References