https://bugzilla.novell.com/show_bug.cgi?id=441509

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=441509#c437691

           Summary: HttpApplicationFactory: AttachEvents differences
                    compares to MS
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---


While creating a regression test for bug #437691, I noticed the following
issues:

Application_Start: We should only use the last matching handler method.
Application_BeginRequest: We should only use the first matching handler method.
Session_Start: All matching handler methods should be used.

I haven't checked any other events, so perhaps there's more weirdness to
discover.

In .NET 1.1, no static handler methods are considered for Session_Start.

NET 2.0 does not support static handler methods at all (for both Session_* and
Application_*).

MS also only all handler methods (regardless of their accessibility) in the
generated HttpApplication class (ASP.Global_asax) and its direct base class.

For more "distant" base classes, only public and protected (family) methods
should be considered. In the 2.0 profile, also internal (FamilyOrAssembly)
methods should be taken into account.

I also noticed that our support for static handler methods is broken. The
attached patch should fix that.

See gert/standalone/bug437691 for a full repro.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to