bug #6454
closed
NumberWithLabelElement.getFloat and .getInteger should return null
Added by Andreas Müller about 7 years ago.
Updated almost 7 years ago.
Description
Currently it both return 0 if textfield is empty. In some cases this leads to value "0" while null is required.
Before we need to check if any of the cases do not allow a null value.
Currently the only known place is PolytomousKey.startNumber for Integer and StatisticalMeasurementValue.setValue(float). Both should be discussed to allow null as well.
- Related to bug #6453: Deleting text from min/max fields throws NPE added
- Target version changed from Unassigned CDM tickets to Release 4.6
- Priority changed from New to Highest
- Status changed from New to Resolved
- % Done changed from 0 to 50
- Description updated (diff)
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Patrick Plitzner
- Status changed from Feedback to Closed
- Assignee changed from Patrick Plitzner to Andreas Müller
- % Done changed from 50 to 100
I guess this is solved because nobody ever complained after this fix so it seems like all number fields seem to work -> Closing ticket
Also available in: Atom
PDF