Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John Hodgkinson 613 posts 355 karma points
    Aug 23, 2012 @ 16:44
    John Hodgkinson
    0

    4.8.1 publishing issues

    is anyone have any publishing problems with 4.8.1 or having initial paragraph tags being encoded and rendered on the screen? I'm also getting random unsaved icons in the CMS when I click save and publish or do a publish all.

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Aug 23, 2012 @ 17:04
    Tom Fulton
    0

    Hi John,

    The random unsaved icons I think is a known issue and has been resolved for the next release, see:  http://issues.umbraco.org/issue/U4-278

    I'm not sure about the other issue, can you elaborate?

    -Tom

  • John Hodgkinson 613 posts 355 karma points
    Aug 23, 2012 @ 17:25
    John Hodgkinson
    0

    Tom - thanks for the icon issue info! much appreciated.

    in regards to the <p> tag, when I click save and publish paragraph tags are getting inserted (which seems normal) but the paragraph tags and then getting encoded somehow when displayed. see snapshot below. I've clicked save and publish on first 3 items. they now have an encoded paragraph tag displayed. the other previous ones do not. could this be a TinyMCE issue? this problem did not exist before upgrading from 4.7... also it seems that when you use the latest version of FireFox and go into HTML mode nothing is displayed.

     

  • John Hodgkinson 613 posts 355 karma points
    Aug 23, 2012 @ 17:51
    John Hodgkinson
    0

    Tom - it also looks like the data is not being encoded and stored in the db...

    from db:

    <doc_downloads_item id="36860" parentID="15141" level="4" writerID="0" creatorID="0" nodeType="1669" template="1649" sortOrder="0" createDate="2010-02-11T15:15:34" updateDate="2012-08-23T10:41:55" nodeName="Asset Purchase Agreement Tech Co" urlName="asset-purchase-agreement-tech-co" writerName="Administrator" creatorName="Administrator" path="-1,2314,15132,15141,36860" isDoc=""><umbracoNaviHide>0</umbracoNaviHide><navTitle>Asset Purchase Agreement – Tech Co</navTitle><downloadCommentsAllowedGroups>Business Law</downloadCommentsAllowedGroups><downloadCommentsConfirmationFrom></downloadCommentsConfirmationFrom><downloadCommentsConfirmationTo></downloadCommentsConfirmationTo><umbracoSideNaviHide>0</umbracoSideNaviHide><pageTitle>Asset Purchase Agreement – Tech Co</pageTitle><bodyText><![CDATA[<p>General asset purchase agreement for buying the assets of a technology company as a going-concern, but can be used for other types of businesses as well</p>]]></bodyText><excludeFromFeaturedItems>0</excludeFromFeaturedItems><titleIndex><![CDATA[]]></titleIndex><excludeFileFromSearch>0</excludeFileFromSearch><downloadItem>36859</downloadItem><newWindow>0</newWindow><itemDate>2010-02-11T00:00:00</itemDate><allowedAccess>2</allowedAccess></doc_downloads_item>

    from umbraco cache file:

            <doc_downloads_item id="36860" parentID="15141" level="4" writerID="0" creatorID="0" nodeType="1669" template="1649" sortOrder="0" createDate="2010-02-11T15:15:34" updateDate="2012-08-23T10:41:55" nodeName="Asset Purchase Agreement Tech Co" urlName="asset-purchase-agreement-tech-co" writerName="Administrator" creatorName="Administrator" path="-1,2314,15132,15141,36860" isDoc="">

              <umbracoNaviHide>0</umbracoNaviHide>

              <navTitle>Asset Purchase Agreement – Tech Co</navTitle>

              <downloadCommentsAllowedGroups>Business Law</downloadCommentsAllowedGroups>

              <downloadCommentsConfirmationFrom />

              <downloadCommentsConfirmationTo />

              <umbracoSideNaviHide>0</umbracoSideNaviHide>

              <pageTitle>Asset Purchase Agreement – Tech Co</pageTitle>

              <bodyText><![CDATA[<p>General asset purchase agreement for buying the assets of a technology company as a going-concern, but can be used for other types of businesses as well</p>]]></bodyText>

              <excludeFromFeaturedItems>0</excludeFromFeaturedItems>

              <titleIndex><![CDATA[]]></titleIndex>

              <excludeFileFromSearch>0</excludeFileFromSearch>

              <downloadItem>36859</downloadItem>

              <newWindow>0</newWindow>

              <itemDate>2010-02-11T00:00:00</itemDate>

              <allowedAccess>2</allowedAccess>

            </doc_downloads_item>

     

    the xslt that renders to the page:

     

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#x00A0;"> ]>

    <xsl:stylesheet 

    version="1.0" 

    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 

    xmlns:msxml="urn:schemas-microsoft-com:xslt"

    xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets" xmlns:mediaHelper="urn:mediaHelper" xmlns:macroHelper="urn:macroHelper" xmlns:urlsHelper="urn:urlsHelper" xmlns:w3Helper="urn:w3Helper" xmlns:authenticationHelper="urn:authenticationHelper" xmlns:XsltHelper="urn:XsltHelper" xmlns:StarRating="urn:StarRating" xmlns:relatedLinks.library="urn:relatedLinks.library" 

    exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets mediaHelper macroHelper urlsHelper w3Helper authenticationHelper XsltHelper StarRating relatedLinks.library ">

     

    <xsl:output method="xml" omit-xml-declaration="yes"/>

     

    <xsl:param name="currentPage"/>

     

    <xsl:template match="/">

     

    <table class="datatable_Container" cellspacing="0">

     

    <xsl:for-each select="$currentPage/descendant::*[@isDoc]">

     

    <xsl:sort select="pageTitle" order="ascending"/>

     

    <xsl:if test="name() = 'doc_downloads_item' and umbracoNaviHide != '1' and downloadItem !=''">

     

    <tr>

    <xsl:choose>  

      <xsl:when test="position() mod 2 = 1">  

              <xsl:attribute name="class">datatable_Container_OddRow</xsl:attribute> 

            </xsl:when>  

            <xsl:otherwise>  

                    <xsl:attribute name="class">datatable_Container_EvenRow</xsl:attribute>   

            </xsl:otherwise>  

    </xsl:choose>

     

    <xsl:choose>

      <xsl:when test="layoutType = 'Blank' or newWindow = '1' "><td class="datatable_Container_Title_Top"><a title="Read Article: {pageTitle}" href="{umbraco.library:NiceUrl(@id)}"><xsl:value-of select="pageTitle"/></a><br/><xsl:value-of select="bodyText"/></td><td  class="datatable_Container_Date"><xsl:value-of select="umbraco.library:LongDate(itemDate)"/></td><td class="datatable_Container_Download_Now">

     

    <a href="{umbraco.library:GetMedia(downloadItem, 'false')/umbracoFile}" class="fancybox-iframe" title="View: '{pageTitle}'"><img width="24" height="24" alt="View '{pageTitle}' Now" border="0" src="/media/5397944/icon_view_green_small.gif"/></a>

     

    &nbsp;

     

    <a href="{umbraco.library:GetMedia(downloadItem, 'false')/umbracoFile}" title="Download: '{pageTitle}'"><img width="21" height="24" alt="Download '{pageTitle}' Now" border="0" src="/media/5397949/icon_download2_green_small.gif"/></a>

     

    </td>

      </xsl:when>

     

      <xsl:otherwise><td class="datatable_Container_Title_Top"><a title="Read Article: {pageTitle}" href="{umbraco.library:NiceUrl(@id)}"><xsl:value-of select="pageTitle"/></a><br/><xsl:value-of select="bodyText"/></td><td  class="datatable_Container_Date"><xsl:value-of select="umbraco.library:LongDate(itemDate)"/></td><td class="datatable_Container_Download_Now">

     

    <a href="{umbraco.library:GetMedia(downloadItem, 'false')/umbracoFile}" class="fancybox-iframe" title="View: '{pageTitle}'"><img width="24" height="24" alt="View '{pageTitle}' Now" border="0" src="/media/5397944/icon_view_green_small.gif"/></a>

     

    &nbsp;

     

    <a href="{umbraco.library:GetMedia(downloadItem, 'false')/umbracoFile}" title="Download: '{pageTitle}'"><img width="21" height="24" alt="Download '{pageTitle}' Now" border="0" src="/media/5397949/icon_download2_green_small.gif"/></a>

     

    </td>

        </xsl:otherwise>

    </xsl:choose>

     

    </tr>

     

    </xsl:if>

    </xsl:for-each>

     

     

    <!-- for non-data/empty row -->

    <xsl:if test="count($currentPage/descendant::*[@isDoc][string(./umbracoNaviHide) != '1']) = '0'">

      <tr><td></td><td></td></tr>

    </xsl:if>

     

    </table>

     

    </xsl:template>

     

    </xsl:stylesheet>

     

     

  • John Hodgkinson 613 posts 355 karma points
    Aug 23, 2012 @ 17:58
    John Hodgkinson
    0

    ok, looking at the older records that have not been touch since upgrading, it looks like a <p> was NOT getting inserted on save and publish:

    <doc_downloads_item id="53005" parentID="15141" level="4" writerID="0" creatorID="0" nodeType="1669" template="1649" sortOrder="4" createDate="2012-03-09T12:11:19" updateDate="2012-08-23T10:41:59" nodeName="Assignment of Membership Interest" urlName="assignment-of-membership-interest" writerName="Administrator" creatorName="Administrator" path="-1,2314,15132,15141,53005" isDoc=""><umbracoNaviHide>0</umbracoNaviHide><navTitle>Assignment of Membership Interest</navTitle><downloadCommentsAllowedGroups>Business Law</downloadCommentsAllowedGroups><downloadCommentsConfirmationFrom></downloadCommentsConfirmationFrom><downloadCommentsConfirmationTo></downloadCommentsConfirmationTo><umbracoSideNaviHide>0</umbracoSideNaviHide><pageTitle>Assignment of Membership Interest</pageTitle><bodyText><![CDATA[Assignment of LLC membership interest by member to assignee, with basic assignor warranties, assumption of member obligations by assignee, and consent by other members]]></bodyText><excludeFromFeaturedItems>0</excludeFromFeaturedItems><titleIndex><![CDATA[]]></titleIndex><excludeFileFromSearch>0</excludeFileFromSearch><downloadItem>53004</downloadItem><newWindow>0</newWindow><itemDate>2012-03-09T00:00:00</itemDate><allowedAccess>2</allowedAccess></doc_downloads_item>

     

     

  • John Hodgkinson 613 posts 355 karma points
    Aug 23, 2012 @ 19:37
    John Hodgkinson
    0

    ok, looks like I can control this via the tinyMceConfig.config file by setting the following property:

      <customConfig>

        <config key="entity_encoding">raw</config>

        <config key="spellchecker_rpc_url">GoogleSpellChecker.ashx</config>

        <config key="forced_root_block">false</config>

      </customConfig>

     

  • John Hodgkinson 613 posts 355 karma points
    Aug 23, 2012 @ 19:56
    John Hodgkinson
    0

    thx Tom - went ahead an updated the cms.dll as well... much appreciated...

    http://umbraco.codeplex.com/SourceControl/changeset/a248c20804ba

     

  • John Hodgkinson 613 posts 355 karma points
    Aug 23, 2012 @ 20:44
    John Hodgkinson
    0

    after making the code adjustment, I'm actually gettting timeout errors now on nodes with hundreds of child nodes:

     

    At /umbraco/webservices/TreeDataService.ashx?rnd=3d905381c5ca4c7fb775754940fdb419&id=6526&treeType=content&contextMenu=true&isDialog=false&rnd2=13.8 (Referred by: /umbraco/umbraco.aspx#content): System.Data.SqlClient.SqlException (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at umbraco.DataLayer.SqlHelpers.SqlServer.SqlServerHelper.ExecuteReader(String commandText, SqlParameter[] parameters) at umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) 

     

  • John Hodgkinson 613 posts 355 karma points
    Aug 23, 2012 @ 20:51
    John Hodgkinson
    0

    some more info when trying to republish the parent and child nodes:

     

    Server Error in '/' Application.


    Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.]
       System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +404
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +412
       System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1363
       System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +59
       System.Data.SqlClient.SqlDataReader.get_MetaData() +118
       System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6368433
       System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6370002
       System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +538
       System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28
       System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +256
       System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +228
       Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +262
       umbraco.DataLayer.SqlHelpers.SqlServer.SqlServerHelper.ExecuteReader(String commandText, SqlParameter[] parameters) +26
       umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) +148
    
    [SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteReader]
       umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) +261
       umbraco.cms.businesslogic.web.Document.GetChildrenForTree(Int32 NodeId) +597
       umbraco.cms.businesslogic.web.Document.get_Children() +121
       umbraco.dialogs.publish.doPublishSubs(Document d) +759
       umbraco.dialogs.publish.Page_Load(Object sender, EventArgs e) +2298
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       umbraco.BasePages.BasePage.OnLoad(EventArgs e) +19
       System.Web.UI.Control.LoadRecursive() +11421503
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

  • John Hodgkinson 613 posts 355 karma points
    Aug 23, 2012 @ 20:56
    John Hodgkinson
    0

    nevermind... had some lock connections on the DB...

Please Sign in or register to post replies

Write your reply to:

Draft