dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #45342
Re: Issue with import using the /api/24/metadata (trunk)
I don't have any databases like that Vanya, what I do for our testing is to
create one new database for each case, then export to json, and put in
dhis-service-dxf2 testing directory (you can have a look there).
I don't have one big database for testing sadly, there might be someone
else who has it though?
--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org
On Thu, Jun 9, 2016 at 6:12 PM, Vanya Seth <vanyas@xxxxxxxxxxxxxxxx> wrote:
> Hi Morten
>
> Thanks for the response. But would it be possible to share some other DB
> that DHIS uses for testing?
>
> Regards
> Vanya
>
> On Thu, Jun 9, 2016 at 4:38 PM, Morten Olav Hansen <morten@xxxxxxxxx>
> wrote:
>
>> Hi Vanya
>>
>> Yes, the SL demo database has a bunch of issues.. I wouldn't use that as
>> an import/export example.. ;) This database is getting quite old, and has
>> been for us for a long time.. so it has issues with invalid lng/lat, too
>> short publicAccess fields, etc etc... it needs quite some work to be 100%
>> import compatible (a lot of stuff is now being validated on import, which
>> does not have
>> constraints in the database)
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Thu, Jun 9, 2016 at 6:03 PM, Vanya Seth <vanyas@xxxxxxxxxxxxxxxx>
>> wrote:
>>
>>> Hi Devs
>>>
>>> We have been trying to do an export from the demo instance and import it
>>> using the API itself.
>>> On a clean DB it fails to import all the items.
>>>
>>> Attached is the log file for the same.
>>>
>>>
>>> --
>>> With Regards
>>> ThoughtWorks Technologies
>>> Hyderabad
>>>
>>> --Stay Hungry Stay Foolish!!
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>
References