We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After some debugging I found the problem:
attribute = new CrmPluginRegistrationAttribute( step.sdkmessageid_sdkmessageprocessingstep.Name, filter == null ? "none" : filter.PrimaryObjectTypeCode, (StageEnum)Enum.ToObject(typeof(StageEnum), step.Stage.Value), step.Mode.Value == 0 ? ExecutionModeEnum.Synchronous : ExecutionModeEnum.Asynchronous, step.FilteringAttributes, step.Name, step.Rank.HasValue ? step.Rank.Value : 1, step.plugintypeid_sdkmessageprocessingstep.pluginassembly_plugintype.IsolationMode == pluginassembly_isolationmode.Sandbox ? IsolationModeEnum.Sandbox : IsolationModeEnum.None ) { Id = step.Id.ToString(), DeleteAsyncOperation = step.Mode.Value != 0 && step.AsyncAutoDelete.Value, // <- in this line step.AsyncAutoDelete is NULL; this needs a null check };
An example fix would be to replace the latter part of the logic operator with step.AsyncAutoDelete == true.
step.AsyncAutoDelete == true
However, on top of that, it seems the query used to populate the step lacks the AsyncAutoDelete completely, meaning this is always null.
step
AsyncAutoDelete
null
The text was updated successfully, but these errors were encountered:
In addition the generated code for AsyncAutoDelete uses True, as in uppercase T, which doesn't compile in C#.
True
Sorry, something went wrong.
@scottdurow I've fixed this in a PR. But... this project seems to be unmaintained any more. :(
No branches or pull requests
After some debugging I found the problem:
An example fix would be to replace the latter part of the logic operator with
step.AsyncAutoDelete == true
.However, on top of that, it seems the query used to populate the
step
lacks theAsyncAutoDelete
completely, meaning this is alwaysnull
.The text was updated successfully, but these errors were encountered: