← Back to team overview

dhis2-users team mailing list archive

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

 

Here it is :)

[image: BLUESQUARE NEW FINAL VECT-01.png]

Thomas Warichet

www.bluesquarehub.com

[image: twitter.png] <https://twitter.com/blsqhub> [image: facebook.png]
<https://www.facebook.com/blsqhub/> [image: linkedin.png]
<https://www.linkedin.com/company/bluesquarehub>

On Tue, Jul 31, 2018 at 1:59 PM, Muhammad Adeel <adeel@xxxxxxxxx> wrote:

> Thomas,
>
> Can you send us the good GML file for comparison.
>
> On Tue, 31 Jul 2018 at 14:57, Thomas Warichet <twarichet@xxxxxxxxxxxxxxxxx>
> 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
>>
>> [image: BLUESQUARE NEW FINAL VECT-01.png]
>>
>> Thomas Warichet
>>
>> www.bluesquarehub.com
>>
>> [image: twitter.png] <https://twitter.com/blsqhub> [image: facebook.png]
>> <https://www.facebook.com/blsqhub/> [image: linkedin.png]
>> <https://www.linkedin.com/company/bluesquarehub>
>>
>> On Mon, Jul 30, 2018 at 4:19 PM, Muhammad Adeel <adeel@xxxxxxxxx> wrote:
>>
>>> Hi Thomas,
>>>
>>> I’ll have a look at this.
>>>
>>> On Mon, 30 Jul 2018 at 11:45, Thomas Warichet <
>>> twarichet@xxxxxxxxxxxxxxxxx> 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
>>>>
>>>> [image: twitter.png] <https://twitter.com/blsqhub> [image:
>>>> facebook.png] <https://www.facebook.com/blsqhub/> [image: linkedin.png]
>>>> <https://www.linkedin.com/company/bluesquarehub>
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>

Attachment: Fatehpur.gml
Description: Binary data


Follow ups

References