[Mono-bugs] [Bug 498637] New: HTML link tag in ASP.NET MVC render bug

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 27 17:34:24 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=498637


           Summary: HTML link tag in ASP.NET MVC render bug
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: i386
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: ludovic.lam at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=288458)
 --> (http://bugzilla.novell.com/attachment.cgi?id=288458)
Compiled with VS2008

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.9)
Gecko/2009040821 Firefox/3.0.9 (.NET CLR 3.5.30729)

on this post http://frugalcoder.us/?tag=/mysite. After compiling and running
the ASP.NET MVC project http://frugalcoder.us/file.axd?file=MySite.zip , I saw
the HTML source was not correctly render with the <link> tag inclued in <head>
tag. But into the <body> tag, that works. Problem here :
~/Themes/Default/Views/Shared/Site.Master


Reproducible: Always

Steps to Reproduce:
1. compile and launch the main page. eg : http://localhost/test/
2. see the html source code
3. hint the <link> tag
Actual Results:  
<link rel="stylesheet" type="text/css"
href="test/Themes/Default/Views/Shared/&lt;%=
Page.ResolveClientUrl(&quot;~/Themes/Default/Content/Site.css&quot;) %>"
/></link>


Expected Results:  
<link href="/Themes/Default/Content/Site.css" rel="stylesheet"
type="text/css"></link>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title><%= Html.Encode(ViewData["Title"]) %></title>
    <asp:ContentPlaceHolder ID="head" runat="server"></asp:ContentPlaceHolder>
    <link href="<%= Page.ResolveClientUrl("~/Themes/Default/Content/Site.css")
%>" rel="stylesheet" type="text/css" />
</head>

<body>
..
</body>

-- 
Configure bugmail: http://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