← Back to team overview

dhis2-devs team mailing list archive

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

 

I'm not able to reproduce this in TC. Could you please provide more
info, saving/loading of event with data element of decimal type is no
issue.

This is also fixed in EC.

That said, these are app issues, not web-api issues. The web-api don't
care about decimals points etc, it just take the data value string and
validates it against the data element value type, if it is OK, it will
just store the value.

-- 
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