Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15214

[regression]Duration values are no more part of the validation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.1, 3.5.0
    • tooling
    • None
    • Unknown

    Description

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            apupier Aurélien Pupier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: