Copied to clipboard

Flag this post as spam?

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


  • Jeremy Pyne 106 posts 246 karma points MVP c-trib
    Apr 23, 2013 @ 19:45
    Jeremy Pyne
    0

    Media items are no longer attached

    Another critical problem with courier.  We did teesting and then upgraded to Courier_2.7.5.1.90 but didnt notice this untill after the update was deployed.  If we republish a page now and then deploy it Courier will no longer collect and take the attached resources with the document.  Looking at it the Courier package cache seams to be getting a invalid package.  The media items are all showing up in the package under Depencencies, not under Resources where they should.  I have also tried a few nightly's without and further sucess.  

     

    I see a cache configureation option for courier but there is ino documentation on this and setting enabled to false also doesn't seam to fix anything.

  • Per Ploug 865 posts 3491 karma points MVP admin
    Apr 25, 2013 @ 09:02
    Per Ploug
    0

    Hi Jeremy

    I just tried reproducing here on 2.7.5.2 and seems to work, have you tried updating - just to make sure the issue hasn't already been patched

    /per

  • Per Ploug 865 posts 3491 karma points MVP admin
    Apr 25, 2013 @ 14:00
    Per Ploug
    0

    Found 2 edge cases where this might fail in some environments, to do with identical file names and cached hashes, which are fixed in build pushed right about now, so should be available in 10 mins on nightly.umbraco

  • Jeremy Pyne 106 posts 246 karma points MVP c-trib
    Apr 25, 2013 @ 15:53
    Jeremy Pyne
    0

    Hrm.  Still the same results on 2.7.5.3.  Here is the .courier file that is being generated.

    The only non-default thing I am doing is choosing Deploy only this item instead of Deploy all dependencies.  In the older version we are using crrently all the media itels would show up under resources instread of dependencies.

    <ContentPropertyData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <CourierFileName>2ebff02f-c6cf-40cb-b348-79d83cce3e9a</CourierFileName>
        <Dependencies>
            <Dependency>
                <IsChild>false</IsChild>
                <ItemId>
                    <Id>2ebff02f-c6cf-40cb-b348-79d83cce3e9a</Id>
                    <ProviderId>d8e6ad83-e73a-11df-9492-0800200c9a66</ProviderId>
                </ItemId>
                <Name>Node: 2ebff02f-c6cf-40cb-b348-79d83cce3e9a</Name>
            </Dependency>
            <Dependency> <IsChild>false</IsChild> <ItemId> <Id>/media/299682/draas-small.jpg</Id> <ProviderId>d8e6ad87-e73a-11df-9492-0800200c9a66</ProviderId> </ItemId> </Dependency> <Dependency> <IsChild>false</IsChild> <ItemId> <Id>/media/299685/draas-large.jpg</Id> <ProviderId>d8e6ad87-e73a-11df-9492-0800200c9a66</ProviderId> </ItemId> </Dependency> <Dependency> <IsChild>false</IsChild> <ItemId> <Id>/media/671837/draas-roi.pdf</Id> <ProviderId>d8e6ad87-e73a-11df-9492-0800200c9a66</ProviderId> </ItemId> </Dependency> <Dependency> <IsChild>false</IsChild> <ItemId> <Id>/media/299832/draas-brochure.pdf</Id> <ProviderId>d8e6ad87-e73a-11df-9492-0800200c9a66</ProviderId> </ItemId> </Dependency> <Dependency> <IsChild>false</IsChild> <ItemId> <Id>/media/267669/windstream-corporate-brochure.pdf</Id> <ProviderId>d8e6ad87-e73a-11df-9492-0800200c9a66</ProviderId> </ItemId> </Dependency>
            <Dependency>
                <IsChild>false</IsChild>
                <ItemId>
                    <Id>ba702317-b712-49a9-b4ee-5dd98990e04e</Id>
                    <ProviderId>d8e6ad83-e73a-11df-9492-0800200c9a66</ProviderId>
                </ItemId>
            </Dependency>
            <Dependency>
                <IsChild>false</IsChild>
                <ItemId>
                    <Id>dc4f1563-f78d-48ab-bab3-d13d88957f3b</Id>
                    <ProviderId>d8e6ad83-e73a-11df-9492-0800200c9a66</ProviderId>
                </ItemId>
            </Dependency>
            <Dependency>
                <IsChild>false</IsChild>
                <ItemId>
                    <Id>9ee1a319-4b56-4482-9f1b-6afa4eee640d</Id>
                    <ProviderId>d8e6ad83-e73a-11df-9492-0800200c9a66</ProviderId>
                </ItemId>
            </Dependency>
            <Dependency>
                <IsChild>false</IsChild>
                <ItemId>
                    <Id>85275eb2-bfc3-42a0-91d8-fefe386ea216</Id>
                    <ProviderId>d8e6ad83-e73a-11df-9492-0800200c9a66</ProviderId>
                </ItemId>
            </Dependency>
            <Dependency>
                <IsChild>false</IsChild>
                <ItemId>
                    <Id>e6eae175-599e-437d-9c80-ed6f4f97d252</Id>
                    <ProviderId>d8e6ad83-e73a-11df-9492-0800200c9a66</ProviderId>
                </ItemId>
            </Dependency>
        </Dependencies>
        <ItemId>
            <Id>2ebff02f-c6cf-40cb-b348-79d83cce3e9a</Id>
            <ProviderId>e0472594-e73b-11df-9492-0800200c9a66</ProviderId>
        </ItemId>
        <Name>Document Disaster Recovery as a Service Property Data</Name>
        <ItemType>Item</ItemType>
        <Resources />
        <ContentUniqueId>2ebff02f-c6cf-40cb-b348-79d83cce3e9a</ContentUniqueId>
        <Data>
            <ContentProperty>
                <Alias>mainContent</Alias>
                <DataType>ca90c950-0aff-4e72-b976-a30b1ac57dad</DataType>
                <DataTypeEditor>5e9b75ae-face-41c8-b47e-5f4b0fd82f83</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.tinymce.tinyMCEPreValueConfigurator</PreValueEditor>
                <Value xsi:type="xsd:string">&lt;h1&gt;Disaster Recovery as a Service&lt;/h1&gt;&#xD;
    &lt;h2&gt;Introducing Windstream Hosted Solutions’ Disaster Recovery as a Service:&lt;em&gt; Superior disaster recovery. When you need it most.&lt;/em&gt;&lt;/h2&gt;&#xD;
    &lt;p&gt;&lt;a class="hosted-quote-button float-left" href="/{localLink:ba702317-b712-49a9-b4ee-5dd98990e04e}"&gt;&lt;span class="hide"&gt;Get a Quote&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&#xD;
    &lt;p&gt;Windstream’s Disaster Recovery as a Service (DRaaS) provides business with a variety of cost-effective ways to replicate and recover your critical servers and data center infrastructure to Windstream’s cloud environment. Include Windstream’s Disaster Recovery as a Service in your business continuity plans and we’ll have you back up and running as quickly as possible when disaster hits. To simplify the process and speed recovery time, Disaster Recovery as a Service includes fully-managed server recovery, performed by our 24 x 7 technical staff.&lt;/p&gt;&#xD;
    &lt;p&gt;&lt;a alt="Disaster Recovery as a Service (DRaaS)" href="/media/299685/draas-large.jpg" rel="lightbox"&gt;&lt;img src="/media/299682/draas-small.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;&#xD;
    &lt;p class="listheader"&gt;&lt;strong&gt;DRaaS Features:&lt;/strong&gt;&lt;/p&gt;&#xD;
    &lt;ul class="bullet-lists"&gt;&#xD;
    &lt;li&gt;Flexible replication options that allow you to continually replicate critical servers (whether physical or virtual) into our cloud, leveraging host-based replication or storage-based replication for EMC and NetApp customers&lt;/li&gt;&#xD;
    &lt;li&gt;Provides application-consistent recovery points for key applications like Exchange, SQL Server, Oracle, SharePoint and more&lt;/li&gt;&#xD;
    &lt;li&gt;Pre-built virtual recovery environments, including private network connectivity, security and per-server failover plans linked to a continuously updated replica of each of your servers&lt;/li&gt;&#xD;
    &lt;li&gt;Fully managed recovery of your servers, enabling you to run in the Windstream cloud environment until you restore operations at your primary data center&lt;/li&gt;&#xD;
    &lt;/ul&gt;&#xD;
    &lt;p&gt;Disaster Recovery as a Service is available with multiple replication options; each leverages your existing infrastructure investment while providing fully-managed and hosted recovery of your environment when a disaster occurs:&lt;/p&gt;&#xD;
    &lt;ul class="bullet-lists"&gt;&#xD;
    &lt;li&gt;For physical and virtual servers, using managed host-based replication&lt;/li&gt;&#xD;
    &lt;li&gt;For EMC-powered data centers, with managed EMC RecoverPoint Appliances and Replication Manager support&lt;/li&gt;&#xD;
    &lt;li&gt;For NetApp-powered data centers, with managed SnapMirror / SnapVault replication and support for SnapManager&lt;/li&gt;&#xD;
    &lt;/ul&gt;&#xD;
    &lt;p&gt;The experts have said it for years: when it comes to backing up and restoring your data and applications, it’s not about the backup. The ability to quickly recover your key servers and applications and getting back in business is what really counts—because every minute you’re down, you’re losing business. That’s why so many businesses trust Windstream for comprehensive &lt;a title="Disaster Recovery" href="{localLink:dc4f1563-f78d-48ab-bab3-d13d88957f3b}"&gt;disaster recovery and business continuity&lt;/a&gt; solutions—including the security of Disaster Recovery as a Service to replicate your critical servers and data center infrastructure in the cloud.&lt;/p&gt;</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>rightSidebar</Alias>
                <DataType>ca90c950-0aff-4e72-b976-a30b1ac57dad</DataType>
                <DataTypeEditor>5e9b75ae-face-41c8-b47e-5f4b0fd82f83</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.tinymce.tinyMCEPreValueConfigurator</PreValueEditor>
                <Value xsi:type="xsd:string">&lt;div id="resources"&gt;&#xD;
    &lt;p class="sidebar-headers" id="resources-header"&gt;Related Resources&lt;/p&gt;&#xD;
    &lt;ul&gt;&#xD;
    &lt;li&gt;&lt;a title="What is DRaaS?" href="/{localLink:9ee1a319-4b56-4482-9f1b-6afa4eee640d}"&gt;What is DRaaS?&lt;/a&gt;&lt;/li&gt;&#xD;
    &lt;li&gt;&lt;a title="DRaaS ROI" href="/media/671837/draas-roi.pdf"&gt;Disaster Recovery as a Service ROI&lt;/a&gt;&lt;/li&gt;&#xD;
    &lt;li&gt;&lt;a href="{localLink:85275eb2-bfc3-42a0-91d8-fefe386ea216}" title="Windstream-NetApp DRaaS Solution Video"&gt;Windstream-NetApp DRaaS Solution Video&lt;/a&gt;&lt;/li&gt;&#xD;
    &lt;li&gt;&lt;a title="Disaster Recovery as a Service Brochure" href="/media/299832/draas-brochure.pdf"&gt;Disaster Recovery as a Service Brochure&lt;/a&gt;&lt;/li&gt;&#xD;
    &lt;li&gt;&lt;a target="_blank" title="What is DRaaS" href="{localLink:9ee1a319-4b56-4482-9f1b-6afa4eee640d}"&gt;Video: What is DRaaS?&lt;/a&gt;&lt;/li&gt;&#xD;
    &lt;li&gt;&lt;a href="{localLink:e6eae175-599e-437d-9c80-ed6f4f97d252}" title="The Windstream Cloud"&gt;Windstream-Cisco Cloud Solutions Video&lt;/a&gt;&lt;/li&gt;&#xD;
    &lt;li&gt;&lt;a title="Windstream Advantage Brochure" href="/media/267669/windstream-corporate-brochure.pdf"&gt;Windstream Advantage Brochure&lt;/a&gt;&lt;/li&gt;&#xD;
    &lt;/ul&gt;&#xD;
    &lt;/div&gt;</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>customCSS</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>customJS</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>pageTitle</Alias>
                <DataType>0cc0eba1-9960-42c9-bf9b-60e150b429ae</DataType>
                <DataTypeEditor>ec15c1e5-9d90-422a-aa52-4f7622c63bea</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">Disaster Recovery as a Service | DRaaS | Business Continuity</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>pageDescription</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">Include Windstream Disaster Recovery as a Service in your business continuity plan for superior critical server and data center infrastructure disaster recovery.</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>keywords</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">disaster recovery business continuity</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>chat</Alias>
                <DataType>b17d1fa8-f58c-4f5c-b754-811624900980</DataType>
                <DataTypeEditor>a74ea9c9-8e18-4d2a-8cf6-73c6206c5da6</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>umbraco.editorControls.KeyValuePrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">Win-Biz</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>menuTopLevel</Alias>
                <DataType>0cc0eba1-9960-42c9-bf9b-60e150b429ae</DataType>
                <DataTypeEditor>ec15c1e5-9d90-422a-aa52-4f7622c63bea</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>coreMetricsHeader</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>otherMeta</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>umbracoNaviHide</Alias>
                <DataType>92897bc6-a5f3-4ffe-ae27-f2e7e33dda49</DataType>
                <DataTypeEditor>38b352c1-e9f8-4fd8-9324-9a2eab06d97a</DataTypeEditor>
                <DBType>Integer</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:int">0</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>jsInclude1</Alias>
                <DataType>2f01ac1c-28b0-4719-acfc-7e646bc4968e</DataType>
                <DataTypeEditor>6a702da8-860a-4d02-a31c-c52dd7b3e82f</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>uComponents.DataTypes.FileDropDownList.FileDropDownListPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">slimbox.js</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>jsInclude2</Alias>
                <DataType>2f01ac1c-28b0-4719-acfc-7e646bc4968e</DataType>
                <DataTypeEditor>6a702da8-860a-4d02-a31c-c52dd7b3e82f</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>uComponents.DataTypes.FileDropDownList.FileDropDownListPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>jsInclude3</Alias>
                <DataType>2f01ac1c-28b0-4719-acfc-7e646bc4968e</DataType>
                <DataTypeEditor>6a702da8-860a-4d02-a31c-c52dd7b3e82f</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>uComponents.DataTypes.FileDropDownList.FileDropDownListPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>cssInclude1</Alias>
                <DataType>45efc760-844e-4cea-be12-06a92138717c</DataType>
                <DataTypeEditor>6a702da8-860a-4d02-a31c-c52dd7b3e82f</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>uComponents.DataTypes.FileDropDownList.FileDropDownListPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">slimbox.css</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>cssInclude2</Alias>
                <DataType>45efc760-844e-4cea-be12-06a92138717c</DataType>
                <DataTypeEditor>6a702da8-860a-4d02-a31c-c52dd7b3e82f</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>uComponents.DataTypes.FileDropDownList.FileDropDownListPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>cssInclude3</Alias>
                <DataType>45efc760-844e-4cea-be12-06a92138717c</DataType>
                <DataTypeEditor>6a702da8-860a-4d02-a31c-c52dd7b3e82f</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>uComponents.DataTypes.FileDropDownList.FileDropDownListPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>umbracoRedirect</Alias>
                <DataType>a6857c73-d6e9-480c-b6e6-f15f6ad11125</DataType>
                <DataTypeEditor>158aa029-24ed-4948-939e-c3da209e5fba</DataTypeEditor>
                <DBType>Integer</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
            </ContentProperty>
            <ContentProperty>
                <Alias>umbracoInternalRedirectId</Alias>
                <DataType>a6857c73-d6e9-480c-b6e6-f15f6ad11125</DataType>
                <DataTypeEditor>158aa029-24ed-4948-939e-c3da209e5fba</DataTypeEditor>
                <DBType>Integer</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
            </ContentProperty>
            <ContentProperty>
                <Alias>canonicalPage</Alias>
                <DataType>a6857c73-d6e9-480c-b6e6-f15f6ad11125</DataType>
                <DataTypeEditor>158aa029-24ed-4948-939e-c3da209e5fba</DataTypeEditor>
                <DBType>Integer</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
            </ContentProperty>
            <ContentProperty>
                <Alias>umbracoUrlName</Alias>
                <DataType>0cc0eba1-9960-42c9-bf9b-60e150b429ae</DataType>
                <DataTypeEditor>ec15c1e5-9d90-422a-aa52-4f7622c63bea</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>naviMainMenuHide</Alias>
                <DataType>92897bc6-a5f3-4ffe-ae27-f2e7e33dda49</DataType>
                <DataTypeEditor>38b352c1-e9f8-4fd8-9324-9a2eab06d97a</DataTypeEditor>
                <DBType>Integer</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:int">0</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>findLocalServicesOptions</Alias>
                <DataType>ee34f933-ad1c-42e3-aab6-7d2c4395b9ee</DataType>
                <DataTypeEditor>a74ea9c9-8e18-4d2a-8cf6-73c6206c5da6</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>umbraco.editorControls.KeyValuePrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">Yes</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>eloquaHeader</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>otherHeader</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>getAQuoteOptions</Alias>
                <DataType>a58afcae-a9dd-4a1b-8c30-4f59953b1c78</DataType>
                <DataTypeEditor>a74ea9c9-8e18-4d2a-8cf6-73c6206c5da6</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.KeyValuePrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">¤</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>naviSideMenuHide</Alias>
                <DataType>92897bc6-a5f3-4ffe-ae27-f2e7e33dda49</DataType>
                <DataTypeEditor>38b352c1-e9f8-4fd8-9324-9a2eab06d97a</DataTypeEditor>
                <DBType>Integer</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:int">0</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>includeMbox</Alias>
                <DataType>92897bc6-a5f3-4ffe-ae27-f2e7e33dda49</DataType>
                <DataTypeEditor>38b352c1-e9f8-4fd8-9324-9a2eab06d97a</DataTypeEditor>
                <DBType>Integer</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:int">0</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>naviFooterMenuHide</Alias>
                <DataType>92897bc6-a5f3-4ffe-ae27-f2e7e33dda49</DataType>
                <DataTypeEditor>38b352c1-e9f8-4fd8-9324-9a2eab06d97a</DataTypeEditor>
                <DBType>Integer</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:int">0</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>rightSidebarAdditionalContent</Alias>
                <DataType>ca90c950-0aff-4e72-b976-a30b1ac57dad</DataType>
                <DataTypeEditor>5e9b75ae-face-41c8-b47e-5f4b0fd82f83</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.tinymce.tinyMCEPreValueConfigurator</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>naviMainMenuName</Alias>
                <DataType>0cc0eba1-9960-42c9-bf9b-60e150b429ae</DataType>
                <DataTypeEditor>ec15c1e5-9d90-422a-aa52-4f7622c63bea</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>siteCatalystCode</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>naviSideMenuName</Alias>
                <DataType>0cc0eba1-9960-42c9-bf9b-60e150b429ae</DataType>
                <DataTypeEditor>ec15c1e5-9d90-422a-aa52-4f7622c63bea</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>umbracoSearchHide</Alias>
                <DataType>92897bc6-a5f3-4ffe-ae27-f2e7e33dda49</DataType>
                <DataTypeEditor>38b352c1-e9f8-4fd8-9324-9a2eab06d97a</DataTypeEditor>
                <DBType>Integer</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:int">0</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>coreMetricsFooter</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>eloquaFooter</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>metaRobots</Alias>
                <DataType>7d4f4a4c-b8c9-4e7b-b7f1-bec3bd312eb5</DataType>
                <DataTypeEditor>a74ea9c9-8e18-4d2a-8cf6-73c6206c5da6</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.KeyValuePrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">¤</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>naviChildMenuName</Alias>
                <DataType>0cc0eba1-9960-42c9-bf9b-60e150b429ae</DataType>
                <DataTypeEditor>ec15c1e5-9d90-422a-aa52-4f7622c63bea</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>naviFooterMenuName</Alias>
                <DataType>0cc0eba1-9960-42c9-bf9b-60e150b429ae</DataType>
                <DataTypeEditor>ec15c1e5-9d90-422a-aa52-4f7622c63bea</DataTypeEditor>
                <DBType>Nvarchar</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>otherFooter</Alias>
                <DataType>c6bac0dd-4ab9-45b1-8e30-e4b619ee5da3</DataType>
                <DataTypeEditor>67db8357-ef57-493e-91ac-936d305e0f2a</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.DefaultPrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string"></Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>seSitemapChangeFreq</Alias>
                <DataType>b00cddeb-32bf-4637-a990-7bd83b7dd908</DataType>
                <DataTypeEditor>a74ea9c9-8e18-4d2a-8cf6-73c6206c5da6</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.KeyValuePrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">¤</Value>
            </ContentProperty>
            <ContentProperty>
                <Alias>seSitemapPriority</Alias>
                <DataType>263aec1d-02af-438c-81e1-5011148abb07</DataType>
                <DataTypeEditor>a74ea9c9-8e18-4d2a-8cf6-73c6206c5da6</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.KeyValuePrevalueEditor</PreValueEditor>
                <Value xsi:type="xsd:string">¤</Value>
            </ContentProperty>
        </Data>
        <NodeObjectType>c66ba18e-eaf3-4cff-8a22-41b16d66a972</NodeObjectType>
        <Published>true</Published>
    </ContentPropertyData>
  • Jeremy Pyne 106 posts 246 karma points MVP c-trib
    Apr 25, 2013 @ 16:17
    Jeremy Pyne
    0

    I did another test to verify the problem.

    Steps:

    • Clean install of Umbraco 6.0.3
    • Installed Courier 2.7.6.0. ( I had 2.7.5, I removed all the *Courier* DLL's manualy and extracted the new package manually.
    • Create a new Document type with a Rich Text Editor proporty.
    • Go to media and add a new image file.
    • Go to content and create a new page.
    • Add the image to the page using the insert image button.
    • Publish the page.
    • Deploy the page, choose advanced options, and select Only this item.
    Same result.  The embeded media item is listed as a dependency(it will deploy if i choose to deploy all depencencies) but not as a resource(hence no luck when deploying only this page).
    As an asside, I have allso tried to just attach DocumentItemProvider.Instance().Packaging code to loop over any dependencies that refer to a file and add them as resources as well with the api calls but this code never seams to run.
    Eg:
    public class PageEvent : ApplicationStartupHandler
    {
        public PageEvent()
        {
            DocumentItemProvider.Instance().Packaging += new EventHandler<ItemEventArgs>(PageEvent_Packaging);
        }
    
        void PageEvent_Packaging(object sender, ItemEventArgs e)
        {
            //this is Courier Item, not a native umbraco document
            Document d = e.Item as Document;
    
            foreach (var res in d.Dependencies)
            {
                // If this depencency is a embeded resource or image
                if (res.ItemId.Id.Contains("/"))
                {
                    d.Resources.Add(res.ItemId.Id);
                }
            }
        }
    }
  • Jeremy Pyne 106 posts 246 karma points MVP c-trib
    May 01, 2013 @ 23:27
    Jeremy Pyne
    0

    Still not working.  I just tried on 6.0.3 and 2.7.6.1.

     

    Clean install with one document and one embeded image on that document.

    Document:

    Link: /test.aspx

    Body(rich text editor):

    <p>This is a tes</p>
    <p> </p>
    <p><img src="/media/1001/sales_signature.jpg" alt="Sales Signature" width="321" height="40" rel="321,40" /></p>

     

    Document Properties courier file (./App_Data/Courier/cache/revision/properties/guid.courier)

    <ContentPropertyData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <CourierFileName>6ceb9a85-4af5-4d64-af38-e41334faae5d_Document_data</CourierFileName>
        <Dependencies>
            <Dependency>
                <IsChild>false</IsChild>
                <ItemId>
                    <Id>6ceb9a85-4af5-4d64-af38-e41334faae5d</Id>
                    <ProviderId>d8e6ad83-e73a-11df-9492-0800200c9a66</ProviderId>
                </ItemId>
                <Name>Node: 6ceb9a85-4af5-4d64-af38-e41334faae5d</Name>
            </Dependency>
            <Dependency>
                <IsChild>false</IsChild>
                <ItemId>
                    <Id>/media/1001/sales</Id>
                    <ProviderId>d8e6ad87-e73a-11df-9492-0800200c9a66</ProviderId>
                </ItemId>
            </Dependency>
        </Dependencies>
        <ItemId>
            <Id>6ceb9a85-4af5-4d64-af38-e41334faae5d</Id>
            <ProviderId>e0472594-e73b-11df-9492-0800200c9a66</ProviderId>
        </ItemId>
        <Name>Document Test Property Data</Name>
        <ItemType>Item</ItemType>
        <Resources />
        <ContentUniqueId>6ceb9a85-4af5-4d64-af38-e41334faae5d</ContentUniqueId>
        <Data>
            <ContentProperty>
                <Alias>mainContents</Alias>
                <DataType>ca90c950-0aff-4e72-b976-a30b1ac57dad</DataType>
                <DataTypeEditor>5e9b75ae-face-41c8-b47e-5f4b0fd82f83</DataTypeEditor>
                <DBType>Ntext</DBType>
                <PreValueEditor>umbraco.editorControls.tinymce.tinyMCEPreValueConfigurator</PreValueEditor>
                <Value xsi:type="xsd:string">&lt;p&gt;This is a tes&lt;/p&gt;&#xD;
    &lt;p&gt; &lt;/p&gt;&#xD;
    &lt;p&gt;&lt;img width="321" height="40" src="/media/1001/sales_signature.jpg" alt="Sales Signature"/&gt;&lt;/p&gt;</Value>
            </ContentProperty>
        </Data>
        <NodeObjectType>c66ba18e-eaf3-4cff-8a22-41b16d66a972</NodeObjectType>
        <ContentTypeAlias>Test</ContentTypeAlias>
        <Published>true</Published>
    </ContentPropertyData>

     

    I see that with this setup the id is getting trincatd on the _ in the image filename.  I also tried with a image that didnt have any special charecters and the depencency changed to the folloing but still souldn't show up as a resource.

            <Dependency>
                <IsChild>false</IsChild>
                <ItemId>
                    <Id>/media/1002/salessignature.jpg</Id>
                    <ProviderId>d8e6ad87-e73a-11df-9492-0800200c9a66</ProviderId>
                </ItemId>
            </Dependency>

     

    Please help as this is preventing umbrao upgrades and there are many outstanding umbraco/courier bugs that we can need to upgrade to fix.

  • Per Ploug 865 posts 3491 karma points MVP admin
    May 02, 2013 @ 10:02
    Per Ploug
    0

    Hi Jeremy

    Thanks for those details, looking at it now

    /Per

  • Per Ploug 865 posts 3491 karma points MVP admin
    May 02, 2013 @ 11:15
    Per Ploug
    0

    When you package that page, does the revision include the media item that is supposed to contain the image? 

    /Per

  • Jeremy Pyne 106 posts 246 karma points MVP c-trib
    May 02, 2013 @ 14:54
    Jeremy Pyne
    0

    That courier file was from the courier cache. 

    The media item will only show up in the transfer window/summary view of I package the page and +2 levels of dependency.  (Both images with special charectors, and those without, show up with +2 dependency level set.)  Selecting Current item only does not include it however. 

    (Problem with doing it this way is then we get the template in the packages, and the template links to 50+ other pages so we end up with a huge deployment for every time.  Also that way we can deploy changes to just one page while not deploying changes to other parts of the site.)

     

     

  • Jeremy Pyne 106 posts 246 karma points MVP c-trib
    May 06, 2013 @ 15:21
    Jeremy Pyne
    101

    Ok.  While I found out from Per Ploug that the way were were using it/what I was expecting had been a bug in the old version and thats why it doesn't work that way anymore.  Here is an artical about adding a customization to replicate the logic/enable document only deployments without dependencies that will contains lal their embedded resources.

    http://pynej.blogspot.com/2013/05/automatically-deploying-all-embedded.html

  • Per Ploug 865 posts 3491 karma points MVP admin
    May 06, 2013 @ 15:45
    Per Ploug
    0

    Thanks for sharing this Jeremy

    :)

Please Sign in or register to post replies

Write your reply to:

Draft