I have created a plugin for 3 messages on account entity: Update, Create and Merge. It has to delete some of the account connection and then recreate them with other connection roles. For now it works fine on "Update" message, but it doesn't work
on the "Merge" message. When I try to profile it for debugging - I get the "isv code aborted the operation " exception and there is no possibility to download the log to debug. When I turn off profiling - the plugin doesn't work at all
and after merge I get a lot of duplicate connections that I don't actually need and their roles aren't changed.
Did someone had a similiar issue or maybe knows how to overcome at least the "ISV exception" ? I would really appreciate any help regarding this.