← Back to team overview

dhis2-devs team mailing list archive

[Bug 1218352] [NEW] cannot-add-new-categoryoptioncombos-to-existing-categorycombo

 

Public bug reported:

Steps to reproduce on 2.12 Demo database

1) Create three category options "Foo","Bar","Baz"
2) Add Foo and Bar to a new category called "FooBar"
3) Add FooBar category to a new category option combo "FooBars"
4) Create a data element "Number of foobars" with category combo "FooBars"
5) Create a new data set "FooBars" and add "Number of foo bars" data element to the dataset
6) Create a custom data entry form for "FooBars" dataset and add the two category option combos available. 
7) Alter the Category "FooBar" by adding the option "Baz". 
8) Attempt to alter the custom data entry form for "FooBars" dataset. 

The new category option combo is not available.

Workaround. 
Create a valid piece of DXF for the new category option combo, and inject it through the WebAPI. The new category option combo is now available.

** Affects: dhis2
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1218352

Title:
  cannot-add-new-categoryoptioncombos-to-existing-categorycombo

Status in DHIS 2:
  New

Bug description:
  Steps to reproduce on 2.12 Demo database

  1) Create three category options "Foo","Bar","Baz"
  2) Add Foo and Bar to a new category called "FooBar"
  3) Add FooBar category to a new category option combo "FooBars"
  4) Create a data element "Number of foobars" with category combo "FooBars"
  5) Create a new data set "FooBars" and add "Number of foo bars" data element to the dataset
  6) Create a custom data entry form for "FooBars" dataset and add the two category option combos available. 
  7) Alter the Category "FooBar" by adding the option "Baz". 
  8) Attempt to alter the custom data entry form for "FooBars" dataset. 

  The new category option combo is not available.

  Workaround. 
  Create a valid piece of DXF for the new category option combo, and inject it through the WebAPI. The new category option combo is now available.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1218352/+subscriptions


Follow ups

References