[Mono-bugs] [Bug 681421] New: CombineVirtualPaths method in VirtualPathProvider is ignored

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 21 18:29:30 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=681421#c0


           Summary: CombineVirtualPaths method in VirtualPathProvider is
                    ignored
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: Tomasz.Kubacki at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=420571)
 --> (http://bugzilla.novell.com/attachment.cgi?id=420571)
monodevelop >= 2.6 asp.net mvc2 test bug solution

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16
(KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16

While using custom VirtualPathProvider - CombineVirtualPaths method is not
called in mono 2.10.1 as opposite to what .net does. This makes custom
VirtualPathProvider unable to function correctly in some scenerios.

E.g in attached project VirtualPathProvider overrides path where Master.Site  
resides. Master.Site from custom path will not be instantiated and following
error appears: Failed to create MasterPage instance for
'~/Views/Shared/Site.Master'.
Attached project will throw exception in mono 2.10 and work correctly in .net
4.0

Reproducible: Always

Steps to Reproduce:
1.open attached project in monodevelop >= 2.6 and mono >= 2.10.1 
2.run it

Actual Results:  
error 500 Failed to create MasterPage instance for
'~/Views/Shared/Site.Master'.

Expected Results:  
see overriden master page

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list