You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aurélien Pupier (Jira)" <ji...@apache.org> on 2020/06/18 12:22:00 UTC

[jira] [Updated] (CAMEL-15214) [regression]Duration values are no more part of the validation

     [ https://issues.apache.org/jira/browse/CAMEL-15214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aurélien Pupier updated CAMEL-15214:
------------------------------------
    Summary: [regression]Duration values are no more part of the validation  (was: [regression]Durations are no more part of the validation)

> [regression]Duration values are no more part of the validation
> --------------------------------------------------------------
>
>                 Key: CAMEL-15214
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15214
>             Project: Camel
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.4.0
>            Reporter: Aurélien Pupier
>            Priority: Major
>
> in Camel Catlog, there is a new type "duration" (for timer delay parameters for instance).
> it was previously using type "integer".
> The validation has not been adjusted fo rthis new type. Consequently, the delay value is no more validated.
> For instance, "timer:timerName?delay=p" is no more reporting a validation error.
> technical:
> the "time pattern" was validated for the integer type: https://github.com/apache/camel/blob/b665e5cf4b47f9b074bea40c86a5133f0db00454/core/camel-core-catalog/src/main/java/org/apache/camel/catalog/impl/AbstractCamelCatalog.java#L1276-L1284



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