Import/Export - Category combination option problem

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

Hi Fabio,

can you tell us the DHIS version of both the sending and receiving instances of DHIS?

regards,

Lars

image

image

···

On Tue, May 7, 2013 at 12:46 PM, Fábio Ramos fd-ramos@criticalsoftware.com 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);
    
  1.   Import Metadata into second DHIS2 instance (don’t have any configuration, clean installation);
    
  1.   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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Hi Lars,

The version is 2.11 for both instances.

Thanks,

regards,

Fábio Ramos

image

image

···

From: Lars Helge Øverland [mailto:larshelge@gmail.com]
Sent: quarta-feira, 8 de Maio de 2013 10:19
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Hi again,

can you check that this error also does not appear in the instance you exported from?

Lars

image

image

···

On Wed, May 8, 2013 at 10:47 AM, Fábio Ramos fd-ramos@criticalsoftware.com wrote:

Hi Lars,

The version is 2.11 for both instances.

Thanks,

regards,

Fábio Ramos

From: Lars Helge Øverland [mailto:larshelge@gmail.com]

Sent: quarta-feira, 8 de Maio de 2013 10:19
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com 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);
    
  1.   Import Metadata into second DHIS2 instance (don’t have any configuration, clean installation);
    
  1.   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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

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

image

image

···

From: Lars Helge Øverland [mailto:larshelge@gmail.com]
Sent: segunda-feira, 13 de Maio de 2013 16:38
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com wrote:

Hi Lars,

The version is 2.11 for both instances.

Thanks,

regards,

Fábio Ramos

From: Lars Helge Øverland [mailto:larshelge@gmail.com]
Sent: quarta-feira, 8 de Maio de 2013 10:19
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Hi Lars,

Any conclusion about that, can I give you additional information to help?

Thanks,

regards,

Fábio Ramos

image

image

···

From: Fábio Ramos [mailto:fd-ramos@criticalsoftware.com]
Sent: segunda-feira, 13 de Maio de 2013 18:24
To: ‘Lars Helge Øverland’
Cc: dhis2-users@lists.launchpad.net
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@gmail.com]
Sent: segunda-feira, 13 de Maio de 2013 16:38
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com wrote:

Hi Lars,

The version is 2.11 for both instances.

Thanks,

regards,

Fábio Ramos

From: Lars Helge Øverland [mailto:larshelge@gmail.com]
Sent: quarta-feira, 8 de Maio de 2013 10:19
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Can you share the meta-data XML?

image

image

···


Morten

On Tue, May 21, 2013 at 2:37 PM, Fábio Ramos fd-ramos@criticalsoftware.com 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@criticalsoftware.com]

Sent: segunda-feira, 13 de Maio de 2013 18:24
To: ‘Lars Helge Øverland’
Cc: dhis2-users@lists.launchpad.net
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@gmail.com]

Sent: segunda-feira, 13 de Maio de 2013 16:38
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com wrote:

Hi Lars,

The version is 2.11 for both instances.

Thanks,

regards,

Fábio Ramos

From: Lars Helge Øverland [mailto:larshelge@gmail.com]

Sent: quarta-feira, 8 de Maio de 2013 10:19
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com 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);
    
  1.   Import Metadata into second DHIS2 instance (don’t have any configuration, clean installation);
    
  1.   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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Perhaps you are using some funny characters like the one in the screenshot, ‘n0’

image

image

···


Morten

On Tue, May 21, 2013 at 2:37 PM, Fábio Ramos fd-ramos@criticalsoftware.com 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@criticalsoftware.com]

Sent: segunda-feira, 13 de Maio de 2013 18:24
To: ‘Lars Helge Øverland’
Cc: dhis2-users@lists.launchpad.net
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@gmail.com]

Sent: segunda-feira, 13 de Maio de 2013 16:38
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com wrote:

Hi Lars,

The version is 2.11 for both instances.

Thanks,

regards,

Fábio Ramos

From: Lars Helge Øverland [mailto:larshelge@gmail.com]

Sent: quarta-feira, 8 de Maio de 2013 10:19
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com 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);
    
  1.   Import Metadata into second DHIS2 instance (don’t have any configuration, clean installation);
    
  1.   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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Hi, I encountered a similar error when upgrading to 2.11. Reason was duplicate “UID” in the “dataelement” table. Had to update conflicting ‘UID’ of those data elements. I guess the new data entry interfaces read ‘UID’ in the new version. You might find duplicate “UID” in “categorycombination” table !!
Just a wild GUESS.

  • Regards,

Subodha.

image

image

···

On Tue, May 21, 2013 at 1:17 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Can you share the meta-data XML?


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Morten

