Open domhanak opened 3 days ago
@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 @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.
I reproduced on VSCode, doing it in all of the downstream implementations of swf editor is not possible in reasonable timeframe.
Sure @domhanak , I tested it on Kubesmarts and wrote a note to specify we have this issue on all the SonataFlow implementations ;-)
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
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 bothtriggerEventRef
andresultEventRef
for the state.Testing
Manual verification is sufficient for this case.