DHIS2 - Issues with 2.22

Hi

I am using two instances of DHIS on 2.22 version and facing the below issues currently.

Issue 1:

Unable to sync data between the two instances. I have setup the synchronization as per http://dhis2.github.io/dhis2-docs/2.21/en/user/html/ch22s16.html

and trying to save the data. I have cleared the cache but still no values appear on the other instance. The log says “Server available, authentication successful and sync successful”

Issue 2:

Unable to do metadata import of users. When I try importing metadata without users, the import is successful.

I see this issue is already being tracked through Bug#1538443

Issue 3:

Adding newly created data elements to existing data set is throwing exception.

Issue 4:

When a dashboard is shared with user group giving view-only access, the users of that group are able to edit it as well. The changes are also reflected across all users.

Issue 5:

A dashboard which is shared with a user group in one instance is not visible to that user group after metadata import. It is visible to admin only.

Could you please suggest on these?

Thanks

Aamer.

*Issue 1:*
*Unable to sync data between the two instances.* I have setup the
synchronization as per
http://dhis2.github.io/dhis2-docs/2.21/en/user/html/ch22s16.html
and trying to save the data. I have cleared the cache but still no values
appear on the other instance. The log says "Server available,
authentication successful and sync successful"

Lars?

*Issue 2:*

*Unable to do metadata import of users.* When I try importing metadata
without users, the import is successful.
I see this issue is already being tracked through Bug#1538443

Ok, will try and have a look.. this was working not long ago, so hopefully
its something small

*Issue 3:*

Adding newly created data elements to existing data set is throwing
exception.

Using what? the UI? web api? collection api? can you also share the
exception

*Issue 4:*

When a dashboard is shared with user group giving view-only access, the
users of that group are able to edit it as well. The changes are also
reflected across all users.

Can you verify is this is still the case after clearing your cache (server
cache in admin module)? we did some backports related to this a day ago..
back to 2.20, so it might also be a good idea to update your version

*Issue 5:*

A dashboard which is shared with a user group in one instance is not
visible to that user group after metadata import. It is visible to admin
only.

Yes, default mode is to clear out all sharing info.. you should be able to
say sharing=true when importing through /api/metadata, but I will have a
look

···

--
Morten

Could you please suggest on these?

Thanks
Aamer.

Hi Morten

Issue 3:

In UI, Data elements that are newly created and added to an existing/new data set throw an exception on the data entry screen. If we remove that data newly created data element the data entry form is loaded properly. The log trace is

image

···

On Fri, Feb 5, 2016 at 9:39 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

Issue 1:

Unable to sync data between the two instances. I have setup the synchronization as per http://dhis2.github.io/dhis2-docs/2.21/en/user/html/ch22s16.html

and trying to save the data. I have cleared the cache but still no values appear on the other instance. The log says “Server available, authentication successful and sync successful”

Lars?

Issue 2:

Unable to do metadata import of users. When I try importing metadata without users, the import is successful.

I see this issue is already being tracked through Bug#1538443

Ok, will try and have a look… this was working not long ago, so hopefully its something small

Issue 3:

Adding newly created data elements to existing data set is throwing exception.

Using what? the UI? web api? collection api? can you also share the exception

Issue 4:

When a dashboard is shared with user group giving view-only access, the users of that group are able to edit it as well. The changes are also reflected across all users.

Can you verify is this is still the case after clearing your cache (server cache in admin module)? we did some backports related to this a day ago… back to 2.20, so it might also be a good idea to update your version

Issue 5:

A dashboard which is shared with a user group in one instance is not visible to that user group after metadata import. It is visible to admin only.

Yes, default mode is to clear out all sharing info… you should be able to say sharing=true when importing through /api/metadata, but I will have a look

Morten

Could you please suggest on these?

Thanks

Aamer.

Hi Aamer,

re issue 1. This was a regression bug which has been fixed now in trunk and 2.22.

regards,

Lars

···

On Thu, Feb 4, 2016 at 8:53 AM, Aamer Mohammed aamerm@thoughtworks.com wrote:

Hi

I am using two instances of DHIS on 2.22 version and facing the below issues currently.

Issue 1:

Unable to sync data between the two instances. I have setup the synchronization as per http://dhis2.github.io/dhis2-docs/2.21/en/user/html/ch22s16.html

and trying to save the data. I have cleared the cache but still no values appear on the other instance. The log says “Server available, authentication successful and sync successful”

Issue 2:

Unable to do metadata import of users. When I try importing metadata without users, the import is successful.

I see this issue is already being tracked through Bug#1538443

Issue 3:

Adding newly created data elements to existing data set is throwing exception.

Issue 4:

When a dashboard is shared with user group giving view-only access, the users of that group are able to edit it as well. The changes are also reflected across all users.

Issue 5:

A dashboard which is shared with a user group in one instance is not visible to that user group after metadata import. It is visible to admin only.

Could you please suggest on these?

Thanks

Aamer.


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Hi Aamer

Regarding pt 3, can you get the UID of that data element… and see (either in web-api or through the database) if the categorycombo column is null? it should have been attached to the default category combo… but it seems you have a data element with a category combo set to null

@Lars: would there be any side effects to simply doing a null check in DefaultDataElementService.getDataElementCategoryCombos ? line 274

···


Morten

On Sat, Feb 6, 2016 at 6:22 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Aamer,

re issue 1. This was a regression bug which has been fixed now in trunk and 2.22.

regards,

Lars

On Thu, Feb 4, 2016 at 8:53 AM, Aamer Mohammed aamerm@thoughtworks.com wrote:

Hi

I am using two instances of DHIS on 2.22 version and facing the below issues currently.

Issue 1:

Unable to sync data between the two instances. I have setup the synchronization as per http://dhis2.github.io/dhis2-docs/2.21/en/user/html/ch22s16.html

and trying to save the data. I have cleared the cache but still no values appear on the other instance. The log says “Server available, authentication successful and sync successful”

Issue 2:

Unable to do metadata import of users. When I try importing metadata without users, the import is successful.

I see this issue is already being tracked through Bug#1538443

Issue 3:

Adding newly created data elements to existing data set is throwing exception.

Issue 4:

When a dashboard is shared with user group giving view-only access, the users of that group are able to edit it as well. The changes are also reflected across all users.

Issue 5:

A dashboard which is shared with a user group in one instance is not visible to that user group after metadata import. It is visible to admin only.

Could you please suggest on these?

Thanks

Aamer.


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org