CoreWF icon indicating copy to clipboard operation
CoreWF copied to clipboard

Error location with expression

Open NiLeonet opened this issue 3 years ago • 1 comments

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,

NiLeonet avatar Jul 18 '23 08:07 NiLeonet

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.

dmetzgar avatar Jul 31 '23 19:07 dmetzgar