Project

General

Profile

Actions

bug #6454

closed

NumberWithLabelElement.getFloat and .getInteger should return null

Added by Andreas Müller about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Highest
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:

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 issues

Related to EDIT - bug #6453: Deleting text from min/max fields throws NPEClosedAndreas Müller

Actions
Actions

Also available in: Atom PDF