Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue May 6, 2024 · 2 comments
Labels
backlog Queued in backlog bug Something isn't working good first issue Good for newcomers

Comments

@vasil-mo
Copy link

vasil-mo commented May 6, 2024

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

  • OS: MacOS 14.4
  • Camunda Modeler Version: 5.18 but it also applies to the current verison (06.05.2024) in the Web Modeler
  • Execution Platform: Camunda 8

Additional context

image


Depends on camunda/bpmnlint-plugin-camunda-compat#53

@vasil-mo vasil-mo added the bug Something isn't working label May 6, 2024
@nikku
Copy link
Member

nikku commented May 6, 2024

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 nikku added ready Ready to be worked on good first issue Good for newcomers labels May 6, 2024
@nikku
Copy link
Member

nikku commented May 7, 2024

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

@nikku nikku added backlog Queued in backlog and removed ready Ready to be worked on labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants