Closed WiseBird closed 11 years ago
Hi.
I encountered a bug while using RenderActionSetting set upped with helper methods from https://github.com/MvcExtensions/Core/blob/master/src/MvcExtensions.FluentMetadata/ModelMetadata/ModelMetadataItemBuilderRenderActionExtensions.cs
This bug affects methods which accept RouteValueDictionary. These methods pass dictionary to the HtmlHelper.Action where "area" entry is removed from it. So second use of RenderActionSetting leads to error.
http://aspnetwebstack.codeplex.com/SourceControl/latest#src/System.Web.Mvc/Html/ChildActionExtensions.cs
Hi, thanks for reporting.
Do you think if clone of route dictionary will solve the problem?
Yes, for sure. RouteValueDictionary's constructor will do the trick.
Hi.
I encountered a bug while using RenderActionSetting set upped with helper methods from https://github.com/MvcExtensions/Core/blob/master/src/MvcExtensions.FluentMetadata/ModelMetadata/ModelMetadataItemBuilderRenderActionExtensions.cs
This bug affects methods which accept RouteValueDictionary. These methods pass dictionary to the HtmlHelper.Action where "area" entry is removed from it. So second use of RenderActionSetting leads to error.
http://aspnetwebstack.codeplex.com/SourceControl/latest#src/System.Web.Mvc/Html/ChildActionExtensions.cs