← Back to team overview

dhis2-users team mailing list archive

Re: Import/Export - Category combination option problem

 

I have experienced similar problems with characters such as ≤ which
are not properly encoded in the XML. I am pretty sure there is a bug
on launchpad to this effect as well.

Regards,
Jason


On 5/22/13, Fábio Ramos <fd-ramos@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
>
>
> The metadata that I try to import are attached at annex metaData.xml.zip.
>
>
>
> Yes, there are some names like ‘<validationRule name="max nº …’,
>
> but, in second image the problem is in the “<categoryOptionCombo
> created="2013-02-20T15:51:17.384+0000" id="jCGmBLM1JHQ"
> lastUpdated="2013-02-20T15:51:17.384+0000" name="(default)"/>”.
>
>
>
> In this case, may the “funny characters”, the cause of my problem?
>
>
>
> Cumprimentos,
>
> Fábio Ramos
>
>
>
> From: Knut Staring [mailto:knutst@xxxxxxxxx]
> Sent: terça-feira, 21 de Maio de 2013 10:12
> To: Morten Olav Hansen
> Cc: Fábio Ramos; dhis2-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Dhis2-users] Import/Export - Category combination option
> problem
>
>
>
> Perhaps you are using some funny characters like the one in the screenshot,
> 'n0'
>
> Den 21. mai 2013 09:48 skrev "Morten Olav Hansen" <mortenoh@xxxxxxxxx>
> følgende:
>
> Can you share the meta-data XML?
>
>
>
>
> --
> Morten
>
>
>
> On Tue, May 21, 2013 at 2:37 PM, Fábio Ramos <fd-ramos@xxxxxxxxxxxxxxxxxxxx>
> wrote:
>
> Hi Lars,
>
>
>
> Any conclusion about that, can I give you additional information to help?
>
>
>
> Thanks,
>
>
>
> regards,
>
> Fábio Ramos
>
>
>
> From: Fábio Ramos [mailto:fd-ramos@xxxxxxxxxxxxxxxxxxxx]
> Sent: segunda-feira, 13 de Maio de 2013 18:24
> To: 'Lars Helge Øverland'
> Cc: dhis2-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Dhis2-users] Import/Export - Category combination option
> problem
>
>
>
> Hi,
>
>
>
> (If I understand your question) Like I show in the second image, in the
> first instance I don’t have any problem with data entry.
>
>
>
> Cumprimentos,
>
> Fábio Ramos
>
>
>
> From: Lars Helge Øverland [mailto:larshelge@xxxxxxxxx]
> Sent: segunda-feira, 13 de Maio de 2013 16:38
> To: Fábio Ramos
> Cc: dhis2-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Dhis2-users] Import/Export - Category combination option
> problem
>
>
>
> Hi again,
>
>
>
> can you check that this error also does not appear in the instance you
> exported from?
>
>
>
> Lars
>
>
>
> On Wed, May 8, 2013 at 10:47 AM, Fábio Ramos <fd-ramos@xxxxxxxxxxxxxxxxxxxx>
> wrote:
>
> Hi Lars,
>
>
>
> The version is 2.11 for both instances.
>
>
>
> Thanks,
>
>
>
> regards,
>
> Fábio Ramos
>
>
>
> From: Lars Helge Øverland [mailto:larshelge@xxxxxxxxx]
> Sent: quarta-feira, 8 de Maio de 2013 10:19
> To: Fábio Ramos
> Cc: dhis2-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Dhis2-users] Import/Export - Category combination option
> problem
>
>
>
> Hi Fabio,
>
>
>
> can you tell us the DHIS version of both the sending and receiving instances
> of DHIS?
>
>
>
> regards,
>
>
>
> Lars
>
>
>
>
>
> On Tue, May 7, 2013 at 12:46 PM, Fábio Ramos <fd-ramos@xxxxxxxxxxxxxxxxxxxx>
> wrote:
>
> Hello,
>
> I’m facing a problem with Metadata Import/Export between two different
> instances of DHIS2.
>
> I’m working with DHIS2 Version: 2.11, Build revision: 10459, Build date:
> 2013-04-17 02:01.
>
> The scenario:
>
> 1.       Export all Metadata from first DHIS2 instance, excluding users,
> groups and roles (this instance haves  the OU’s, Data Elements, Data
> Sets/Custom Forms… configuration);
>
> 2.       Import Metadata into second DHIS2 instance (don’t have any
> configuration, clean installation);
>
> 3.       Access the Data Entry Service in second DHIS2 instance, select a
> Data Set that haves one Custom Form configured:
>
>
>
> When, in the first instance I have:
>
>
>
>
>
> Apparently the problem also occurs in Validation Rules definition:
>
>
>
>
>
>
>
>
>
> The Data Set don’t use any Data Element configured with an specific “Data
> Element Category / Data Element Category Combination” (only default),
> but, at point 2, the “Data element category options” were not imported, may
> this be related with the problem?
>
>
>
> Based on your experience, I may be doing something wrong with Import/Export
> of metadata?
>
> Thanks,
>
> Best Regards,
>
> Fábio Ramos
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+260974901293


Follow ups

References