[Mono-bugs] [Bug 493263] New: Using custom resource provider crashes application

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 8 11:49:12 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=493263


           Summary: Using custom resource provider crashes application
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i386
        OS/Version: RHEL 5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: mika.aalto at tut.fi
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=284798)
 --> (http://bugzilla.novell.com/attachment.cgi?id=284798)
Example application to reproduce this bug

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64;
SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729;
NET CLR 3.0.30618)

Application loading fails when customized resource provider is defined in
Web.config globalization element resourceProviderFactoryType attribute.

Works with IIS and MS .NET.

Reproducible: Always

Steps to Reproduce:
1. Compile and run attached example application
2. 
3.
Actual Results:  
A resource object was not found at the specified virtualPath.
Description: HTTP 500. Error processing request.

Stack Trace: 

System.Resources.MissingManifestResourceException: A resource object was not
found at the specified virtualPath.
  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.AssignPropertyFromResources
(System.Web.UI.ControlBuilder builder, System.Reflection.MemberInfo mi,
System.String attvalue) [0x00000] 
  at
System.Web.Compilation.TemplateControlCompiler.AssignPropertiesFromResources
(System.Web.UI.ControlBuilder builder, System.Type controlType, System.String
attvalue) [0x00000] 
  at
System.Web.Compilation.TemplateControlCompiler.AssignPropertiesFromResources
(System.Web.UI.ControlBuilder builder, System.String attvalue) [0x00000] 
  at
System.Web.Compilation.TemplateControlCompiler.CreateAssignStatementFromAttribute
(System.Web.UI.ControlBuilder builder, System.String id) [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.ConstructType () [0x00000] 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].GenerateCode ()
[0x00000] 
  at System.Web.Compilation.GenericBuildProvider`1[TParser].GenerateCode
(System.Web.Compilation.AssemblyBuilder assemblyBuilder) [0x00000] 
  at System.Web.Compilation.BuildManager.GenerateAssembly
(System.Web.Compilation.AssemblyBuilder abuilder,
System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp,
Boolean debug) [0x00000]  

--------------------------------------------------------------------------------
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version:
2.0.50727.1433 

Expected Results:  
Page with language selection drop down list is displayed and hello text is
translated according to selected language.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list