camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.47k stars 471 forks source link

Typing an equal sign in the Value fields of Headers and Extension properties shows "Property <value> is not a FEEL expression" but disappears after further characters are typed #4271

Open vasil-mo opened 2 months ago

vasil-mo commented 2 months ago

Describe the bug

When typing an equal sign in the Value fields of both Headers and Extension properties of Activities, there is an error shown that this isn't a valid FEEL expression. If you continue typing - the error disappears, which might lead one to believe that this is now a valid FEEL expression. Instead it is interpreted as a String by the process engine (as per documentation).

Steps to reproduce

  1. Create a Header / Extension property
  2. type an equal sign ("=") as the first character in the Value field
  3. continue typing

Expected behavior

typing an equal sign ("=") should not show the "Property is not a FEEL expression" validation message or alternatively it should show the validation message continuously and not disappear after typing further characters.

Environment

Additional context

image


Depends on https://github.com/camunda/bpmnlint-plugin-camunda-compat/issues/53

nikku commented 2 months ago

I can reproduce the issue.

The header value is a static field and shall not be validated; we cannot assume any specific use of the value, unless we know the domain in which it is interpreted, i.e. Camunda 8 connectors.

nikku commented 2 months ago

This is a known issue; we positively assume that stuff starting with = as a FEEL expression.