HystrixCommandExecutionHook.onFallbackStart not executed if fallback in parent class
Hi!
I've faced an issue when having an abstract class than inherits from HystrixCommand and defines a common fallback, and then having concrete implementations of that abstract class. In that scenario, if I register a HystrixCommandExecutionHook the method onFallbackStart is never called.
Looking at the code I've seen that there's a call to isFallbackUserDefined that prevents the hook from being called. I don't know the reason of that behavior, but that method only checks for fallback implementations in the current class. If you think it's okay I could provide a PR that checks in the hierarchy until the package com.netflix.hystrix is found or something like that.
If anyone faces this issue, my workaround has been to override isFallbackUserDefined to always return true in the same class I define the fallback.
Btw, I found this issue when trying to implement #1653 to workaround the problem exposed in #1767.
Cheers!