[Mono-bugs] [Bug 72017][Min] New - ASP.NET trace incorrect formatting

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 31 Jan 2005 12:45:29 -0500 (EST)

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 m@pernecky.sk.


--- shadow/72017	2005-01-31 12:45:29.000000000 -0500
+++ shadow/72017.tmp.829	2005-01-31 12:45:29.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 72017
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details: 
+Status: NEW   
+Priority: Minor
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: m@pernecky.sk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: ASP.NET trace incorrect formatting
+System.Web.UI.Page.Trace.Write (string) produces invalif output. When using 
+this method the output is red (as when using System.Web.UI.Page.Trace.Warn 
+(string)). The other overload System.Web.UI.Page.Trace.Write (string, 
+string) produces correct output (the text in trace is black)
+<%@ Page Language="c#" AutoEventWireup="true" Trace="true" %>
+<script runat="server">
+public void Page_Load (object sender, EventArgs e)
+        Trace.Write ("test 1");
+        Trace.Write ("cat", "test 2");
+The result of running this script that we have one line red (w/ text "test 
+1" and one black line (w/ text "test 2" and category "cat")
+The correct output would be two black lines.