← Back to team overview

dhis2-devs team mailing list archive

Re: Translations and Sharing Settings not syncing

 

Hi Morten/Lars,

Any updates on this?

Archana Chillala
Application Developer
Email archanac@xxxxxxxxxxxxxxxx
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

On Tue, Nov 8, 2016 at 5:30 PM, Archana Chillala <archanac@xxxxxxxxxxxxxxxx>
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.
>
>
> 2) *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@xxxxxxxxxxxxxxxx
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>
> On Mon, Nov 7, 2016 at 1:46 PM, Lars Helge Øverland <lars@xxxxxxxxx>
> 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@xxxxxxxxx> wrote:
>>
>>> *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@xxxxxxxxxxxxxxxx
>>>> Telephone +91 9100960533 <+91+9100960533>
>>>> [image: ThoughtWorks]
>>>> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>

References