[Mono-bugs] [Bug 60572][Wis] New - <pages pageBaseType="..."> not working

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 22 Jun 2004 12:50:38 -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 andrewarnott@byu.edu.

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

--- shadow/60572	2004-06-22 12:50:38.000000000 -0400
+++ shadow/60572.tmp.24236	2004-06-22 12:50:38.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 60572
+Product: Mono: Class Libraries
+Version: unspecified
+OS: SUSE 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: AndrewArnott@byu.edu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: <pages pageBaseType="..."> not working
+
+Description of Problem:
+Mono ASP.NET web server ignores the following tag in the Web.config file of
+a web site:
+<pages pageBaseType="MyPage, MyPage" />
+I have a single web page that has no code-behind and does not declare a
+base page type.  This should allow the tag above to cause the page to
+inherit from MyPage, rather than the default System.Web.UI.Page.  But it
+doesn't work.
+
+Steps to reproduce the problem:
+1. Attached is a compressed tarball with all the files to reproduce the
+problem.  The directory inside the tarball is "simple".  That is the root
+directory of the bug web site.
+1A. Optional. Compile the assembly that contains the 
+2. Start xsp (mod-mono-server.exe exhibits the same behavior) using:
+# mono xsp.exe --root /somepath/simple/
+3. Browse to http://localhost:8080, or similar.
+
+Actual Results:
+A web page that displays "Hello".
+
+Expected Results:
+A web page that displays "In Page_Load" on the first line, and "Hello" on
+the third.  This behavior DOES occur while under IIS on Windows.
+
+
+How often does this happen? 
+Every time.  
+
+Additional Information:
+This is on Mono downloaded from anoncvs on morning of June 22.  June 2 CVS
+did not seem to have this problem.