← Back to team overview

dhis2-devs team mailing list archive

[Bug 1521310] Re: Event Data Export Giving Errors

 

** Changed in: dhis2
       Status: Fix Committed => 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/1521310

Title:
  Event Data Export Giving Errors

Status in DHIS:
  Fix Released

Bug description:
  Version 2.21, using the SL demo at: https://apps.dhis2.org/demo/

  Using the event data exporter to make some CSV files I am getting myriad errors. I've attached a picture of one of the creation screens called try 1, the result of that one (as admin) is:
  {
    "httpStatus": "Conflict",
    "httpStatusCode": 409,
    "status": "ERROR",
    "message": "User has no access to program: IpHINAT79UW"
  }
  URL:https://apps.dhis2.org/demo/api/events.csv.gz?attachment=events.csv.gz&program=IpHINAT79UW&orgUnit=ImspTQPwCqd&ouMode=DESCENDANTS&startDate=2015-02-01&endDate=2015-11-30&links=false

  I tried a different program (no png attached, but the URL is provided here to recreate it):
  https://apps.dhis2.org/demo/api/events.csv.gz?attachment=events.csv.gz&program=kla3mAPgvCH&orgUnit=ImspTQPwCqd&ouMode=DESCENDANTS&startDate=2015-04-01&endDate=2015-11-30&links=false

  {
    "httpStatus": "Conflict",
    "httpStatusCode": 409,
    "status": "ERROR",
    "message": "Default attribute option combo is specified while program has non-default attribute category combo:  nM3u9s5a52V"
  }

  I tried another one:
  https://apps.dhis2.org/demo/api/events.csv.gz?attachment=events.csv.gz&program=q04UBOqq3rp&orgUnit=ImspTQPwCqd&ouMode=DESCENDANTS&startDate=2015-04-01&endDate=2015-11-30&links=false
  and got:
  {
    "httpStatus": "Conflict",
    "httpStatusCode": 409,
    "status": "ERROR",
    "message": "User has no access to program: q04UBOqq3rp"
  }

  The only time I can get an export to work it seems is when there are
  zero results.

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


References