On Tue, May 21, 2013 at 2:37 PM, Fábio Ramos fd-ramos@criticalsoftware.com 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@criticalsoftware.com]

Sent: segunda-feira, 13 de Maio de 2013 18:24
To: ‘Lars Helge Øverland’
Cc: dhis2-users@lists.launchpad.net
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@gmail.com]

Sent: segunda-feira, 13 de Maio de 2013 16:38
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com wrote:

Hi Lars,

The version is 2.11 for both instances.

Thanks,

regards,

Fábio Ramos

From: Lars Helge Øverland [mailto:larshelge@gmail.com]

Sent: quarta-feira, 8 de Maio de 2013 10:19
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com 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);
    
  1.   Import Metadata into second DHIS2 instance (don’t have any configuration, clean installation);
    
  1.   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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Hi,

The metadata that I try to import are attached at annex metaData.xml.zip.

Yes, there are some names like ‘<validationRule name="max …’,

but, in second image the problem is in the “”.

In this case, may the “funny characters”, the cause of my problem?

Cumprimentos,

Fábio Ramos

metaData.xml.zip (75.2 KB)

···

From: Knut Staring [mailto:knutst@gmail.com]
Sent: terça-feira, 21 de Maio de 2013 10:12
To: Morten Olav Hansen
Cc: Fábio Ramos; dhis2-users@lists.launchpad.net
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@gmail.com følgende:

Can you share the meta-data XML?


Morten

On Tue, May 21, 2013 at 2:37 PM, Fábio Ramos fd-ramos@criticalsoftware.com 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@criticalsoftware.com]
Sent: segunda-feira, 13 de Maio de 2013 18:24
To: ‘Lars Helge Øverland’
Cc: dhis2-users@lists.launchpad.net
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@gmail.com]
Sent: segunda-feira, 13 de Maio de 2013 16:38
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com wrote:

Hi Lars,

The version is 2.11 for both instances.

Thanks,

regards,

Fábio Ramos

From: Lars Helge Øverland [mailto:larshelge@gmail.com]
Sent: quarta-feira, 8 de Maio de 2013 10:19
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

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@criticalsoftware.com> 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@gmail.com]
Sent: terça-feira, 21 de Maio de 2013 10:12
To: Morten Olav Hansen
Cc: Fábio Ramos; dhis2-users@lists.launchpad.net
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@gmail.com>
følgende:

Can you share the meta-data XML?

--
Morten

On Tue, May 21, 2013 at 2:37 PM, Fábio Ramos <fd-ramos@criticalsoftware.com> > 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@criticalsoftware.com]
Sent: segunda-feira, 13 de Maio de 2013 18:24
To: 'Lars Helge Øverland'
Cc: dhis2-users@lists.launchpad.net
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@gmail.com]
Sent: segunda-feira, 13 de Maio de 2013 16:38
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com> > wrote:

Hi Lars,

The version is 2.11 for both instances.

Thanks,

regards,

Fábio Ramos

From: Lars Helge Øverland [mailto:larshelge@gmail.com]
Sent: quarta-feira, 8 de Maio de 2013 10:19
To: Fábio Ramos
Cc: dhis2-users@lists.launchpad.net
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@criticalsoftware.com> > 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: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

_______________________________________________
Mailing list: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

_______________________________________________
Mailing list: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

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

We were experienced similar problem.

regards

Hannan

···

On Wed, May 22, 2013 at 7:15 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

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@criticalsoftware.com 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@gmail.com]

Sent: terça-feira, 21 de Maio de 2013 10:12

To: Morten Olav Hansen

Cc: Fábio Ramos; dhis2-users@lists.launchpad.net

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@gmail.com

følgende:

Can you share the meta-data XML?

Morten

On Tue, May 21, 2013 at 2:37 PM, Fábio Ramos fd-ramos@criticalsoftware.com

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@criticalsoftware.com]

Sent: segunda-feira, 13 de Maio de 2013 18:24

To: ‘Lars Helge Øverland’

Cc: dhis2-users@lists.launchpad.net

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@gmail.com]

Sent: segunda-feira, 13 de Maio de 2013 16:38

To: Fábio Ramos

Cc: dhis2-users@lists.launchpad.net

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@criticalsoftware.com

wrote:

Hi Lars,

The version is 2.11 for both instances.

Thanks,

regards,

Fábio Ramos

From: Lars Helge Øverland [mailto:larshelge@gmail.com]

Sent: quarta-feira, 8 de Maio de 2013 10:19

To: Fábio Ramos

Cc: dhis2-users@lists.launchpad.net

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@criticalsoftware.com

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);

  1.   Import Metadata into second DHIS2 instance (don’t have any
    

configuration, clean installation);

  1.   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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering

email: jason.p.pickering@gmail.com

tel:+260974901293


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp