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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.1, 3.5.0
    • Component/s: tooling
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: