Issue while importing .gml file : No matching object for given reference. Identifier was UID, and object was X

Hi all,

I’m trying to import a gml file and I don’t get what I’m doing wrong.

Working on DHIS 2.29, version 7a597d0.

The aim is to add the boundaries of an Indian district called Fatehpur.

I precise that there’s only one “Fatehpur” org unit in the whole db and that isn’t neither a spelling problem.

I’ve also tried to remove any “unnecessary” line from the gml file and it didn’t change nothing.

Here’s the import summary (and the gml file is enclosed):

Import summary

Import count

Filename IND_UP_Fa(1).gml

0 Created

0 Updated

1 Ignored

Import Type Report

Type
Created
Updated
Ignored
OrganisationUnit
0
0
1

Conflicts

Main Type
Error Type
Description
OrganisationUnit
${errorReport.errorKlass.simpleName}
No matching object for given reference. Identifier was UID, and object was Fatehpur [NmlTytLTAWs] (OrganisationUnit).

Thanks in advance,

Thomas Warichet
www.bluesquarehub.com

IND_UP_Fa(1).gml (16.1 KB)

Hi Thomas,

I’ll have a look at this.

···

On Mon, 30 Jul 2018 at 11:45, Thomas Warichet twarichet@bluesquarehub.com wrote:

Hi all,

I’m trying to import a gml file and I don’t get what I’m doing wrong.

Working on DHIS 2.29, version 7a597d0.

The aim is to add the boundaries of an Indian district called Fatehpur.

I precise that there’s only one “Fatehpur” org unit in the whole db and that isn’t neither a spelling problem.

I’ve also tried to remove any “unnecessary” line from the gml file and it didn’t change nothing.

Here’s the import summary (and the gml file is enclosed):

Import summary

Import count

Filename IND_UP_Fa(1).gml

0 Created

0 Updated

1 Ignored

Import Type Report

Type
Created
Updated
Ignored
OrganisationUnit
0
0
1

Conflicts

Main Type
Error Type
Description
OrganisationUnit
${errorReport.errorKlass.simpleName}
No matching object for given reference. Identifier was UID, and object was Fatehpur [NmlTytLTAWs] (OrganisationUnit).

Thanks in advance,

Thomas Warichet
www.bluesquarehub.com


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

Hello,

Apparently, even if still unidentified, the problem is coming from the gml file. Those I was using were provided to me by my customer.

I made my own ones and they’re working perfectly fine.

Best regards,

Thomas

···

On Mon, Jul 30, 2018 at 4:19 PM, Muhammad Adeel adeel@dhis2.org wrote:

Hi Thomas,

I’ll have a look at this.

On Mon, 30 Jul 2018 at 11:45, Thomas Warichet twarichet@bluesquarehub.com wrote:

Hi all,

I’m trying to import a gml file and I don’t get what I’m doing wrong.

Working on DHIS 2.29, version 7a597d0.

The aim is to add the boundaries of an Indian district called Fatehpur.

I precise that there’s only one “Fatehpur” org unit in the whole db and that isn’t neither a spelling problem.

I’ve also tried to remove any “unnecessary” line from the gml file and it didn’t change nothing.

Here’s the import summary (and the gml file is enclosed):

Import summary

Import count

Filename IND_UP_Fa(1).gml

0 Created

0 Updated

1 Ignored

Import Type Report

Type
Created
Updated
Ignored
OrganisationUnit
0
0
1

Conflicts

Main Type
Error Type
Description
OrganisationUnit
${errorReport.errorKlass.simpleName}
No matching object for given reference. Identifier was UID, and object was Fatehpur [NmlTytLTAWs] (OrganisationUnit).

Thanks in advance,

Thomas Warichet
www.bluesquarehub.com


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


Thomas Warichet

www.bluesquarehub.com

Thomas,

Can you send us the good GML file for comparison.

···

Thomas Warichet

www.bluesquarehub.com

On Mon, Jul 30, 2018 at 4:19 PM, Muhammad Adeel adeel@dhis2.org wrote:

Hi Thomas,

I’ll have a look at this.

On Mon, 30 Jul 2018 at 11:45, Thomas Warichet twarichet@bluesquarehub.com wrote:

Hi all,

I’m trying to import a gml file and I don’t get what I’m doing wrong.

Working on DHIS 2.29, version 7a597d0.

The aim is to add the boundaries of an Indian district called Fatehpur.

I precise that there’s only one “Fatehpur” org unit in the whole db and that isn’t neither a spelling problem.

I’ve also tried to remove any “unnecessary” line from the gml file and it didn’t change nothing.

Here’s the import summary (and the gml file is enclosed):

Import summary

Import count

Filename IND_UP_Fa(1).gml

0 Created

0 Updated

1 Ignored

Import Type Report

Type
Created
Updated
Ignored
OrganisationUnit
0
0
1

Conflicts

Main Type
Error Type
Description
OrganisationUnit
${errorReport.errorKlass.simpleName}
No matching object for given reference. Identifier was UID, and object was Fatehpur [NmlTytLTAWs] (OrganisationUnit).

Thanks in advance,

Thomas Warichet
www.bluesquarehub.com


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

Here it is :slight_smile:

Fatehpur.gml (15.5 KB)

···

On Tue, Jul 31, 2018 at 1:59 PM, Muhammad Adeel adeel@dhis2.org wrote:

Thomas,

Can you send us the good GML file for comparison.

On Tue, 31 Jul 2018 at 14:57, Thomas Warichet twarichet@bluesquarehub.com wrote:

Hello,

Apparently, even if still unidentified, the problem is coming from the gml file. Those I was using were provided to me by my customer.

I made my own ones and they’re working perfectly fine.

Best regards,

Thomas


