[Mono-bugs] [Bug 529240] New: Master File with <head> section erroneously outputs <title>

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Aug 7 11:55:20 EDT 2009


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


           Summary: Master File with <head> section erroneously outputs
                    <title>
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: abe.gillespie at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US;
rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2

If you have a master file that has the following:

<head runat="server">
    <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
</head>

Then it will output an empty <title></title> block.  So if you do this in
another page:

<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage"
MasterPageFile="~/Site.master" %>

<asp:Content ContentPlaceHolderID="head" runat="server">
    <title>My Title</title>
</asp:Content>

you will get two <title></title> blocks.

Reproducible: Always

Actual Results:  
<title> outputted.

Expected Results:  
<title> should not be outputted.

-- 
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