Bugzilla – Bug 323886
[WIN32] meta:resourcekey not supported yet
Last modified: 2007-09-22 21:22:36 UTC
---- Reported by tyberius_prime@coonabibba.de 2007-03-21 08:52:57 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: The meta:resourcekey attribute/implicit resources is/are not implemented yet. Steps to reproduce the problem: 1. add meta:resourcekey="PageResource1" to a <%@ Page Language="C#"...> tag 2. have <data name="PageResource1.Title" xml:space="preserve"> <value>Untitled Page</value> </data> in the appropriate resource file ( app_localresource) 3. visit page Actual Results: Expected Results: Application of culture depended resource PageResource1.Title to page. How often does this happen? Everytime. Additional Information: Occurs when you try to run ScrewTurnWiki on Mono ( after fixing other bugs). I was using the tarball from 2007-03-20. ---- Additional Comments From tyberius_prime@coonabibba.de 2007-03-21 10:16:25 MST ---- I have foobared my mono, trying to hack around this, but the error messages was thrown in /mcs/class/System.Web/System.Web.UI/ TemplateParser.cs line 582: if (atts.Count > 0) ThrowParseException ("Unknown attribute: " + GetOneKey (atts)); ---- Additional Comments From dna@informatik.uni-kiel.de 2007-03-23 08:17:57 MST ---- Created an attachment (id=171702) Testcase as 7zip format ---- Additional Comments From dna@informatik.uni-kiel.de 2007-03-23 08:18:27 MST ---- Attached a Visual Studio 2005 generated Testcase. ---- Additional Comments From mhabersack@novell.com 2007-03-26 08:27:25 MST ---- This bug has been fixed in svn head, revision 74972 ---- Additional Comments From gert.driesen@pandora.be 2007-08-15 16:45:02 MST ---- When hosting the ASP.NET runtime, I get the following exception: System.Web.HttpException: ---> System.ArgumentNullException: Argument cannot be null. Parameter name: path is not rooted in the virtual directory at System.Web.Hosting.SimpleWorkerRequest.MapPath (System.String path) [0x00000] at System.Web.HttpRequest.MapPath (System.String virtualPath, System.String baseVirtualDir, Boolean allowCrossAppMapping) [0x00000] at System.Web.HttpRequest.MapPath (System.String virtualPath) [0x00000] at System.Web.Compilation.AppResourcesCompiler..ctor (System.String virtualPath) [0x00000] at System.Web.HttpContext.GetLocalResourceObject (System.String virtualPath, System.String resourceKey, System.Globalization.CultureInfo culture) [0x00000] at System.Web.HttpContext.GetLocalResourceObject (System.String virtualPath, System.String resourceKey) [0x00000] at System.Web.Compilation.TemplateControlCompiler.AssignPropertyFromResou rces (System.CodeDom.CodeMemberMethod method, System.Reflection.MemberInfo mi, System.String attvalue) [0x00000] at System.Web.Compilation.TemplateControlCompiler.AssignPropertiesFromRes ources (System.CodeDom.CodeMemberMethod method, System.Type controlType, System.String attvalue) [0x00000] at System.Web.Compilation.TemplateControlCompiler.AssignPropertiesFromRes ources (System.Web.UI.ControlBuilder builder, System.String attvalue) [0x00000] at System.Web.Compilation.TemplateControlCompiler.CreateAssignStatementFr omAttribute (System.Web.UI.ControlBuilder builder, System.String id) [0x00000] at System.Web.Compilation.TemplateControlCompiler.CreateAssignStatementsF romAttributes (System.Web.UI.ControlBuilder builder) [0x00000] at System.Web.Compilation.TemplateControlCompiler.CreateControlTree (System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean childrenAsProperties) [0x00000] at System.Web.Compilation.TemplateControlCompiler.CreateControlTree (System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean childrenAsProperties) [0x00000] at System.Web.Compilation.TemplateControlCompiler.CreateControlTree (System.Web.UI.ControlBuilder builder, Boolean inTemplate, Boolean childrenAsProperties) [0x00000] at System.Web.Compilation.TemplateControlCompiler.CreateMethods () [0x00000] at System.Web.Compilation.PageCompiler.CreateMethods () [0x00000] at System.Web.Compilation.BaseCompiler.Init () [0x00000] at System.Web.Compilation.BaseCompiler.GetCompiledType () [0x00000] at System.Web.Compilation.AspGenerator.GetCompiledType () [0x00000] at System.Web.UI.PageParser.CompileIntoType () [0x00000] at System.Web.UI.TemplateControlParser.GetCompiledInstance () [0x00000] at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000] at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context) [0x00000] at System.Web.HttpApplication+<>c__CompilerGenerated5.MoveNext () I've attached a gzipped tar archive containing a repro. ---- Additional Comments From gert.driesen@pandora.be 2007-08-15 17:01:09 MST ---- Created an attachment (id=171703) Gzipped tar archive containing repro ---- Additional Comments From mhabersack@novell.com 2007-08-17 08:59:46 MST ---- Gert, the attached test works fine for me: https://bugzilla.novell.com/show_bug.cgi?id=MONO81204/new_test$ mono --debug test.exe; echo $? 0 ---- Additional Comments From gert.driesen@pandora.be 2007-08-17 09:18:13 MST ---- I didn't check before, but it appears to only fail on Windows. This bug blocked bug(s) 80809. Imported an attachment (id=171702) Imported an attachment (id=171703) Unknown operating system other. Setting to default OS "Other".
The last part of this bus was fixed in SVN. See bug #324229.