← Back to team overview

dhis2-devs team mailing list archive

[Bug 1553807] Re: Unable to Import Exported OptionSets

 

** Changed in: dhis2
    Milestone: 2.23 => None

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

Title:
  Unable to Import Exported OptionSets

Status in DHIS:
  Invalid

Bug description:
  Using a few different version of DHIS2:

  2.22 21888
  2.21 21044
  2.21 20879

  Steps to reproduce:

  Create an option set with options in instance 1
  Export it from instance 1 via metadatadetailedexporter
      use "with dependencies" or not, it makes no difference
  Import xml file into instance 2

  You will get a DB with the optionset, and the options imported, but
  not tied together (making them orphans?), and hundreds of non fatal
  errors saying the following:

  Unknown reference to IdentifiableObject{id=0, uid='nj3MB9lJt02',
  code='testing123', name='testing123', created=Sun Mar 06 13:13:39 PST
  2016, lastUpdated=Sun Mar 06 13:13:39 PST 2016} (Option) on object
  IdentifiableObject{id=22638, uid='R9f3IQbU2k2', code='test',
  name='test', created=Sun Mar 06 13:13:11 PST 2016, lastUpdated=Sun Mar
  06 13:13:39 PST 2016} (OptionSet).

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


References