[6.0.441.2] BUG: EPiServer Shell Module loader can not handler parameters on help files

Vote:
 

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

 

 

 

#36904
Feb 13, 2010 20:37
Vote:
 

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

#36953
Feb 15, 2010 14:33
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.