I'm trying to debug an UpdateMultiple plugin that uses pre entity images. What I'm finding when I step through the code is that PreEntityImagesCollection is null.
I ensured that I was on the latest version of the plugin registration tool and uninstalled then reinstalled the profiler without luck.
I was able to work around the problem but the release history for the plugin registration tool v9.1.0.167 says "Added support for IPluginExecutionContext2,IPluginExecutionContext3,IPluginExecutionContext4 to debugger." so it seems like this should work.
Hey cchannon, thanks for the reply. I don't think that's the issue.
To clarify, things run perfectly fine on the server (PreEntityImagesCollection is not null). The issue is ONLY with debugging using the plugin registration tool.
Unfortunately, this happens more than I'd like. It's just a bug of some kind in plug-in registration. Luckily, it is very easy to fix.
Open the image in the reg tool and set it for BOTH Pre and Post, then save and test. If that doesn't work, set it for ONLY Post, save, then set it back to ONLY Pre... Play with that a couple times and then suddenly your image should start showing up correctly.
It's weird, I know, but it seems like sometimes the initial creation of an image just doesn't 'work' and you need to jiggle the pre/post step registration a bit to get it to take.
WarrenBelz
770
Most Valuable Professional
stampcoin
494
MS.Ragavendar
399