Project

General

Profile

bug #6454

NumberWithLabelElement.getFloat and .getInteger should return null

Added by Andreas Müller almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Highest
Category:
taxeditor
Target version:
Start date:
03/02/2017
Due date:
% Done:

100%

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 NPE Closed 03/02/2017

Associated revisions

Revision df566daf (diff)
Added by Andreas Müller almost 2 years ago

fix #6454 Allow null for numbers

History

#1 Updated by Andreas Müller almost 2 years ago

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

#2 Updated by Andreas Müller almost 2 years ago

  • Target version changed from Unassigned CDM tickets to Release 4.6

#3 Updated by Andreas Müller almost 2 years ago

  • Priority changed from New to Highest

#4 Updated by Andreas Müller almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#5 Updated by Andreas Müller almost 2 years ago

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

#6 Updated by Patrick Plitzner over 1 year 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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)