[Mono-bugs] [Bug 81437][Nor] New - browscaps.ini does not contain a definition for capability msdomversion for userAgent Mozilla
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Apr 24 06:50:32 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by informatique.internet at fiducial.fr.
http://bugzilla.ximian.com/show_bug.cgi?id=81437
--- shadow/81437 2007-04-24 06:50:32.000000000 -0400
+++ shadow/81437.tmp.15413 2007-04-24 06:50:32.000000000 -0400
@@ -0,0 +1,80 @@
+Bug#: 81437
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com
+ReportedBy: informatique.internet at fiducial.fr
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: browscaps.ini does not contain a definition for capability msdomversion for userAgent Mozilla
+
+Description of Problem:
+If you access the Request.Browser.MSDomVersion with firefox you'll get this
+error message : browscaps.ini does not contain a definition for capability
+msdomversion for userAgent Mozilla
+
+Steps to reproduce the problem:
+1. Try this :
+<%@ Page Language="C#" %>
+<Head>
+ <script language=CS runat=server>
+ void Page_Load(object sender, System.EventArgs e)
+ {
+ Console.WriteLine(Request.Browser.W3CDomVersion);
+ Console.WriteLine(Request.Browser.MSDomVersion);
+ }
+ </script>
+</Head>
+2. run xsp
+3. access to http://localhost:8080 using firefox
+
+Actual Results:
+System.ArgumentNullException: Argument cannot be null.
+Parameter name: browscaps.ini does not contain a definition for capability
+msdomversion for userAgent Mozilla
+ at System.Web.HttpBrowserCapabilities.ReadVersion (System.String key)
+[0x00000]
+ at System.Web.HttpBrowserCapabilities.get_MSDomVersion () [0x00000]
+ at MetaBuilders.WebControls.ClientScriptUtil.get_RenderUplevel () [0x00000]
+ at MetaBuilders.WebControls.ConfirmedLinkButton.OnPreRender
+(System.EventArgs e) [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Control.PreRenderRecursiveInternal () [0x00000]
+ at System.Web.UI.Page.InternalProcessRequest () [0x00000]
+ at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
+[0x00000]
+
+
+Expected Results:
+(on mono 1.2.3.50)
+
+xsp
+Listening on port: 8099 (non-secure)
+Listening on address: 0.0.0.0
+Root directory: /home/hubert/applications/test
+Hit Return to stop the server.
+1.0
+0.0
+
+How often does this happen?
+always
+
+Additional Information:
+it's a kind of regression!
More information about the mono-bugs
mailing list