You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/06/19 05:31:00 UTC
[jira] [Resolved] (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 ]
Claus Ibsen resolved CAMEL-15214.
---------------------------------
Fix Version/s: 3.4.1
Resolution: Fixed
Thanks for reporting
> [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
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.4.1, 3.5.0
>
>
> 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)