Translations and Sharing Settings not syncing

Hi,

We are using the latest version of DHIS 2.25 (build - 5e16867). We have a couple of issues with version 2.25 - sync of metadata.

1) Translations are not getting synced.

In previous versions, translations used to sync. But, looks like that's not the case with 2.25. It affects all metadata objects that are translatable.

2) Sharing settings are not getting synced unless some change is made to the object’s properties.

If we have sharing settings configured for a metadata object, while creating the object or modifying some property of that object, they get synced properly. But, if a change is made only to the sharing settings of that object (and nothing else), and try to sync, they do not get synced. This issue has been raised with 2.22 as well. Looks like it still exists.

Could you please look into these issues and help fix them.

Cheers,

···

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

*1) Translations* are not getting synced.
    In previous versions, translations used to sync. But, looks like
that's not the case with 2.25. It affects all metadata objects that are
translatable.

I assume this is the same in 2.24? have you verified that the translations
are actually working, there have been some reports of issues with the
update process

*2)* *Sharing settings* are not getting synced unless some change is made

to the object’s properties.
    If we have sharing settings configured for a metadata object, while
creating the object or modifying some property of that object, they get
synced properly. But, if a change is made only to the sharing settings of
that object (and nothing else), and try to sync, they do not get synced.
This issue has been raised with 2.22 as well. Looks like it still exists.

I assume you mean if you only update the user group? if you update public
access it still syncs? Are you doing the updates through the maintenance
app?

···

--
Morten

Could you please look into these issues and help fix them.

*Cheers,*

Archana Chillala
Application Developer
Email archanac@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<Thoughtworks: A leading technology consultancy | Thoughtworks;

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

Hi Archana,

what exactly do you mean with “synced” ?

Could this be caused by the lastUpdated property of the main object not being updated when translations are updated, and hence your metadata sync not being aware of the change?

···

On Nov 7, 2016 2:35 AM, “Morten Olav Hansen” morten@dhis2.org wrote:


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

1) Translations are not getting synced.

In previous versions, translations used to sync. But, looks like that's not the case with 2.25. It affects all metadata objects that are translatable.

I assume this is the same in 2.24? have you verified that the translations are actually working, there have been some reports of issues with the update process

2) Sharing settings are not getting synced unless some change is made to the object’s properties.

If we have sharing settings configured for a metadata object, while creating the object or modifying some property of that object, they get synced properly. But, if a change is made only to the sharing settings of that object (and nothing else), and try to sync, they do not get synced. This issue has been raised with 2.22 as well. Looks like it still exists.

I assume you mean if you only update the user group? if you update public access it still syncs? Are you doing the updates through the maintenance app?

Morten

Could you please look into these issues and help fix them.

Cheers,

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks


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

Hi Morten/Lars,

  1. Translations:
    Within a DHIS instance, the translations are working. i.e. If you have translations for metadata objects in a particular locale and when the user switches to that locale, the translations provided show up in the UI.

However, the issue is, these translations are not getting exported. We get an empty payload from the instance it is exported.
Not sure about 2.24, but in 2.23 translations were syncing.

By “sync”, I meant, being able to export and import into another DHIS instance.

  1. Sharing Settings:

**** We are doing the updates through the maintenance app. It affects both when updating user groups or public access. Again, these changes are not getting exported. We get an empty payload as data when exported. However, we modify some core property of the object (say, the short name or code of a data element, and also update the sharing settings), then these changes are getting exported and then imported into another instance.

Please find the screenshots attached.

At HQ instance, the public access of a data element has been changed to “Can View”. However, when exported and imported, these changes are not reflected. So, At Local instance, the public access is still “Can Edit” as set by default.

Cheers,

image

image

···

On Mon, Nov 7, 2016 at 1:46 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Archana,

what exactly do you mean with “synced” ?

Could this be caused by the lastUpdated property of the main object not being updated when translations are updated, and hence your metadata sync not being aware of the change?

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

On Nov 7, 2016 2:35 AM, “Morten Olav Hansen” morten@dhis2.org wrote:


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

1) Translations are not getting synced.

In previous versions, translations used to sync. But, looks like that's not the case with 2.25. It affects all metadata objects that are translatable.

I assume this is the same in 2.24? have you verified that the translations are actually working, there have been some reports of issues with the update process

2) Sharing settings are not getting synced unless some change is made to the object’s properties.

If we have sharing settings configured for a metadata object, while creating the object or modifying some property of that object, they get synced properly. But, if a change is made only to the sharing settings of that object (and nothing else), and try to sync, they do not get synced. This issue has been raised with 2.22 as well. Looks like it still exists.

I assume you mean if you only update the user group? if you update public access it still syncs? Are you doing the updates through the maintenance app?

Morten

Could you please look into these issues and help fix them.

Cheers,

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks


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

Hi Morten/Lars,

Any updates on this?

···

On Tue, Nov 8, 2016 at 5:30 PM, Archana Chillala archanac@thoughtworks.com wrote:

Hi Morten/Lars,

  1. Translations:
    Within a DHIS instance, the translations are working. i.e. If you have translations for metadata objects in a particular locale and when the user switches to that locale, the translations provided show up in the UI.

However, the issue is, these translations are not getting exported. We get an empty payload from the instance it is exported.
Not sure about 2.24, but in 2.23 translations were syncing.

By “sync”, I meant, being able to export and import into another DHIS instance.

  1. Sharing Settings:

**** We are doing the updates through the maintenance app. It affects both when updating user groups or public access. Again, these changes are not getting exported. We get an empty payload as data when exported. However, we modify some core property of the object (say, the short name or code of a data element, and also update the sharing settings), then these changes are getting exported and then imported into another instance.

Please find the screenshots attached.

At HQ instance, the public access of a data element has been changed to “Can View”. However, when exported and imported, these changes are not reflected. So, At Local instance, the public access is still “Can Edit” as set by default.

Cheers,

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks

On Mon, Nov 7, 2016 at 1:46 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Archana,

what exactly do you mean with “synced” ?

Could this be caused by the lastUpdated property of the main object not being updated when translations are updated, and hence your metadata sync not being aware of the change?

On Nov 7, 2016 2:35 AM, “Morten Olav Hansen” morten@dhis2.org wrote:


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

1) Translations are not getting synced.

In previous versions, translations used to sync. But, looks like that's not the case with 2.25. It affects all metadata objects that are translatable.

I assume this is the same in 2.24? have you verified that the translations are actually working, there have been some reports of issues with the update process

2) Sharing settings are not getting synced unless some change is made to the object’s properties.

If we have sharing settings configured for a metadata object, while creating the object or modifying some property of that object, they get synced properly. But, if a change is made only to the sharing settings of that object (and nothing else), and try to sync, they do not get synced. This issue has been raised with 2.22 as well. Looks like it still exists.

I assume you mean if you only update the user group? if you update public access it still syncs? Are you doing the updates through the maintenance app?

Morten

Could you please look into these issues and help fix them.

Cheers,

Archana Chillala
Application Developer
Email
archanac@thoughtworks.com
Telephone
+91 9100960533
ThoughtWorks


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