← Back to team overview

dhis2-users team mailing list archive

Re: Problem with dataset assignment

 

Thanks, I actually had tried that with no effect - but by sheer
coincindence, I discovered what was the matter today:

I was going to change the icon for an OU group, and noticed that the forms
I wanted to get rid of had been assigned to several OU groups (one of which
contained most of the OUs in the system). So this functionality is
independent of and overriding the dataset assignment - and the result can
be very confusing (I spent at least a day trying to fix this issue in the
db via other means).

Glad to have finally resolved the issue - but also have a similar issue
with sharing: Everything (e.g. maps and PT favorites) are accessible to
everyone even though I try to restrict to certain user groups.

Knut

On Friday, July 25, 2014, Lars Helge Øverland <larshelge@xxxxxxxxx> wrote:

> That is hard to say, try deleting the contents from datasetsource and try
> again.
>
> Lars
>
>
>
> On Fri, Jul 25, 2014 at 2:41 AM, Knut Staring <knutst@xxxxxxxxx
> <javascript:_e(%7B%7D,'cvml','knutst@xxxxxxxxx');>> wrote:
>
>> Right, but would you have any idea what causes my problem with dataset
>> assignment and how to fix it?
>>  On Jul 25, 2014 2:16 AM, "Lars Helge Øverland" <larshelge@xxxxxxxxx
>> <javascript:_e(%7B%7D,'cvml','larshelge@xxxxxxxxx');>> wrote:
>>
>>>
>>>
>>>
>>> On Thu, Jul 24, 2014 at 7:53 PM, Knut Staring <knutst@xxxxxxxxx
>>> <javascript:_e(%7B%7D,'cvml','knutst@xxxxxxxxx');>> wrote:
>>>
>>>> One method to do this is to export the datasets to XML, delete them,
>>>> and then reimport.
>>>>
>>>> This worked well for 3 of my forms, but when trying to Remove the last
>>>> form, I got the message below, which I found surprising, since I didn't
>>>> think there were any associations between MapViews and Datasets?
>>>>
>>>> Object not deleted because it is associated by objects of type MapView
>>>>
>>>
>>> You can render reporting rates for data sets in GIS, hence the MapView >
>>> DataSet association.
>>>
>>> Lars
>>>
>>>
>>>
>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Jul 24, 2014 at 7:07 PM, Knut Staring <knutst@xxxxxxxxx
>>>> <javascript:_e(%7B%7D,'cvml','knutst@xxxxxxxxx');>> wrote:
>>>>
>>>>> In my 2.15 db my existing forms show up in data entry for all OUs even
>>>>> though I've tried to restrict them to just level 4 (they had previously
>>>>> been assigned to all OUs by mistake). The restriction/assignment works for
>>>>> new datasets, but not for the existing ones.
>>>>>
>>>>> How can make sure the exisiting forms only show up for the OUs in the
>>>>> datasetsource table?
>>>>>
>>>>> --
>>>>> Knut Staring
>>>>> Dept. of Informatics, University of Oslo
>>>>>  +4791880522
>>>>> http://dhis2.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Knut Staring
>>>> Dept. of Informatics, University of Oslo
>>>> +4791880522
>>>> http://dhis2.org
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> <javascript:_e(%7B%7D,'cvml','dhis2-users@xxxxxxxxxxxxxxxxxxx');>
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>

-- 
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org

Follow ups

References