Thomas Warichet

www.bluesquarehub.com

Thomas Warichet

www.bluesquarehub.com

On Mon, Jul 30, 2018 at 4:19 PM, Muhammad Adeel adeel@dhis2.org wrote:

Hi Thomas,

I’ll have a look at this.

On Mon, 30 Jul 2018 at 11:45, Thomas Warichet twarichet@bluesquarehub.com wrote:

Hi all,

I’m trying to import a gml file and I don’t get what I’m doing wrong.

Working on DHIS 2.29, version 7a597d0.

The aim is to add the boundaries of an Indian district called Fatehpur.

I precise that there’s only one “Fatehpur” org unit in the whole db and that isn’t neither a spelling problem.

I’ve also tried to remove any “unnecessary” line from the gml file and it didn’t change nothing.

Here’s the import summary (and the gml file is enclosed):

Import summary

Import count

Filename IND_UP_Fa(1).gml

0 Created

0 Updated

1 Ignored

Import Type Report

Type
Created
Updated
Ignored
OrganisationUnit
0
0
1

Conflicts

Main Type
Error Type
Description
OrganisationUnit
${errorReport.errorKlass.simpleName}
No matching object for given reference. Identifier was UID, and object was Fatehpur [NmlTytLTAWs] (OrganisationUnit).

Thanks in advance,

Thomas Warichet
www.bluesquarehub.com


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

Old GML endpoint was removed from the backend I am consulting now with our backend guys to get the correct endpoint for GML imports after which I should be able to push the fix.

···

On Tue, Jul 31, 2018 at 3:01 PM, Thomas Warichet twarichet@bluesquarehub.com wrote:

Here it is :slight_smile:


Thomas Warichet

www.bluesquarehub.com

On Tue, Jul 31, 2018 at 1:59 PM, Muhammad Adeel adeel@dhis2.org wrote:

Thomas,

Can you send us the good GML file for comparison.

On Tue, 31 Jul 2018 at 14:57, Thomas Warichet twarichet@bluesquarehub.com wrote:

Hello,

Apparently, even if still unidentified, the problem is coming from the gml file. Those I was using were provided to me by my customer.

I made my own ones and they’re working perfectly fine.

Best regards,

Thomas

Thomas Warichet

www.bluesquarehub.com

On Mon, Jul 30, 2018 at 4:19 PM, Muhammad Adeel adeel@dhis2.org wrote:

Hi Thomas,

I’ll have a look at this.

On Mon, 30 Jul 2018 at 11:45, Thomas Warichet twarichet@bluesquarehub.com wrote:

Hi all,

I’m trying to import a gml file and I don’t get what I’m doing wrong.

Working on DHIS 2.29, version 7a597d0.

The aim is to add the boundaries of an Indian district called Fatehpur.

I precise that there’s only one “Fatehpur” org unit in the whole db and that isn’t neither a spelling problem.

I’ve also tried to remove any “unnecessary” line from the gml file and it didn’t change nothing.

Here’s the import summary (and the gml file is enclosed):

Import summary

Import count

Filename IND_UP_Fa(1).gml

0 Created

0 Updated

1 Ignored

Import Type Report

Type
Created
Updated
Ignored
OrganisationUnit
0
0
1

Conflicts

Main Type
Error Type
Description
OrganisationUnit
${errorReport.errorKlass.simpleName}
No matching object for given reference. Identifier was UID, and object was Fatehpur [NmlTytLTAWs] (OrganisationUnit).

Thanks in advance,

Thomas Warichet
www.bluesquarehub.com


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 Thomas,

Viet has added a GML import endpoint to the latest build and we are testing it out. After which we will backport the backend api.

There is additional classKey support for GML CSV file format which is added as well.

Regards,

Adeel

···

On Tue, Jul 31, 2018 at 2:01 PM, Thomas Warichet twarichet@bluesquarehub.com wrote:

Here it is :slight_smile:


Thomas Warichet

www.bluesquarehub.com

On Tue, Jul 31, 2018 at 1:59 PM, Muhammad Adeel adeel@dhis2.org wrote:

Thomas,

Can you send us the good GML file for comparison.

On Tue, 31 Jul 2018 at 14:57, Thomas Warichet twarichet@bluesquarehub.com wrote:

Hello,

Apparently, even if still unidentified, the problem is coming from the gml file. Those I was using were provided to me by my customer.

I made my own ones and they’re working perfectly fine.

Best regards,

Thomas

Thomas Warichet

www.bluesquarehub.com

On Mon, Jul 30, 2018 at 4:19 PM, Muhammad Adeel adeel@dhis2.org wrote:

Hi Thomas,

I’ll have a look at this.

On Mon, 30 Jul 2018 at 11:45, Thomas Warichet twarichet@bluesquarehub.com wrote:

Hi all,

I’m trying to import a gml file and I don’t get what I’m doing wrong.

Working on DHIS 2.29, version 7a597d0.

The aim is to add the boundaries of an Indian district called Fatehpur.

I precise that there’s only one “Fatehpur” org unit in the whole db and that isn’t neither a spelling problem.

I’ve also tried to remove any “unnecessary” line from the gml file and it didn’t change nothing.

Here’s the import summary (and the gml file is enclosed):

Import summary

Import count

Filename IND_UP_Fa(1).gml

0 Created

0 Updated

1 Ignored

Import Type Report

Type
Created
Updated
Ignored
OrganisationUnit
0
0
1

Conflicts

Main Type
Error Type
Description
OrganisationUnit
${errorReport.errorKlass.simpleName}
No matching object for given reference. Identifier was UID, and object was Fatehpur [NmlTytLTAWs] (OrganisationUnit).

Thanks in advance,

Thomas Warichet
www.bluesquarehub.com


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