← Back to team overview

dhis2-devs team mailing list archive

[Bug 1528874] [NEW] Dataset Completion triggers even in "Dry Run" for data value upload

 

Public bug reported:

Hello Hello!

Steps to reproduce:

0. Uncomplete the following dataset, or change the OU in the json file
--Because I already tested it today, so it is completed:

Ngelehun CHC
Facility Assessment
2010

1. Upload the following file as a dry run:
{
  "dataSet": "V8MHeZHIrcP",
  "completeData": "2014-02-03",
  "period": "2010",
  "orgUnit": "DiszpKrYNg8",
  "dataValues": [
    { "dataElement": "a57FmdPj3Zl", "categoryOptionCombo": "kvhEdnjWsRC", "value": "5" }
  ]
}

2. Observe the dataset has been completed by admin or whatever user you
are using. This also occurs in v2.20. Ive uploaded a file of just the
output from the upload, but the dataset is also completed if you check
through the dataentry app.

** Affects: dhis2
     Importance: Undecided
         Status: New

** Attachment added: "slbugupload.json.png"
   https://bugs.launchpad.net/bugs/1528874/+attachment/4539436/+files/slbugupload.json.png

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

Title:
  Dataset Completion triggers even in "Dry Run" for data value upload

Status in DHIS:
  New

Bug description:
  Hello Hello!

  Steps to reproduce:

  0. Uncomplete the following dataset, or change the OU in the json file
  --Because I already tested it today, so it is completed:

  Ngelehun CHC
  Facility Assessment
  2010

  1. Upload the following file as a dry run:
  {
    "dataSet": "V8MHeZHIrcP",
    "completeData": "2014-02-03",
    "period": "2010",
    "orgUnit": "DiszpKrYNg8",
    "dataValues": [
      { "dataElement": "a57FmdPj3Zl", "categoryOptionCombo": "kvhEdnjWsRC", "value": "5" }
    ]
  }

  2. Observe the dataset has been completed by admin or whatever user
  you are using. This also occurs in v2.20. Ive uploaded a file of just
  the output from the upload, but the dataset is also completed if you
  check through the dataentry app.

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


Follow ups