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

Bugfix/atr 635 dev analyzer nre #449

Closed
wants to merge 11 commits into from
Closed

Conversation

SENya1990
Copy link
Contributor

@SENya1990 SENya1990 commented Jul 11, 2022

The bug is caused by the lack of support for more complex expressions passed to SetProcessDelegate API:

  • Cast expression like:
    ProcessProductSync.SetProcessDelegate((PXProcessingBase<KNCASyncDetails>.ProcessListDelegate)delegate
    {
        ProductCreateUpdate();
    });
  • Object creation expression:
    ProcessProductSync.SetProcessDelegate(new PXProcessingBase<KNCASyncDetails>.ProcessListDelegate(delegate
    {
    	ProductCreateUpdate();
    }));
  • Local variable or parameter that store delegate
  • Property or field that store delegate

Added such support to diagnostics related to long runs

@SENya1990 SENya1990 requested a review from dropsonic July 11, 2022 01:14
@SENya1990
Copy link
Contributor Author

PR needs more work

@SENya1990 SENya1990 closed this Jul 11, 2022
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

Successfully merging this pull request may close these issues.

1 participant