UiPath / CoreWF

WF runtime ported to work on .NET 6
MIT License
1.13k stars 214 forks source link

Error location with expression #274

Open NiLeonet opened 1 year ago

NiLeonet commented 1 year ago

Hi, we are working to port our existing WF application to .Net6 and we found an issue with the location of an error when the error is in an expression.

In the example bellow, there is an error in an expression located in Line 81: image

With WF, the returned error is correctly located in line 81. image

With CoreWF, the returned error is located in line 594. image

For loading the WAML workflow, we use the same code for both WF and coreWF : image

Do you have a solution to correctly locate the error with core WF? Thanks in Advance,

dmetzgar commented 1 year ago

I think this may be because CoreWF is giving the line number from the generated code file that contains the expressions. This issue is valid, I just don't have a fix for it right now.