[Mono-bugs] [Bug 58481][Nor] New - MONO Beta 1 Bug: Page Attribute Trace=False does not work

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 14 May 2004 01:46:18 -0400 (EDT)


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 davidandrewtaylor@hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=58481

--- shadow/58481	2004-05-14 01:46:18.000000000 -0400
+++ shadow/58481.tmp.1583	2004-05-14 01:46:18.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 58481
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 002 Two hours
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: davidandrewtaylor@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MONO Beta 1 Bug: Page Attribute Trace=False does not work
+
+Description of Problem:
+It you have Trace enabled in Web.config (I also had the trace being 
+output to the page) but then disable it for a specific ASPX page with the 
+attribute Trace="False" MONO Beta 1 ignores the attribute end leaves 
+Tracing enabled, whilst MS.NET overrides the web.config setting with the 
+Page level attribute setting.
+
+This bug should be fixed in time for MONO beta 2.
+
+Steps to reproduce the problem:
+1. Enable Tracing in Web.config
+2. On a specific page include Page attribute Trace="False"
+3. Hit the page and note tracing is still enabled.
+
+Actual Results:
+Tracing was enabled.
+
+Expected Results:
+The Page level attribute should have overridden the Web.config setting 
+for that page.
+
+How often does this happen? 
+All the time on MONO Beta 1 and never on MS.NET
+
+Additional Information:
+This is more important than you think because I was actually returning 
+XML instead of HTML from an ASPX page (rather than using a HTTPHandler), 
+and the additional Trace information caused a web browser error (because 
+obviously well formed XML was no longer returned with the trace into at 
+the bottom of the page).