Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11515

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

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • 7.13.0, 7.13.0-alpha2
    • 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.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: