Hi Are you exporting both optionSets -and- options? if not, all that is inside the optionSets are the references to options, not the actual options.
On Wed, Feb 10, 2016 at 12:23 PM, Archana Chillala < archa...@thoughtworks.com> wrote: > 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 archa...@thoughtworks.com > 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> > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-us...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > > -- Morten
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp