[Bug 1554305] [NEW] Category option attribute with value type yes/no is not save value

Public bug reported:

When update or create new category option which has custom attribute
(This attribute assign to Category Option and Value type yes/no) the
check box of this custom attribute is not saved after click save button.

** 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/1554305

Title:
  Category option attribute with value type yes/no is not save value

Status in DHIS:
  New

Bug description:
  When update or create new category option which has custom attribute
  (This attribute assign to Category Option and Value type yes/no) the
  check box of this custom attribute is not saved after click save
  button.

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

** Description changed:

- When update or create new category option which has attribute with value
- type yes/no, the check box is not save value after click save button.
+ When update or create new category option which has custom attribute
+ (This attribute assign to Category Option and Value type yes/no) the
+ check box of this custom attribute is not saved after click save button.

···

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

Title:
  Category option attribute with value type yes/no is not save value

Status in DHIS:
  New

Bug description:
  When update or create new category option which has custom attribute
  (This attribute assign to Category Option and Value type yes/no) the
  check box of this custom attribute is not saved after click save
  button.

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

Which version of DHIS 2?

** Changed in: dhis2
     Assignee: (unassigned) => Mark Polak (markpo)

** Changed in: dhis2
    Milestone: None => 2.23

···

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

Title:
  Category option attribute with value type yes/no is not save value

Status in DHIS:
  New

Bug description:
  When update or create new category option which has custom attribute
  (This attribute assign to Category Option and Value type yes/no) the
  check box of this custom attribute is not saved after click save
  button.

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

It is affected in the version 2.22 , Build revision 21883

···

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

Title:
  Category option attribute with value type yes/no is not save value

Status in DHIS:
  New

Bug description:
  When update or create new category option which has custom attribute
  (This attribute assign to Category Option and Value type yes/no) the
  check box of this custom attribute is not saved after click save
  button.

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

Fixed in 2.22 and trunk versions of the app.

** Changed in: dhis2
       Status: New => Fix Released

···

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

Title:
  Category option attribute with value type yes/no is not save value

Status in DHIS:
  Fix Released

Bug description:
  When update or create new category option which has custom attribute
  (This attribute assign to Category Option and Value type yes/no) the
  check box of this custom attribute is not saved after click save
  button.

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

Hi Mark Polak

Can you please check again. Because I just test this morning, the
snapshot demo didnt work, and stable demo work.

But now when I test again, the stable demo 2.22 doesn't work, and
snapshot work.

···

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

Title:
  Category option attribute with value type yes/no is not save value

Status in DHIS:
  Fix Released

Bug description:
  When update or create new category option which has custom attribute
  (This attribute assign to Category Option and Value type yes/no) the
  check box of this custom attribute is not saved after click save
  button.

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

Hi Mark,

It is now like I create a new category option with yes/no attribute, I check the box and save this category option.

In api, i see category option has attribute save as 'true'

The next step I view edit the category option, the check box is blank
(unchecked) => it should show as checked, because in api it is 'true'
value

I click save button again without check the box.

I api, it is still 'true' value. =>it should be 'false' because the
check box is save as blank)

I edit category option again, check again in the box and uncheck after that. Then I click save button.
In api, I see category option has attribute has value is 'false'

···

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

Title:
  Category option attribute with value type yes/no is not save value

Status in DHIS:
  Fix Released

Bug description:
  When update or create new category option which has custom attribute
  (This attribute assign to Category Option and Value type yes/no) the
  check box of this custom attribute is not saved after click save
  button.

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