Skip to content
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

Error location with expression #274

Open
NiLeonet opened this issue Jul 18, 2023 · 1 comment
Open

Error location with expression #274

NiLeonet opened this issue Jul 18, 2023 · 1 comment

Comments

@NiLeonet
Copy link

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants