← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1184648] [NEW] Aggregation query builder, filter by DataSet throws an exception error

 

On 27 May 2013 23:40, Rodolfo Melia <rmelia@xxxxxxxxxxxx> wrote:

> When you add a new Aggregation, you can select any Data Set for
> aggregation, so if you were to add the filtered drop-down to the 'listing'
> page, you can still add an aggregation to any data set. When you
> are reviewing your aggregations, you only care about the ones that you
> have...
>
>
OK, I thought you meant inside the add/edit query window.

Agree with you that the "Filter by data set"  list of data sets on:
http://apps.dhis2.org/dev/dhis-web-maintenance-patient/caseAggregation.action

- should only list datasets that have data elements that have queries.

If you want to add a new query for a data set that doesn't have any
queries, leave the data set list to ALL and click Add New.
Then inside the Add Query window, the data set list will show all datasets
(as today).

This is what you meant?

Ola
-------




>
> On Mon, May 27, 2013 at 9:27 PM, Ola Hodne Titlestad <olati@xxxxxxxxxx>wrote:
>
>>
>> On 27 May 2013 17:38, Rodolfo Melia <rmelia@xxxxxxxxxxxx> wrote:
>>
>>> Public bug reported:
>>>
>>> I was able to reproduce this at http://apps.dhis2.org/demo (2.11). It
>>> works no problem in 2.12.
>>>
>>> When going to the 'Aggregation Query Builder', the page loads. When you
>>> select from the 'data set filter', you get an error.
>>>
>>> Hi Rodolfo,
>>
>> Thanks for reporting.
>>
>>
>>> I will also like to suggest 2 minor updates to this page:
>>> - List the Data Sets in alphabetic order, like everywhere else in the
>>> system
>>>
>> Agree.
>>
>> - Only list data sets that have aggregations active - many data sets will
>>> never have aggregation.
>>>
>>> What do you mean by "have aggregations active"? All data sets and their
>> aggregated data elements can potentially be generated/populated by an
>> aggregation query right? If you mean to only list data sets which already
>> have aggregation queries, how will you select a data set when you are going
>> to add the first query?
>>
>> There is a property in data set called "Skip aggregation", but that
>> refers to further aggregation over time and place through the datamart and
>> not to person aggregation.
>>
>>  Ola
>> ----
>>
>>
>>
>>> ** Affects: dhis2
>>>      Importance: Undecided
>>>          Status: New
>>>
>>> ** Attachment added: "Screen Shot 2013-05-27 at 16.23.33.png"
>>>
>>> https://bugs.launchpad.net/bugs/1184648/+attachment/3687969/+files/Screen%20Shot%202013-05-27%20at%2016.23.33.png
>>>
>>> --
>>> You received this bug notification because you are a member of DHIS 2
>>> developers, which is subscribed to DHIS.
>>> https://bugs.launchpad.net/bugs/1184648
>>>
>>> Title:
>>>   Aggregation query builder, filter by DataSet throws an exception error
>>>
>>> Status in DHIS 2 - District Health Information Software:
>>>   New
>>>
>>> Bug description:
>>>   I was able to reproduce this at http://apps.dhis2.org/demo (2.11). It
>>>   works no problem in 2.12.
>>>
>>>   When going to the 'Aggregation Query Builder', the page loads. When
>>>   you select from the 'data set filter', you get an error.
>>>
>>>   I will also like to suggest 2 minor updates to this page:
>>>   - List the Data Sets in alphabetic order, like everywhere else in the
>>> system
>>>   - Only list data sets that have aggregations active - many data sets
>>> will never have aggregation.
>>>
>>> To manage notifications about this bug go to:
>>> https://bugs.launchpad.net/dhis2/+bug/1184648/+subscriptions
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
>
> --
> *Rodolfo Meliá*
> *Principal*
> rmelia@xxxxxxxxxxxx
> www.knowming.com
> +1 708 872 7636
> +44 777 576 4090
> Skype: rod.melia
> Twitter: @RodolfoMelia <https://twitter.com/RodolfoMelia>
>
> Note: Please note my new email address, which I will be using for PSI
> related work: rmelia@xxxxxxxxxxxx
>

Follow ups

References