Qi4j

"Not a Number" : Having Byte-type property creates exception

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.1
  • Component/s: Core Runtime
  • Labels:
    None

Description

Currently, with property of type 'Byte', I get this exception:

java.lang.IllegalArgumentException: Value is not a number:0
at org.qi4j.runtime.types.NumberType.toJSON(NumberType.java:92)

in package org.qi4j.runtime.types.

Is this deliberate rule-out of Byte from numbers or just forgetting it to
add to the number-recognizable class-list?

Activity

Hide
Niclas Hedhman added a comment -

This is not a "rule out" but simply something that was forgotten.

Fixed.

Show
Niclas Hedhman added a comment - This is not a "rule out" but simply something that was forgotten. Fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: