← Back to team overview

dhis2-devs team mailing list archive

Re: CategoryOptionCombos not Updating?

 

Hi Tim,
You need to update the category option combos. Have a look here

https://www.dhis2.org/doc/snapshot/en/user/html/ch22s03.html

which describes the process. (Last bullet point)

Best regards,
Jason



On Thu, Aug 21, 2014 at 5:35 AM, Timothy Harding <hardingt@xxxxxxxxx> wrote:

> Hello DHIS2 Devs,
> I'm using DHIS2 2.14, Tomcat 7.0.42, Postgresql 9.3.4-4, Windows Host
>
> I'm trying to adjust a few of my Categories in my development environment
> and it doesn't seem to be taking. The way I understand Categories is using
> the following graphic:
> [image: Inline image 2]
>
> So, in our instance of DHIS2:
> I had 3 age groups entered in the Category options which I've been using
> without problem for a while now:
>
>    - 0-1 Month
>    - 1-12 Months
>    - 1-5 Years
>
> These are added to a Category with a name comprising the three options. A
> category combination of similar name is created, and the category added to
> it. Then a data element assigns it. This process has worked in the past, so
> I am just wondering if I've forgotten something now that I want to change
> it:
>
> How would I add two new age groups? (forgive the strange age groups, and
> that they overlap in a weird way)
>
>    - 0-6 Months
>    - 7-12 Months
>
> Trying myself, I created two new Category Options:
>
> [image: Inline image 3]
>
> I added them to the existing Category for "0-1 month / 1-12 months / 1-5
> years" and changed its name:
>
> [image: Inline image 4]
>
>
> This Category is assigned to a "Category Combination" of the same name:
> [image: Inline image 5]
>
>
> If I understand it, and did it correctly, the Category Combination should
> not need to change anyway.
>
> The data element then is assigns to the proper Category Combination:
> [image: Inline image 6]
> ^^This also did not change, the name updated automatically.
>
>
>
> When I go to the dataset editor and try and insert the 2 new age groups,
> they just won't appear:
> [image: Inline image 7]
>
> If I look it up in the API, it also does not reflect the change:
> [image: Inline image 8]
>
> I've tried the following to no avail:
>
>    1. Rebooting the Server
>    2. Clearing the Cache on the Server
>    3. Using a different web browser
>
> Any ideas?
>
>
>
> Timothy Harding
> PeaceCorps Volunteer
> Republic of Vanuatu
> hardingt@xxxxxxxxx
> +678 5955137
>
> _______________________________________________
> 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
>
>

PNG image

PNG image

PNG image

PNG image

PNG image

PNG image

PNG image


Follow ups

References