← Back to team overview

dhis2-devs team mailing list archive

Re: DHIS2 - Issues with 2.22

 

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
------------
java.lang.NullPointerException
at
org.hisp.dhis.dataelement.comparator.DataElementCategoryComboSizeComparator.compare(DataElementCategoryComboSizeComparator.java:45)
at
org.hisp.dhis.dataelement.comparator.DataElementCategoryComboSizeComparator.compare(DataElementCategoryComboSizeComparator.java:39)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
at java.util.TimSort.sort(TimSort.java:220)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1454)
at java.util.Collections.sort(Collections.java:175)
at
org.hisp.dhis.dataelement.DefaultDataElementService.getDataElementCategoryCombos(DefaultDataElementService.java:279)
-----------------

I have attached a screenshot of the exception below.
[image: Inline image 1]
*Issue 4:*
I checked this on the demo instance today and I am facing the same issue. I
did clear cache and the user is still able to modify the view-only
dashboard.

*Issue 5:*
Yes when importing though /api/metadata with sharing enabled is not having
any issues.

Thanks
Aamer.



On Fri, Feb 5, 2016 at 9:39 AM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
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.
>>
>
>

PNG image


References