← Back to team overview

dhis2-devs team mailing list archive

[Bug 1319120] Re: api dataValueSet error NullPointerException

 

** Changed in: dhis2
       Status: New => Fix Released

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

Title:
   api dataValueSet error NullPointerException

Status in DHIS:
  Fix Released

Bug description:
  The api resource dataValueSet returns an error when the parameter
  dataElementIdScheme=code is passed and a data element doesn't have a
  code.

  To replicate this behavior in http://apps.dhis2.org/demo delete the
  code from the data element "OPV0 doses given" of the data set "Child
  Health" (BfMAe6Itzgt) and open the api resource with the following
  link:

  http://apps.dhis2.org/demo/api/dataSets/BfMAe6Itzgt/dataValueSet?dataElementIdScheme=code

  Tested in DHIS v2.15 build 15033

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


References