Closed GoogleCodeExporter closed 8 years ago
Original comment by travis.illig
on 8 Aug 2013 at 2:52
The trouble appears to be with the way Glimpse replaces the action invoker. The
default mechanism to create the action invoker runs through the
DependencyResolver, but with Glimpse in place it seems to be a proxy around the
default version of the action invoker.
When Glimpse is enabled, the IActionInvoker in place at the point of
Controller.BeginExecuteCore is a dynamic proxy
Castle.Proxies.AsyncControllerActionInvokerProxy.
The base class for that proxy is
System.Web.Mvc.Async.AsyncControllerActionInvoker and the __target on the proxy
is correctly Autofac.Integration.Mvc.ExtensibleActionInvoker. There seem to
also be two mixins:
*
Glimpse.Core.Framework.CastleDynamicProxyWrapper<System.Web.Mvc.Async.AsyncContr
ollerActionInvoker>
* Glimpse.Mvc.AlternateType.ActionInvokerStateMixin
What appears to be happening is the target of the dynamic proxy is getting
bypassed in favor of calling the base
AsyncControllerActionInvoker.GetParameterValue instead of the overridden one in
the Autofac invoker.
Guessing this is something to do with the way the dynamic proxies in Glimpse
get set up. I think I'm going to have to file something with Glimpse on this
one; it doesn't appear to be something we can fix from our end.
Original comment by travis.illig
on 8 Aug 2013 at 3:26
It appears this has been an issue for a few months with Glimpse. Others have
reported it - issue 328 for them: https://github.com/Glimpse/Glimpse/issues/328
Original comment by travis.illig
on 8 Aug 2013 at 3:30
Unfortunately, it looks like it may be a while until Glimpse can get a fix for
this. See here for details:
https://github.com/Glimpse/Glimpse/issues/328#issuecomment-22346241
The workaround right now is to turn off the Glimpse ActionInvoker
functionality, which is outlined in that comment on the GitHub issue.
In the meantime, I'll keep this open and keep watching for a resolution, but
again, there's nothing we can do from this end.
Original comment by travis.illig
on 8 Aug 2013 at 8:59
This continues to be a problem with Glimpse 1.8.0 and Glimpse.Mvc5 1.5.1.
Original comment by travis.illig
on 14 Nov 2013 at 5:49
Moved issue to GitHub: https://github.com/autofac/Autofac/issues/451
Subsequent issue management will be held there; closing the issue on Google
Code as "WontFix" because we will handle issue resolution on GitHub.
Original comment by travis.illig
on 11 Feb 2014 at 12:04
Original issue reported on code.google.com by
travis.illig
on 22 Jul 2013 at 4:14