You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding or removing a PreImage using RegisterPluginStep.AddImage(ImageType.PreImage) does not trigger an update of the plugin registration, which results in a NullReferenceException if using the PreImage entity.
Although not tested, the same is most likely the case for PostImage.
The text was updated successfully, but these errors were encountered:
I ran into this at some point in the past, but it disappeared again, probably due to wondering about "why the null exception" and then changing filtering attributes... maybe ;-)
I can replicate the bug. The PreImage is indeed not available when following the described steps.
I've looked into daxif's behaviour and it creates and updates the sdkmessageprocessingstep and sdkmessageprocessingstepimage entities correctly in the scenario.
I crosschecked daxif's behaviour with the Plugin Registration tool in XrmToolBox for the scenario. It shows that doing the equivalent steps results in the same bug. It seems to be a platform error.
Adding or removing a PreImage using RegisterPluginStep.AddImage(ImageType.PreImage) does not trigger an update of the plugin registration, which results in a NullReferenceException if using the PreImage entity.
Although not tested, the same is most likely the case for PostImage.
The text was updated successfully, but these errors were encountered: