← Back to team overview

dhis2-users team mailing list archive

Metadata Import of option sets not working

 

Hi,

We have two instances of DHIS. Metadata is exported from one instance and
imported into the other in the form of JSON file. But, while importing
metadata, option set is imported but not the options within it.  We are
currently using DHIS version 2.21 revision number 21021.

We have import conflicts mentioned as follows:

"type": "OptionSet",
     "importConflicts": [
       {
         "object": "Test options",
         "value": "Unknown reference to IdentifiableObject{id=0,
uid='null', code='1', name='option 1', created=null, lastUpdated=null}
(Option) on object IdentifiableObject{id=73, uid='fvm4lIOVDnY',
code='null', name='Test options', created=Tue Feb 09 12:14:03 IST 2016,
lastUpdated=Tue Feb 09 12:14:27 IST 2016} (OptionSet)."
       },
       {
         "object": "Test options",
         "value": "Unknown reference to IdentifiableObject{id=0,
uid='null', code='2', name='option 2', created=null, lastUpdated=null}
(Option) on object IdentifiableObject{id=73, uid='fvm4lIOVDnY',
code='null', name='Test options', created=Tue Feb 09 12:14:03 IST 2016,
lastUpdated=Tue Feb 09 12:14:27 IST 2016} (OptionSet)."
       }
     ]


Is this a bug? A similar issue was reported as a bug on launchpad for 2.18
version.
Here's the link - https://bugs.launchpad.net/dhis2/+bug/1434035

Any suggestions or help would be appreciated.




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