You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an eventRef is defined for an action in sonataflow, editor display the reference as undefined when hovering over the icon connected to this. Notably there is some behavior if I use older definitions, probably deprecated syntax now.
domhanak
changed the title
[vscode-extension-serverless-workflow] Editos displays eventRef: undefined when action references event
[vscode-extension-serverless-workflow] Editor displays eventRef: undefined when action references event
Nov 27, 2024
@domhanak@handreyrc
This is an issue related to the Diagram Editor and can be replicated on Kubesmarts and the other SonataFlow apps as well.
Maybe we can put this bug in "waiting", If we are replacing the Diagram?
fantonangeli
changed the title
[vscode-extension-serverless-workflow] Editor displays eventRef: undefined when action references event
[vscode-extension-serverless-workflow] Diagram Editor displays eventRef: undefined when action references event
Nov 27, 2024
@fantonangeli@handreyrc yea, I reproduced on VSCode, doing it in all of the downstream implementations of swf editor is not possible in reasonable timeframe.
What to do with it is your call. Imho this is not big issue as it only impacts the view.
Summary
When an
eventRef
is defined for anaction
in sonataflow, editor display the reference as undefined when hovering over the icon connected to this. Notably there is some behavior if I use older definitions, probably deprecated syntax now.Environment
VSCode extension on Linux
Steps to reproduce
OLD_SYNTAX-event-based-service-invocation.sw.json
Action: eventRef: VetAppointmentInfo
AND the file is not syntactically correct as per VSCode syntax checkerAction: eventRef: undefined
AND the file is syntactically correctActual results
Hover over the icon and see
Action: eventRef: undefined
Expected results
Hover over the icon and see
Action: eventRef: VetAppointmentInfo
OR
Potentially show both
triggerEventRef
andresultEventRef
for the state.Testing
Manual verification is sufficient for this case.
The text was updated successfully, but these errors were encountered: