Public Sharing Settings for New Data Elements

Hi everyone,

I have noticed in 2.24/2.25 if I make a new data element through the user interface it does not have any initial public sharing settings

If I check the API, I also don’t see the tag for public access:

If I try and edit the sharing settings through the UI and save it at first it appears OK:

But then if I check the API, still no tag. If I search for the DE again in maintenance, the description from the UI is gone again:

Only if I add in some user groups to share the data element with will it add in the public access tag depending on the options I have selected.

I was able to replicate this in the play.dhis2.org/demo as well.

The reason I ask this is because I also seem to be having trouble updating the public sharing settings for DE’s when importing data elements, but I can add in read/write for user groups with no problems during the same import (this is true for both DEs made via UI or import). I’m not sure if these two are linked, or I am simply missing something else.

Thanks,

Nick

Hi Nick

I can confirm this is a bug, looking into it (not sure I can get a fix ready for today)

···

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Tue, Dec 13, 2016 at 5:24 PM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Hi everyone,

I have noticed in 2.24/2.25 if I make a new data element through the user interface it does not have any initial public sharing settings

If I check the API, I also don’t see the tag for public access:

If I try and edit the sharing settings through the UI and save it at first it appears OK:

But then if I check the API, still no tag. If I search for the DE again in maintenance, the description from the UI is gone again:

Only if I add in some user groups to share the data element with will it add in the public access tag depending on the options I have selected.

I was able to replicate this in the play.dhis2.org/demo as well.

The reason I ask this is because I also seem to be having trouble updating the public sharing settings for DE’s when importing data elements, but I can add in read/write for user groups with no problems during the same import (this is true for both DEs made via UI or import). I’m not sure if these two are linked, or I am simply missing something else.

Thanks,

Nick


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp