[Mono-bugs] [Bug 594035] New: Problem with culture - Culture name en-tt is not supported

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 6 10:42:53 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=594035#c0


           Summary: Problem with culture - Culture name en-tt is not
                    supported
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: 32bit
        OS/Version: openSUSE 11.2
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: dr_doom1983 at yahoo.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=352610)
 --> (http://bugzilla.novell.com/attachment.cgi?id=352610)
Small Project to reproduce the error.

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3

Hi, I am using the Telerik RadControls for ASP.NET AJAX which normally work
with Mono (my Version in this case is 2.6.3). Filling the RadNumericTextBox
with a value from code behind or creating a PostBack after the user entered a
value raises the exception below.
Normally I would not mention this as a Mono bug but there is something that
makes me believe that this is a Mono problem. This behaviour does not appear in
Mono 2.4.2.3 (which I used before) with the same version of telerik controls. 
I checked the behaviour under openSuse 11.1 and Windows 7 as well. Always the
same error.

Reproducible: Always

Steps to Reproduce:
1.Use attached project
Actual Results:  
The following exception appeared:


Server Error in '/' Application
Culture name en-tt is not supported. Parameter name: name

Description: HTTP 500. Error processing request.

Stack Trace:

System.ArgumentException: Culture name en-tt is not supported.
Parameter name: name
  at System.Globalization.CultureInfo..ctor (System.String name, Boolean
useUserOverride, Boolean read_only) [0x0006b] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/corlib/System.Globalization/CultureInfo.cs:781 
  at System.Globalization.CultureInfo..ctor (System.String name, Boolean
useUserOverride) [0x00000] in <filename unknown>:0 
  at System.Globalization.CultureInfo..ctor (System.String name) [0x00000] in
<filename unknown>:0 
  at Telerik.Web.UI.InputUtil.FormatDouble (Double value,
Telerik.Web.UI.NumberFormatSettings NumberFormat) [0x00000] in <filename
unknown>:0 
  at Telerik.Web.UI.NumberFormat.Format (Nullable`1 num,
Telerik.Web.UI.NumberFormatSettings config) [0x00000] in <filename unknown>:0 
  at Telerik.Web.UI.RadNumericTextBox.AddAttributesToRender
(System.Web.UI.HtmlTextWriter writer) [0x00000] in <filename unknown>:0 
  at Telerik.Web.UI.RadInputControl.RenderInputElements
(System.Web.UI.HtmlTextWriter writer) [0x00000] in <filename unknown>:0 
  at Telerik.Web.UI.RadInputControl.RenderContents
(System.Web.UI.HtmlTextWriter writer) [0x00000] in <filename unknown>:0 
  at System.Web.UI.WebControls.WebControl.Render (System.Web.UI.HtmlTextWriter
writer) [0x0001f] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI.WebControls/WebControl.cs:591 
  at Telerik.Web.UI.RadWebControl.Render (System.Web.UI.HtmlTextWriter writer)
[0x00000] in <filename unknown>:0 
  at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer)
[0x0005f] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI/Control.cs:1310 
  at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter writer)
[0x0006d] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI/Control.cs:1143 
  at System.Web.UI.HtmlControls.HtmlForm.RenderChildren
(System.Web.UI.HtmlTextWriter w) [0x00038] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs:419 
  at System.Web.UI.HtmlControls.HtmlContainerControl.Render
(System.Web.UI.HtmlTextWriter writer) [0x00007] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlContainerControl.cs:124 
  at System.Web.UI.HtmlControls.HtmlForm.Render (System.Web.UI.HtmlTextWriter
w) [0x00000] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs:440 
  at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer)
[0x0005f] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI/Control.cs:1310 
  at System.Web.UI.HtmlControls.HtmlForm.RenderControl
(System.Web.UI.HtmlTextWriter w) [0x00000] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlForm.cs:429 
  at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter writer)
[0x0006d] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI/Control.cs:1143 
  at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter writer)
[0x00000] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI/Control.cs:1118 
  at System.Web.UI.Page.Render (System.Web.UI.HtmlTextWriter writer) [0x00172]
in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI/Page.cs:1144 
  at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter writer)
[0x0005f] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI/Control.cs:1310 
  at System.Web.UI.Page.RenderPage () [0x00032] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI/Page.cs:1693 
  at System.Web.UI.Page.InternalProcessRequest () [0x001d7] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI/Page.cs:1558 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x0005b] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/System.Web/System.Web.UI/Page.cs:1367 

Version information: Mono Runtime Version: 2.6.3 (tarball Fri Mar 12 16:12:47
UTC 2010); ASP.NET Version: 2.0.50727.1433

Expected Results:  
The page should have been opened.

I added a trial version of the Telerik controls to the project.

-- 
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