← Back to team overview

dhis2-devs team mailing list archive

Re: Bug with "Yes Only" in Analytics

 

Hi Tim,

this has been fixed in 2.20 now.

regards,

Lars


On Sat, Sep 26, 2015 at 10:51 PM, Timothy Harding <tharding@xxxxxxxxxxxxxx>
wrote:

> Hello Devs!
>
> We just upgraded quite a few servers to 2.20 and I noticed that we are
> getting a lot of this while using the pivot tables:
> [image: Inline image 1]
>
> I've found that it is related to the "yes only" fields which worked well
> in 2.18. A tick or "yes" basically meant a 1 and nothing meant a blank. It
> was very useful for counting yes's. It would be great to get this
> functionality back. FWIW, Yes/No still works as expected:
>
> [image: Inline image 2]
> ^This is a pivot table made in 2.20 using a yes/no variable, 0s are no, 1s
> are yeses.
>
> I could only find one other mention in launchpad of this specific error
> and it appears to only be the commit to add the language to the error
> dialog box, so probably not very helpful.
>
> if ( !nonAggDataElements.isEmpty() )
>          {
>              violation = "Data elements must be of a type that allows aggregation: " + getUids( nonAggDataElements );
>          }
> https://lists.launchpad.net/dhis2-devs/msg39264.html
>
> Other Info:
> Running version 2.20
> Build revision:
>     19903
> Build date:
>     2015-09-25 19:57
> User agent:
>     Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101
> Firefox/38.0
>
> Thanks! Let me know if there is any other info that would be helpful.
>
>
> *Timothy Harding*
> Sr. Systems Analyst, BAO Systems
> +1 202-536-1541 | tharding@xxxxxxxxxxxxxx | http://www.baosystems.com | Skype:
> hardingt@xxxxxxxxx | 2900 K Street, Suite 404, Washington D.C. 20007ion in
>
> _______________________________________________
> 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
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org <https://www.dhis2.org>

PNG image

PNG image

PNG image


Follow ups

References