[Mono-bugs] [Bug 58481][Nor] New - MONO Beta 1 Bug: Page Attribute Trace=False does not work
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 email@example.com.
--- 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 @@
+Product: Mono: Class Libraries
+OS: Red Hat 9.0
+Severity: 002 Two hours
+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.
+Tracing was enabled.
+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
+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).