dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #43697
Re: [Bug 1553807] Re: Unable to Import Exported OptionSets
I think we can close this one, I was having an off afternoon.
uid <> id=
in an xml file. Not sure why my export/import also failed, but it seems to
be working again.
*Timothy Harding*
Sr. Systems Analyst, BAO Systems
+1 202-536-1541 | tharding@xxxxxxxxxxxxxx | http://www.baosystems.com | Skype:
hardingt@xxxxxxxxx | 2900 K Street, Suite 404, Washington D.C. 20007
On Sun, Mar 6, 2016 at 3:41 PM, Lars Helge Øverland <lars@xxxxxxxxx>
wrote:
> ** Changed in: dhis2
> Milestone: None => 2.23
>
> ** Changed in: dhis2
> Assignee: (unassigned) => Morten Olav Hansen (mortenoh)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1553807
>
> Title:
> Unable to Import Exported OptionSets
>
> Status in DHIS:
> New
>
> 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
>
** Attachment added: "PastedGraphic-1.png"
https://bugs.launchpad.net/bugs/1553807/+attachment/4590986/+files/PastedGraphic-1.png
--
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:
New
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