Public bug reported:

I guess it's on submitting empty values where there is some validation

Exception (java.lang.NumberFormatException): empty String
sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994)
java.lang.Double.valueOf(Double.java:475)
java.lang.Double.(Double.java:567)
org.hisp.dhis.datavalue.DataValue.isZero(DataValue.java:174)
org.hisp.dhis.datavalue.DefaultDataValueService.isSignificant(DefaultDataValueService.java:193)
org.hisp.dhis.datavalue.DefaultDataValueService.updateDataValue(DefaultDataValueService.java:86)

** Affects: dhis2
     Importance: Medium
     Assignee: Morten Olav Hansen (mortenoh)
         Status: New

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

** Changed in: dhis2
     Assignee: (unassigned) => Morten Olav Hansen (mortenoh)

** Changed in: dhis2
   Importance: Undecided => Medium

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

Title:
  NumberFormatException thrown in dhis light data entry

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  I guess it's on submitting empty values where there is some validation

  Exception (java.lang.NumberFormatException): empty String
  sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994)
  java.lang.Double.valueOf(Double.java:475)
  java.lang.Double.(Double.java:567)
  org.hisp.dhis.datavalue.DataValue.isZero(DataValue.java:174)
  
org.hisp.dhis.datavalue.DefaultDataValueService.isSignificant(DefaultDataValueService.java:193)
  
org.hisp.dhis.datavalue.DefaultDataValueService.updateDataValue(DefaultDataValueService.java:86)

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

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to