[Mono-bugs] [Bug 43477][Maj] New - Classes in external pages that aspx pages inherit from will only compile once using XSP.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 22 May 2003 00:52: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 bestworldweb@yahoo.co.nz.

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

--- shadow/43477	Thu May 22 00:52:38 2003
+++ shadow/43477.tmp.8767	Thu May 22 00:52:38 2003
@@ -0,0 +1,86 @@
+Bug#: 43477
+Product: Mono/MCS
+Version: unspecified
+OS: Mandrake 8.2
+OS Details: Linux ************.homelinux.com 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686 unknown
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bestworldweb@yahoo.co.nz               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Classes in external pages that aspx pages inherit from will only compile once using XSP.
+
+Description of Problem:
+
+Classes in external pages that aspx pages inherit from will only compile
+once and any changes made to the external files will not be visible on the
+aspx page.
+
+
+Steps to reproduce the problem:
+1. Create aspx page with the following code:
+
+<%@ Page Language="C#"   src="user.cs" Inherits="AddUser"%>
+<html>
+<head>
+</head>
+<body>
+    <form runat="server">
+	<asp:Label id="Label2" runat="server"></asp:Label>
+    </form>
+</body>
+</html>
+
+2. Create a file called user.cs with the following code:
+
+using System;
+using System.Data.SqlClient;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using WebWeaver.BlogSharp;
+
+public class AddUser:System.Web.UI.Page{
+
+
+	public AddUser():base(){}
+
+	public void Page_Load(  Object o, System.EventArgs e   ){
+		Response.Write("version 1.3");
+
+	}
+
+}
+
+
+
+
+
+
+3. Run/compile the page and view with a web browser. Then alter the AddUser
+class. For example parameter for Response.Write in the Page_Load method.
+Rerun/recompile the page and view with a web browser.
+
+Actual Results: The changes made to the AddUser class to not appear. The
+class appears to not have compiled.
+
+
+Expected Results: Changes made to the AddUser will be reflected in the aspx
+page.
+
+
+How often does this happen? All the time. If I restart the XSP server it
+recompiles everything and there for changes occur but I have to restat the
+server everytime I change a class in an external file.
+
+
+Additional Information: I am running mono release 0.24 and XSP 0.4. mono
+was installed using Mandrake rpms from go-mono.org.
+
+Thanks for your help in advance.