← Back to team overview

dhis2-users team mailing list archive

Re: [DHIS] Program gets unassigned to a user role during metadata export-import

 

Yes, its for both data sets and programs.

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Wed, Mar 23, 2016 at 11:54 AM, Vanya Seth <vanyas@xxxxxxxxxxxxxxxx>
wrote:

> Hi Morten
>
> In case if its not already handled. Same might be the case for DataSets.
> UserRoles have dataset association as well.
>
> Regards
> Vanya
>
> On Wed, Mar 23, 2016 at 9:39 AM, Morten Olav Hansen <morten@xxxxxxxxx>
> wrote:
>
>> Hi again
>>
>> I'm guessing this is related the circular nature of our metadata, we are
>> importing users/userRoles, then program, etc etc.. but userRoles actually
>> need to know about programs to attach them.
>>
>> I will add a postImport hook for this in the new importer. I will have a
>> look at it first thing after easter holiday (back on Tuesday).
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Wed, Mar 23, 2016 at 10:49 AM, Morten Olav Hansen <morten@xxxxxxxxx>
>> wrote:
>>
>>> Hi Archana
>>>
>>> Could you provide me with a bit more information. When you say your are
>>> exporting then importing, are you exporting everything? including users,
>>> user roles etc etc?
>>>
>>> Also, please let us know DHIS version and revision, using legacy
>>> importer or new importer (from 2.23)
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Wed, Mar 23, 2016 at 12:35 AM, Archana Chillala <
>>> archanac@xxxxxxxxxxxxxxxx> wrote:
>>>
>>>> Thank you, Morten.
>>>>
>>>
>>>
>>
>
>
> --
> With Regards
> ThoughtWorks Technologies
> Hyderabad
>
> --Stay Hungry Stay Foolish!!
>

Follow ups

References