AI OnAI Off
Hi Fredrik!
Thanks for the report. The helpFile attribute should absolutely handle query strings. The syntax "Help.aspx?culture={culture}" should also work.
We've registered it in our system, and it got the id #38253.
Regards
Per Gunsarfs
EPiServer development team
If module.config contains a helpFile attribute with an URL that contains parameters ModuleHelpMenuProvider fails to validate the URL.
Suggestion: Do allow query parameters in helpFile attribute! It could also be usefull for culture replacement "Help.aspx?culture={culture}"
From module.config:
<module helpFile="/i2/ts/Help.aspx?mode=all">
Exception:
[HttpException (0x80004005): '/i2/ts/Help.aspx?culture=en' is not a valid virtual path.]
System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +8862571
System.Web.Hosting.MapPathBasedVirtualPathProvider.FileExists(String virtualPath) +14
EPiServer.Web.Hosting.VirtualPathVersioningProvider.FileExists(String virtualPath) +272
EPiServer.Web.Hosting.VirtualPathVersioningProvider.FileExists(String virtualPath) +272
EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.FileExists(String virtualPath) +41
EPiServer.Shell.Navigation.Providers.ModuleHelpMenuProvider.GetMenuItems() +524
EPiServer.Shell.Navigation.MenuAssembler.GetMenuItems(String parentPath, Int32 relativeDepth) +218
EPiServer.Shell.Navigation.MenuAssembler.GetMenuHierarchy(String rootPath, Int32 relativeDepth, String selectionPath) +85
EPiServer.Shell.Navigation.MenuBuilder.Render(TextWriter writer, String startPath, String selectionPath) +26
EPiServer.Shell.Navigation.MenuBuilder.GetMenu(String startPath, String selectionPath) +162
EPiServer.Shell.Navigation.MenuHelper.ShellMenu(String path, String selectionPath) +79
EPiServer.Shell.Navigation.MenuHelper.CreateGlobalMenu(String path, String selectionPath) +83
EPiServer.Shell.Web.UI.WebControls.ShellMenu.Render(HtmlTextWriter writer) +22