[Bug 1511066] [NEW] Successful event update returns zero updated count

Public bug reported:

PUT /api/events/<id> returns the following JSON response:

{
    "httpStatus": "OK",
    "httpStatusCode": 200,
    "status": "OK",
    "message": "Import was successful.",
    "response": {
        "responseType": "ImportSummary",
        "status": "SUCCESS",
        "importCount": {
            "imported": 0,
            "updated": 0,
            "ignored": 0,
            "deleted": 0
        }
    }
}

The "updated" count is 0 and should be 1

DHIS2 Version info:

Version:
2.21
Build revision:
20823
Build date:
2015-10-21 18:08

** Affects: dhis2
     Importance: Undecided
         Status: New

···

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

Title:
  Successful event update returns zero updated count

Status in DHIS:
  New

Bug description:
  PUT /api/events/<id> returns the following JSON response:

  {
      "httpStatus": "OK",
      "httpStatusCode": 200,
      "status": "OK",
      "message": "Import was successful.",
      "response": {
          "responseType": "ImportSummary",
          "status": "SUCCESS",
          "importCount": {
              "imported": 0,
              "updated": 0,
              "ignored": 0,
              "deleted": 0
          }
      }
  }

  The "updated" count is 0 and should be 1

  DHIS2 Version info:

  Version:
  2.21
  Build revision:
  20823
  Build date:
  2015-10-21 18:08

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