← Back to team overview

dhis2-devs team mailing list archive

Data Synchronization of data values and comments not consistent.

 

Hi,

We have two instances of DHIS2 running on version - 2.21 and revision -
21021.
Both instances have same metadata (through metadata import-export).
The data entry is done from one instance and synced to the other through
data synchronisation.
While entering values for a data element, we also saved a comment along
with it. But, after data sync, either only the value is synced or the
comment is synced, or rarely both. And we have not been able to observe any
consistent pattern through our attempts.
The logs do not show any error. They just say - "Synchronisation
successful" and "Import done". Is this a bug?


A sample of data values (retrieved using APIs) are as follows. Even though,
every data value entered has a comment with it, either just the value or
the associated comment is shown.

{
  "dataValues": [
    {
      "dataElement": "WrYuYughmib",
      "period": "2015W53",
      "orgUnit": "USe0FXuT2hD",
      "categoryOptionCombo": "UQZ2avpTT3r",
      "attributeOptionCombo": "UQZ2avpTT3r",
      "storedBy": "admin",
      "created": "2016-02-08T12:10:28.378+0000",
      "lastUpdated": "2016-02-08T12:10:40.346+0000",
      *"comment": "This is for W53",*
      "followUp": false
    },
    {
      "dataElement": "WrYuYughmib",
      "period": "2015W52",
      "orgUnit": "USe0FXuT2hD",
      "categoryOptionCombo": "UQZ2avpTT3r",
      "attributeOptionCombo": "UQZ2avpTT3r",
      "storedBy": "admin",
      "created": "2016-02-08T12:11:04.000+0000",
      "lastUpdated": "2016-02-08T12:13:21.000+0000",
      *"comment": "yipppieeeeee",*
      "followUp": false
    },
    {
      "dataElement": "WrYuYughmib",
      "period": "2016W1",
      "orgUnit": "USe0FXuT2hD",
      "categoryOptionCombo": "UQZ2avpTT3r",
      "attributeOptionCombo": "UQZ2avpTT3r",
     * "value": "1111",*
      "storedBy": "admin",
      "created": "2016-02-08T11:50:58.000+0000",
      "lastUpdated": "2016-02-08T11:50:58.000+0000",
      "followUp": false
    },
    {
      "dataElement": "WrYuYughmib",
      "period": "2016W4",
      "orgUnit": "USe0FXuT2hD",
      "categoryOptionCombo": "UQZ2avpTT3r",
      "attributeOptionCombo": "UQZ2avpTT3r",
      "storedBy": "admin",
      "created": "2016-02-08T12:08:19.000+0000",
      "lastUpdated": "2016-02-08T12:09:31.000+0000",
      *"comment": "New comment",*
      "followUp": false
    },
    {
      "dataElement": "WrYuYughmib",
      "period": "2015W50",
      "orgUnit": "USe0FXuT2hD",
      "categoryOptionCombo": "UQZ2avpTT3r",
      "attributeOptionCombo": "UQZ2avpTT3r",
      *"value": "10",*
      "storedBy": "admin",
      "created": "2016-02-08T12:18:18.000+0000",
      "lastUpdated": "2016-02-08T12:18:29.000+0000",
      "followUp": false
    },


Could you please look into this and offer suggestions.





Thanks & Regards,

Archana Chillala
Application Developer
Email archanac@xxxxxxxxxxxxxxxx
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

Follow ups