Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1451

Incorrect test of expression values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Final
    • None
    • None
    • None

      To test if a value is an expression of the form "${my.expression}" AbstractItem uses value.startsWith("${") && value.endsWith("}") but wildfly accepts the $ pattern anywhere in the string, for example some/${my.expression}/directory, but as HAL only validates the start and end of string, then it is incorrect. HAL should accept the latter as a pattern to test if a value is an expression. One example is the "path" attribute of /subsystem=undertow/configuration=handler/file=welcome-content resource.

      HAL should fix this in form components and the Expression Resolver dialog (tools menu).

              cmiranda@redhat.com Claudio Miranda
              cmiranda@redhat.com Claudio Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: