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 PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78626 --- shadow/78626 2006-06-14 20:03:40.000000000 -0400 +++ shadow/78626.tmp.20152 2006-06-14 20:03:40.000000000 -0400 @@ -0,0 +1,61 @@ +Bug#: 78626 +Product: Mono: Class Libraries +Version: 1.1 +OS: unknown +OS Details: FC5 +Status: ASSIGNED +Resolution: +Severity: Unknown +Priority: Normal +Component: Sys.Web +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Recompilation of modified .ascx files sometimes not triggered + +To reproduce the problem: + +- extract to attached test case, start xsp +- request test.aspx (-> compilation) + +- modify TestControlOne.ascx +- request test.aspx (-> compilation) + +- modify TestControlTwo.ascx +- request test.aspx (-> compilation) + +- modify TestControlOne.ascx again +- request test.aspx -> no compilation! + +------- Additional Comments From [EMAIL PROTECTED] 2006-06-12 16:44 ------- +Created an attachment (id=17164) +test case (test.tar.gz) + + +------- Additional Comments From [EMAIL PROTECTED] 2006-06-12 16:55 ------- +To keep track of the source files, a CacheDependency object is created +for every .aspx/.ascx file. +But debugging showed that 6 CacheDependency objects are actually being +created on the first request to test.aspx (which references two .ascx +files): +- two objects for [test.aspx, TestControlOne.ascx] +- four objects for [test.aspx,TestControlOne.ascx,TestControlTwo.ascx] + +One duplication is the result of _both_ AspGenerator.GetCompiledType +and CachingCompiler.Compile creating equivalent CacheDependency objects. + +So enough though the source files are being monitored by multiple +watchers, the compilation is not always being triggered... + +------- Additional Comments From [EMAIL PROTECTED] 2006-06-12 17:01 ------- +I'm attaching a small patch which I used for debugging. It dumps a +stacktrace and the most important info to stderr, whenever +CacheDependency.ctor or CacheDependency.OnChanged are called. + +------- Additional Comments From [EMAIL PROTECTED] 2006-06-12 17:01 ------- +Created an attachment (id=17165) +CacheDep.patch - just for debugging purposes + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
