-
Notifications
You must be signed in to change notification settings - Fork 488
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
get or else
Camunda FEEL function is marked as syntax error
#3983
Comments
We could add a quick-fix and add it to the expression context, but that would not solve the underlying issue. We are currently supporting two FEEL engines with different capabilities, but use the same editor tooling for both. Cf. @nikku comment on Slack: https://camunda.slack.com/archives/GP70M0J6M/p1699970314078889?thread_ts=1699954926.982759&cid=GP70M0J6M We should try to solve it on the language level. In the long term, we need a decision on how to handle extensions, especially when we want to add a FEEL playground in the modeler experience at one point. |
This has been independently reported by multiple users. |
Moving to |
Let's investigate if this is an easy pick. |
Did not make it into the |
I looked into this yesterday and found that there is sensible improvements we could make in the
|
@barmac Assigning myself as I'll look into this post release (I have the context still). |
* You can now provide built-ins (other than Camunda) as you instantiate the editor. chore: simplify internal structure * This is a larger rewrite of the inner structure of the tool, fixing some longer standing bugs chore: treat built-ins like special variables fix: recognize built-ins in the language grammar * We properly configure the language based on built-ins provided this allows the grammar to recognize `get or else` or other bogus built-ins that would otherwise be recognized as language constructs Related to camunda/camunda-modeler#3983
* You can now provide built-ins (other than Camunda) as you instantiate the editor. feat(autocompletion): filter completed built-ins chore: simplify internal structure * This is a larger rewrite of the inner structure of the tool, fixing some longer standing bugs chore: treat built-ins like special variables fix: recognize built-ins in the language grammar * We properly configure the language based on built-ins provided this allows the grammar to recognize `get or else` or other bogus built-ins that would otherwise be recognized as language constructs Related to camunda/camunda-modeler#3983
* You can now provide built-ins (other than Camunda) as you instantiate the editor. feat(autocompletion): filter completed built-ins chore: simplify internal structure * This is a larger rewrite of the inner structure of the tool, fixing some longer standing bugs chore: treat built-ins like special variables fix: recognize built-ins in the language grammar * We properly configure the language based on built-ins provided this allows the grammar to recognize `get or else` or other bogus built-ins that would otherwise be recognized as language constructs Related to camunda/camunda-modeler#3983
fix: recognize `get or else` in FEEL language Closes #3983
Recognizes `get or else` in feel-editor as a language extension. Related to #3983
Adding another user report so priority can be adjusted as needed: https://forum.camunda.io/t/unparsable-feel-expression-is-it-a-bug-in-modeler/53862/ |
Thanks. A fix is already work in progress. |
Another customer has reported this: SUPPORT-23453 |
Another customer has reported this: SUPPORT-23592. |
We're currently working on supporting this; customers will need to simply upgrade their modelers to the latest version, and may continue to use 8.5 (run-time) to benefit from a fix. |
Any updates? |
Describe the bug
When I choose
get or else
function from the suggestions, it's marked as syntax error.Screen.Recording.2023-11-14.at.10.32.47.mov
Steps to reproduce
get or
and notice the suggestionExpected behavior
The expression
get or else(variable, defaultValue)
should be parsed as:This must be tuned in two places:
Environment
Additional context
The built-in extension function should be provided in the context because it uses keywords.
SUPPORT-19273
SUPPORT-23453
SUPPORT-23592
The text was updated successfully, but these errors were encountered: