[Mono-bugs] [Bug 561723] New: [Regression] Compilation Error error in mojoportal 2.3.3.1 on mono-2.6

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 8 15:44:20 EST 2009


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

http://bugzilla.novell.com/show_bug.cgi?id=561723#c0


           Summary: [Regression] Compilation Error error in mojoportal
                    2.3.3.1 on mono-2.6
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: i586
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: mchristensen at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test
           Blocker: ---


With the latest mojoportal (2.3.3.1) I get an error running on 2.6 but with the
same RPM, I do not get the error on the mono-2.4.2.3 VMware image.  This since
this is a new error, this is a regression.

The mojoportal-2.3.3.1 (make sure to get the 2.3.3.1 version) RPM can be found
in the Mono:Community OBS project here.  They aren't done building at the time
I entered but bug report but should be available in an hour or so from now.

http://download.opensuse.org/repositories/Mono:/Community/openSUSE_11.1+Mono_Preview/noarch/

Using mono 2.6-34 rpms from the mono:preview repository,

Install mojoportal
log in as admin
click "edit" on the main page's content.  The following error is sent to the
browser:

=============================================

 Server Error in '/mojoportal' Application
Compilation Error

Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.

Compiler Error Message: CS0103: The name `GetIcon' does not exist in the
current context

Source Error:

Line 10:     <legend>    
Line 11:         <mp:SiteLabel id="lblHtmlSettings" runat="server"
ConfigKey="EditHtmlSettingsLabel" UseLabelTag="false"></mp:SiteLabel>
Line 12:         <asp:Literal ID="litModuleTitle" runat="server" />
Line 13:     </legend>
Line 14:     


Source File: /usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/HtmlEdit.aspx
 Lines: 12, 489, 543

Show Detailed Compiler Output:

gmcs /target:library
/lib:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin" /debug+
/optimize- /warn:4
/out:"/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_Web_df38fbf.dll"
/r:"/usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll"
/r:"/usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll"
/r:"/usr/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll"
/r:"/usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll"
/r:"/usr/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll"
/r:"/usr/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll"
/r:"/usr/lib/mono/gac/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll"
/r:"/usr/lib/mono/gac/System.IdentityModel/3.0.0.0__b77a5c561934e089/System.IdentityModel.dll"
/r:"/usr/lib/mono/gac/System.ServiceModel/3.0.0.0__b77a5c561934e089/System.ServiceModel.dll"
/r:"/usr/lib/mono/gac/System.ServiceModel.Web/3.5.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll"
/r:"/usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll"
/r:"/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll"
/r:"/usr/lib/mono/gac/System.Web.Extensions/3.5.0.0__31bf3856ad364e35/System.Web.Extensions.dll"
/r:"/usr/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll"
/r:"/usr/lib/mono/gac/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll"
/r:"/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_GlobalResources.304a8b3d.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/AjaxControlToolkit.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/Brettle.Web.NeatHtml.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/Brettle.Web.NeatUpload.GreyBoxProgressBar.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/Brettle.Web.NeatUpload.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/CSSFriendly.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/DotNetOpenMail.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/GCheckout.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/Highlighter.Net.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/Lucene.Net.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/MetaDataExtractor.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/RSS.NET.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/Recaptcha.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/Subkismet.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/ZedGraph.Web.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/ZedGraph.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/log4net.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/mojoPortal.Business.WebHelpers.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/mojoPortal.Business.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/mojoPortal.Data.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/mojoPortal.Net.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/mojoPortal.Web.Controls.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/mojoPortal.Web.Editor.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/mojoPortal.Web.Framework.dll"
/r:"/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/bin/mojoPortal.Web.dll"
/r:"/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_global.asax_1235e70a.dll"
/r:"/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_Web_230584aa.dll"  /nowarn:0169
/d:DEBUG  -- "/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_Web_df38fbf_0.cs"
"/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_Web_df38fbf_1.cs" 

/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/HtmlEdit.aspx(58,57):
warning CS0109: The member `ASP.htmledit_aspx.updHx' does not hide an inherited
member. The new keyword is not required
/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_Web_df38fbf_0.cs(336,1): warning CS0219:
The variable `Container' is assigned but its value is never used
/usr/share/mono/asp.net/apps/mojoportal-2.3.3.0.5900/ChooseContent.aspx(12,118):
error CS0103: The name `GetIcon' does not exist in the current context
/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_Web_df38fbf_0.cs(418,1): warning CS0219:
The variable `Container' is assigned but its value is never used
/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_Web_df38fbf_0.cs(489,1): error CS0103:
The name `GetCommandArgument' does not exist in the current context
/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_Web_df38fbf_0.cs(493,1): warning CS0219:
The variable `Container' is assigned but its value is never used
/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_Web_df38fbf_0.cs(511,1): warning CS0219:
The variable `Container' is assigned but its value is never used
/tmp/wwwrun-temp-aspnet-0/479f3fa9/App_Web_df38fbf_0.cs(543,1): error CS0103:
The name `GetCommandName' does not exist in the current context


Show Complete Compilation Source:

Line 1: <%@ Page Language="c#" CodeBehind="HtmlEdit.aspx.cs" 
MasterPageFile="~/App_MasterPages/layout.Master" AutoEventWireup="false"
Inherits="mojoPortal.Web.ContentUI.EditHtml" %>
Line 2: 
Line 3: <asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane"
runat="server" />
Line 4: <asp:Content ContentPlaceHolderID="mainContent" ID="MPContent"
runat="server">
Line 5: <mp:CornerRounderTop id="ctop1" runat="server" />
Line 6: <asp:Panel ID="pnlWrapper" runat="server" cssclass="panelwrapper
editpage htmlmodule yui-skin-sam">
Line 7: <asp:Panel ID="pnlEdit" runat="server" CssClass="modulecontent"
DefaultButton="btnUpdate">
Line 8: 
Line 9: <fieldset class="htmledit">
Line 10:     <legend>    
Line 11:         <mp:SiteLabel id="lblHtmlSettings" runat="server"
ConfigKey="EditHtmlSettingsLabel" UseLabelTag="false"></mp:SiteLabel>
Line 12:         <asp:Literal ID="litModuleTitle" runat="server" />
Line 13:     </legend>
Line 14:     
Line 15:         <mpe:EditorControl id="edContent"
runat="server"></mpe:EditorControl>
Line 16:        
Line 17:        
Line 18:         
Line 19:         <div class="settingrow">
Line 20:             
Line 21:         </div>
Line 22:         <div class="settingrow">
Line 23:             <asp:Button  id="btnUpdateDraft" runat="server"  Text=""
visible="false"></asp:Button>&nbsp;
Line 24:             <asp:Button  id="btnUpdate" runat="server" 
Text=""></asp:Button>&nbsp;
Line 25:             <asp:Button  id="btnDelete" runat="server"  Text=""
CausesValidation="False"></asp:Button>&nbsp;
Line 26:             <portal:GreyBoxHyperlink ID="lnkCompareDraftToLive"
runat="server" Visible="false" ClientClick="return
GB_showFullScreen(this.title, this.href)"   DialogCloseText='<%#
Resources.Resource.DialogCloseLink %>' />
Line 27:             <asp:HyperLink ID="lnkCancel" runat="server"
CssClass="cancellink" />&nbsp;
Line 28:             <portal:mojoHelpLink ID="MojoHelpLink11" runat="server"
HelpKey="htmlcontentedithelp" />    
Line 29:             <asp:HiddenField ID="hdnHxToRestore" runat="server" />
Line 30:             <asp:ImageButton ID="btnRestoreFromGreyBox" runat="server"
/>                
Line 31:         </div>
Line 32:         <asp:Panel ID="pnlWorkflowStatus" runat="server"
Visible="false">
Line 33:             <div class="settingrow">
Line 34:                 <mp:SiteLabel id="SiteLabel3" runat="server" 
CssClass="settinglabel" ConfigKey="ContentStatusLabel" ></mp:SiteLabel>
Line 35:                 <asp:Literal ID="litWorkflowStatus"
runat="server"></asp:Literal>
Line 36:             </div>
Line 37:              <div class="settingrow">
Line 38:                 <mp:SiteLabel id="lblRecentActionBy" runat="server" 
CssClass="settinglabel" ConfigKey="RejectedBy" ></mp:SiteLabel>
Line 39:                 <asp:Literal ID="litRecentActionBy"
runat="server"></asp:Literal>
Line 40:              </div>
Line 41:              <div class="settingrow">
Line 42:                 <mp:SiteLabel id="lblRecentActionOn" runat="server" 
CssClass="settinglabel" ConfigKey="RejectedOn" ></mp:SiteLabel>
Line 43:                 <asp:Literal ID="litRecentActionOn"
runat="server"></asp:Literal>
Line 44:              </div>
Line 45:              <div id="divRejection" runat="server">
Line 46:                 <div class="settingrow">
Line 47:                 <mp:SiteLabel id="SiteLabel2" runat="server" 
CssClass="settinglabel" ConfigKey="ContentLastEditBy" ></mp:SiteLabel>
Line 48:                 <asp:Literal ID="litCreatedBy"
runat="server"></asp:Literal>
Line 49:                 </div>
Line 50:                 <div class="settingrow">
Line 51:                 <mp:SiteLabel id="lblRejectionReason" runat="server" 
CssClass="settinglabel" ConfigKey="RejectionCommentLabel" ></mp:SiteLabel>
Line 52:                 <asp:Literal ID="ltlRejectionReason"
runat="server"></asp:Literal>
Line 53:                 </div>
Line 54:              </div>
Line 55:              
Line 56:         </asp:Panel>
Line 57:         
Line 58:         <asp:UpdatePanel ID="updHx" UpdateMode="Conditional"
runat="server">
Line 59:             <Triggers>
Line 60:             <asp:PostBackTrigger ControlID="grdHistory" />
Line 61:             </Triggers>
Line 62:             <ContentTemplate>
Line 63:             <asp:Panel ID="pnlHistory" runat="server" Visible="false">
Line 64:         <h2 class="heading versionheading"><asp:Literal
ID="litVersionHistory" runat="server" /></h2>
Line 65:             <portal:YuiGridView ID="grdHistory" runat="server"
Line 66:                  CssClass=""
Line 67:                  AutoGenerateColumns="false"
Line 68:                  DataKeyNames="Guid"
Line 69:                  EnableTheming="false"
Line 70:                  >
Line 71:                  <Columns>
Line 72:                     <portal:YuiTemplateField Key="CreatedUtc" >
Line 73:                         <ItemTemplate>
Line 74:                             <%#
DateTimeHelper.GetTimeZoneAdjustedDateTimeString(Eval("CreatedUtc"),
timeOffset)%>
Line 75:                             <br /><%# Eval("UserName") %>
Line 76:                         </ItemTemplate>
Line 77:                     </portal:YuiTemplateField>
Line 78:                     <portal:YuiTemplateField Key="HistoryUtc" >
Line 79:                         <ItemTemplate>
Line 80:                             <%#
DateTimeHelper.GetTimeZoneAdjustedDateTimeString(Eval("HistoryUtc"),
timeOffset)%>
Line 81:                         </ItemTemplate>
Line 82:                     </portal:YuiTemplateField>
Line 83:                     <portal:YuiTemplateField Key="" >
Line 84:                         <ItemTemplate>
Line 85:                         <portal:GreyBoxHyperlink ID="gb1"
runat="server" ClientClick="return GB_showFullScreen(this.title, this.href)"
NavigateUrl='<%# SiteRoot + "/HtmlCompare.aspx?pageid=" + pageId + "&mid=" +
moduleId + "&h=" + Eval("Guid") %>'  Text='<%#
Resources.Resource.HtmlCompareHistoryToCurrentLink %>' Tooltip='<%#
Resources.Resource.HtmlCompareHistoryToCurrentLink %>' DialogCloseText='<%#
Resources.Resource.DialogCloseLink %>' />
Line 86:                         <asp:Button ID="btnRestoreToEditor"
runat="server" Text='<%# Resources.Resource.RestoreToEditorButton %>'
CommandName="RestoreToEditor" CommandArgument='<%# Eval("Guid") %>' />
Line 87:                         <asp:Button ID="btnDelete" runat="server"
CommandName="DeleteHistory" CommandArgument='<%# Eval("Guid") %>'  Visible='<%#
isAdmin %>' Text='<%# Resources.Resource.DeleteHistoryButton %>' />
Line 88:                         </ItemTemplate>
Line 89:                     </portal:YuiTemplateField>
Line 90:             </Columns>
Line 91:             </portal:YuiGridView>
Line 92:             <div class="modulepager">
Line 93:                 <mp:CutePager ID="pgrHistory" runat="server" />
Line 94:             </div>
Line 95:             <div id="divHistoryDelete" runat="server"
class="settingrow">
Line 96:                 <asp:Button  id="btnDeleteHistory" runat="server" 
Text=""></asp:Button>
Line 97:             </div>
Line 98:             </asp:Panel>
Line 99:         </ContentTemplate>
Line 100:         </asp:UpdatePanel>
Line 101:         
Line 102: </fieldset>
Line 103: </asp:Panel>
Line 104: <asp:HiddenField ID="hdnReturnUrl" runat="server" />    
Line 105: </asp:Panel>    
Line 106: <mp:CornerRounderBottom id="cbottom1" runat="server" />
Line 107: <portal:SessionKeepAliveControl id="ka1" runat="server" />
Line 108: 
Line 109: </asp:Content>
Line 110: <asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane"
runat="server" />
Line 111: <asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit"
runat="server" />

Version information: Mono Runtime Version: tarball Tue Sep 29 22:46:42 UTC
2009; ASP.NET Version: 2.0.50727.1433

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