← Back to team overview

dhis2-devs team mailing list archive

[Bug 1523838] Re: Decimal numbers lost in Event Capture

 

I just tested on EC and TC on the demo and dev servers, and it seems
that decimal data element values are working.

Decimal numbers in Tracked entity attribute values on the other hand, is
not working.

To reproduce, on the dev server:
- Register a new TEI in the MNCH/PNC program with decimals for weight and height.
- Save and continue
- Click Edit in Profile widget to see the missing decimals

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

Title:
  Decimal numbers lost in Event Capture

Status in DHIS:
  New

Bug description:
  After storing decimal numbers in Event Capture, if you reload the
  Event Capture list of Events, the decimal value is lost.

  To recreate:
  - Create a single event program with a number data element as "display in list".
  - Create an event, and save a decimal value in the data element.
  - Save and go back.
  - Now you should see your event in the list, with the decimal value.
  - Reload the page. (The page refers to the page where you see a list of events, and where you select the program/org unit)
  - Now you will see the decimal number is lost, and only the integer is left.

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


References