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

Updated by Andreas Müller about 7 years ago

  • Related to bug #6453: Deleting text from min/max fields throws NPE added
Actions #2

Updated by Andreas Müller about 7 years ago

  • Target version changed from Unassigned CDM tickets to Release 4.6
Actions #3

Updated by Andreas Müller about 7 years ago

  • Priority changed from New to Highest
Actions #4

Updated by Andreas Müller about 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #5

Updated by Andreas Müller about 7 years ago

  • Description updated (diff)
  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Patrick Plitzner
Actions #6

Updated by Patrick Plitzner almost 7 years ago

  • 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

Actions

Also available in: Atom PDF