You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Emmanuel (Jira)" <ji...@apache.org> on 2020/10/16 14:14:00 UTC
[jira] [Commented] (JOHNZON-322) johnzon-jsonschema:
BaseNumberValidation cannot support negative numbers
[ https://issues.apache.org/jira/browse/JOHNZON-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215411#comment-17215411 ]
Emmanuel commented on JOHNZON-322:
----------------------------------
Hi [~romain.manni-bucau],
Thanks also ;)
BTW, any ETA for meecrowave next release?
> 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)