https://bugzilla.novell.com/show_bug.cgi?id=324229#c1


Robert Jordan <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
            Summary|[WIN32] ArgumentNullException in                
|[PATCH][WIN32] ArgumentNullException in
                   |SimpleWorkerRequest.MapPath                     
|SimpleWorkerRequest.MapPath




--- Comment #1 from Robert Jordan <[EMAIL PROTECTED]>  2007-09-20 16:46:37 MST 
---
Here's what I got from a CWL trace:

1. TemplateControlCompiler.AssignPropertyFromResources:
   inputFile:  c:\tmp\xsp5\web\Default.aspx

2. TemplateControlCompiler.AssignPropertyFromResources:
   inputFile:  \Default.aspx

   that's after:

   if (StrUtils.StartsWith (inputFile, physPath))
        inputFile = parser.InputFile.Substring (physPath.Length - 1);


3. HttpContext.GetLocalResourceObject

   virtualPath: \Default.aspx
   path: \


It looks loke the physical path to virtual path mapping is broken in
TemplateControlCompiler.AssignPropertyFromResources

The fix is a simple as flipping the path separators, but I guess there
are some helper method inside Sys.Web that could map better between
phys and virt paths.


-- 
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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to