[ 
https://issues.apache.org/jira/browse/JOHNZON-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215415#comment-17215415
 ] 

Romain Manni-Bucau commented on JOHNZON-322:
--------------------------------------------

[~GALLOIS] belongs to MEECROWAVE project (or 
[[email protected]|mailto:[email protected]] list :)) but 
recall Mark talked about doing it some times ago. That said All the transitive 
dependencies are upgradable without code change I think for most cases so not 
sure it is required today.

> johnzon-jsonschema: BaseNumberValidation cannot support negative numbers
> ------------------------------------------------------------------------
>
>                 Key: JOHNZON-322
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-322
>             Project: Johnzon
>          Issue Type: Bug
>    Affects Versions: 1.2.8
>            Reporter: Emmanuel
>            Assignee: Romain Manni-Bucau
>            Priority: Critical
>             Fix For: 1.2.9
>
>
> {{BaseNumberValidation}} is the parent class of all number validations and 
> such validations need to support negative numbers.
>  For instance, trying to validate with a -1 {{MinimumValidation}} will fail 
> when val is {{-1}} or {{0}}.
> Related code: 
>  
> [https://github.com/apache/johnzon/blob/master/johnzon-jsonschema/src/main/java/org/apache/johnzon/jsonschema/spi/builtin/BaseNumberValidation.java#L40-L42]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to