Hello Morten, thank you for looking into this
Was the fix deployed in version newer than the current one on playdemo? I
just checked with version: 2.22 21789 in the play demo (built: 2016-02-03
03:26)
and it still did the same thing, I made the following catcombo:
https://play.dhis2.org/demo/api/categoryCombos/ytoc3Hgk19r?fields=name,id,categories[name,id,categoryOptions[name,id]],categoryOptionCombos[name,id]
[image: Inline image 1]
Then I removed three of the cat options from the category and this is what
happened:
[image: Inline image 2]
If you check the category, you will see it has the proper catoption
assignment:
[image: Inline image 3]
But it still is getting punted out of the catcombo.
*Timothy Harding*
Sr. Systems Analyst, BAO Systems
+1 202-536-1541 | tharding@baosystems.com | http://www.baosystems.com | Skype:
hardingt@gmail.com | 2900 K Street, Suite 404, Washington D.C. 20007
Fixed and backportet to 2.22.
** Changed in: dhis2
Status: New => Fix Released
--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1540854
Title:
Altering a Category in 2.22 21784 removes it from the assigned
category combo
Status in DHIS:
Fix Released
Bug description:
Altering a Category in 2.22 21784 removes it from the assigned
category combo
Steps to reproduce
1. Create a Category
2. Assign Category to CatCombo
3. Remove or add an option from the category from step 1
4. Notice it is no longer a part of the CatCombo Assigned in step 2
I imagine this might remove it from all the category combos (plural)
but I haven't tested that far yet
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1540854/+subscriptions
** Attachment added: "Screen Shot 2016-02-03 at 11.39.48 AM.png"
https://bugs.launchpad.net/bugs/1540854/+attachment/4562667/+files/Screen%20Shot%202016-02-03%20at%2011.39.48%20AM.png
** Attachment added: "Screen Shot 2016-02-03 at 11.40.46 AM.png"
https://bugs.launchpad.net/bugs/1540854/+attachment/4562668/+files/Screen%20Shot%202016-02-03%20at%2011.40.46%20AM.png
** Attachment added: "PastedGraphic-1.png"
https://bugs.launchpad.net/bugs/1540854/+attachment/4562669/+files/PastedGraphic-1.png
** Attachment added: "Screen Shot 2016-02-03 at 11.36.37 AM.png"
https://bugs.launchpad.net/bugs/1540854/+attachment/4562670/+files/Screen%20Shot%202016-02-03%20at%2011.36.37%20AM.png
···
On Wed, Feb 3, 2016 at 10:31 AM, Morten Olav Hansen < 1540854@bugs.launchpad.net> wrote:
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1540854
Title:
Altering a Category in 2.22 21784 removes it from the assigned
category combo
Status in DHIS:
Fix Released
Bug description:
Altering a Category in 2.22 21784 removes it from the assigned
category combo
Steps to reproduce
1. Create a Category
2. Assign Category to CatCombo
3. Remove or add an option from the category from step 1
4. Notice it is no longer a part of the CatCombo Assigned in step 2
I imagine this might remove it from all the category combos (plural)
but I haven't tested that far yet
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1540854/+subscriptions