← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] Issue in metadata export with dependencies

 

Hi,

minor comment - it is in fact not the name of the _program_ you cannot see
in the edit program stage screen, so it seems the association between
program stages and program are not being properly imported.

Lars


On Fri, Nov 18, 2016 at 10:56 AM, Morten Olav Hansen <morten@xxxxxxxxx>
wrote:

> Hi Marc
>
> Which version of DHIS 2 is this? 2.24 or 2.25? could you also update to
> latest version of that release, since there have been quite a few updates
> to the importer in the last weeks.
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Nov 18, 2016 at 4:04 PM, Marc Garnica <marcgarnica13@xxxxxxxxx>
> wrote:
>
>> Hi all,
>>
>> We are experiencing some problems importing some metadata from one
>> instance to another using the metadata export with dependencies.
>>
>> We export all the metadata linked to one of our programs and try to
>> import it to the target instance.
>>
>> First of all we realized that in the export file generated the program
>> indicators are not included, which is not a blocking issue but we think it
>> will be also useful to point it out too.
>>
>> Then the import was successful at the target instance but when trying to
>> edit the program stages of this new program we found two issues : (probably
>> coming from the same error?)
>>
>> - At the programStage edit view we cannot see the name of the program
>> stage. The system just printed *$encoder.htmlEncode($programStage.program.displayName).
>> *See attached snapshot.
>>
>> - When we click at the update button nothing happens in the instance and
>> if we click at the Cancel button an exception occurs in the browser and at
>> logs files indicates a NullPointerException.
>>
>>
>> Can you guys take a look at this issues. If we are doing something wrong,
>> missing some steps or whatever. This features will be so useful for us in
>> order to propagate our metadata to other new/existing DHIS2 instances.
>>
>> Thank you very much in advance!
>>
>> Marc Garnica
>>
>> *World Health Organization*
>> *Neglected Tropical Diseases department*
>>
>>
>> *[image: Imatge inserida 2]*
>>
>> _______________________________________________
>> 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-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx
http://www.dhis2.org <https://www.dhis2.org/>

PNG image


References