In FEEL Scala Engine, display more expressive error message when using single-quoted string literals

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: 7.13.0, 7.13.0-alpha2
    • Component/s: None
    • None

      Steps to reproduce
      In the FEEL Scala Engine, use a single-quoted string literal in a unary test (which is not allowed by the specification), e. g. 'asdfasdf'.

      Observed behavior
      The following error message is shown:

      failed to evaluate expression 'asdfasdf': no variable found for name 'asdfasdf'
      

      Expected behavior
      A more expressive error message is shown that the user can easier understand that a single-quoted string literal is not allowed and must be replaced by a double-quoted string literal.

            Assignee:
            Unassigned
            Reporter:
            Tassilo Weidner-Mühl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: