If you ever run into pickle like this please run the following curl request which would cleanup all eventing functions. Before you do that do not forget to take backup of all those functions.
Hi - the intent is for “Undeploy” operation to be always available. In the above scenario, it should have been possible to undeploy the handler and start over afresh. It is a bug that it is not allowed when eventing handler is in bootstrap and will be fixed shortly. I’ve logged MB-28667 to track the same. There may already be another issue tracking this, but we’ll investigate and fix shortly.