Copied to clipboard

Flag this post as spam?

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


  • Henrik Bäck 12 posts 72 karma points
    Nov 04, 2013 @ 16:10
    Henrik Bäck
    0

    Data is reverted/lost after transferring

    Hi and help!

    I have a staging and a production environment where authors use Courier to transfer content from the staging env. to the production env. We have a odd scenario that is causing major problems. I'll try to explain it:

    1. An author changes some text at a node in Umbraco Admin.
    2. The author verifies that the content looks good at the staging env.
    3. The author transfer the node to the production via courier.
    4. The staging env. has now lost all changes and production env. has not been updated with any new content.

    I have tried to figure out whats happening and can see this

    • It seems to happen randomly. 
    • Before transferring the data, the database table "cmsContentXml" (in the staging env.) is updated correctly
    • After the transfer, the data in the same table is reverted and are now containing the information before the author's change.

    We use Umbraco v6.1.5 (Assembly version: 1.0.4993.19246) and Courier 2 with assembly version 1.0.4856.24358 for Umbraco.Courier.Core.dll

    Is there anyone out there who has a clue on what's going on in my environment and how to fix it?

    //Henrik

  • Steve Bridges 51 posts 72 karma points
    Nov 05, 2013 @ 21:22
    Steve Bridges
    0

    We have a client that is expieriencing similiar issues.  We have limited access to their environment and thus far can't reproduce in our test environments. 

    If you find any new information, please share here!   I'm extremely dissapointed with the support for this commercial product.

  • Henrik Bäck 12 posts 72 karma points
    Nov 08, 2013 @ 14:31
    Henrik Bäck
    0

    Is there no one that know how to solve this?

    Steve: Do you have any ideas what to check? I have full access to the environment but i'm out of ideas for finding out where the problem are.

  • Steve Bridges 51 posts 72 karma points
    Nov 08, 2013 @ 17:14
    Steve Bridges
    0

    Henrik - i'm not sure what to check.  Wondering if it has anything to do with the courier cache holding old versions?

    Our solution with the affected client currently is to move them out of staging/production environment with courier and into a production only environment using workflows for content approval.

     

    Not ideal by any means as this is a client that had a true need for a staging environment due to regulatory needs.  However, he courier product has dissapointed greatly and doesn't appear to have any real support by the company.

     

     

  • Henrik Bäck 12 posts 72 karma points
    Nov 11, 2013 @ 10:59
    Henrik Bäck
    0

    I think is the cache, where else would courier get the old data from? The things that amazes me is that courier writes the cached data back to the database, why? I've tried to clear the cache in the App_Data-folder, but it does not seems to help.

    There must be some support to get?

  • Henrik Bäck 12 posts 72 karma points
    Nov 19, 2013 @ 15:16
    Henrik Bäck
    0

    I think I got everything to work now, with a days tweaking the environment. But the time will show if I'm right.

    What I did was that I downloaded the lastest build from http://nightly.umbraco.org/UmbracoCourier/2.7.8/nightly%20builds/ (the hot fix) and deployed to all machines. Then I goofed around in the configuration file, and added some ignores to dlls and js-files (that I don't want editors to deploy anyway). My config looks like this now:

    <configuration>
        <!-- Repository connection settings -->
        <!-- For each site, a custom repository must be configured, so Courier knows how to connect and authenticate-->
        <repositories>
            <repository name="Production" alias="http://xxx" type="CourierWebserviceRepositoryProvider" visible="true">
               <url>http://xxx.xxx.xx</url>;
               <user>0</user>
            </repository>
        </repositories>
    <resources>
    <!-- files which should not added at any time-->
      <ignore>
        <add>/bin/*</add>
        <add>/macroScripts/*</add>
        <add>/masterpages/*</add>
        <add>/img/*</add>
        <add>/scripts/js/*</add>
        <add>/css/*</add>
        <add>*.js</add>
        <add>*.css</add>
      </ignore>
    </resources>    
    <settings>
      <!--Enable error logging in /app_data/courier/logs/*.txt-->
      <debugMode>True</debugMode>
    
      <!--Enable short filenames for courier files, can be needed in env's with long root paths-->
      <enableShortFileNames>False</enableShortFileNames>
    
      <!--Enable the update pull dialog for courier-->
      <contextMenuEnableUpdate>False</contextMenuEnableUpdate>
    
       <stripResourcesFromCourierFiles>False</stripResourcesFromCourierFiles>
    
      <!-- Turn off Base64 encoding for resource transfers-->
      <disableBase64Encoding>false</disableBase64Encoding>
    
      <!--  Generate a mindmap of extracted revisions, useful for debugging -->
      <mapGraph>False</mapGraph>
    
      <!-- overwrite modes is either Always|Never|Compare -->
      <overwrite>
        <resources>Compare</resources>
        <items>Compare</items>
        <dependencies>Compare</dependencies>
      </overwrite>
    </settings>
    <security>
      <filters>
        <ipfilter>
          <allow>*</allow>
        </ipfilter>
        <userfilter>
          <allow>*</allow>
          <!--<deny>editor</deny>-->
        </userfilter>
      </filters>
    </security>
    <cache>
        <enable>false</enable>
        <locations>
            <add path="everything">
                <provider id="*" />
            </add>
    </locations>
    </cache>
    <itemProviders>
      <folderItemProvider>
        <include>
          <!--<folder>~/media/assets/somefolder</folder>-->
        </include>
      </folderItemProvider>
      <fileItemProvider>
        <files>
        </files>
      </fileItemProvider>
      <documentTypeItemProvider>
        <!-- Include all avaiable templates as dependencies, if false, only the current standard template is included -->
        <includeAllTemplates>false</includeAllTemplates>
    
        <!-- By default we won't add the built-in datatypes as dependencies, if needed, they can be removed from the list below -->
        <!-- Only datatypes which are installed as standard, and does not have any settings are ignored -->
        <!-- to add, find the datatype in the umbracoNode table and copy its uniqueId value to a node below-->
        <ignoredDataTypes>
          <add key="contentPicker">A6857C73-D6E9-480C-B6E6-F15F6AD11125</add>
          <add key="textstring">0CC0EBA1-9960-42C9-BF9B-60E150B429AE</add>
          <add key="textboxmultiple">C6BAC0DD-4AB9-45B1-8E30-E4B619EE5DA3</add>
          <add key="label">F0BC4BFB-B499-40D6-BA86-058885A5178C</add>
          <add key="folderbrowser">FD9F1447-6C61-4A7C-9595-5AA39147D318</add>
          <add key="memberpicker">2B24165F-9782-4AA3-B459-1DE4A4D21F60</add>
          <add key="simpleeditor">1251C96C-185C-4E9B-93F4-B48205573CBD</add>
          <add key="truefalse">92897BC6-A5F3-4FFE-AE27-F2E7E33DDA49</add>
          <add key="contentpicker">A6857C73-D6E9-480C-B6E6-F15F6AD11125</add>
          <add key="datepicker">5046194E-4237-453C-A547-15DB3A07C4E1</add>
          <add key="datepickerWithTime">E4D66C0F-B935-4200-81F0-025F7256B89A</add>
          <add key="numeric">2E6D3631-066E-44B8-AEC4-96F09099B2B5</add>
        </ignoredDataTypes>
      </documentTypeItemProvider>
    
    
      <mediaItemProvider>
        <!-- Changed to false in 2.1.1 -->
        <includeChildren>false</includeChildren>
        <includeParents>false</includeParents>
      </mediaItemProvider>
    
      <documentItemProvider>
        <includeParents>true</includeParents>
      </documentItemProvider>
    
      <!-- Add the fully classified Class name to ignore a provider from loading... -->
      <ignore>
        <!--<add>my.namespace.*</add>-->
      </ignore>
    </itemProviders>
    
    
    <itemDataResolvers>
      <files>
        <!-- add new datatype elements for data types that stores files as a path ex: /meda/223/file.png -->
        <add key="Upload">5032a6e6-69e3-491d-bb28-cd31cd11086c</add>
    
      </files>
    
      <contentPickers>
        <!-- add new datatype elements for data types that stores page ids (ex: "1242" or "1726,2362,2323") -->
        <add key="contentPicker">158aa029-24ed-4948-939e-c3da209e5fba</add>
        <add key="ultimatePicker">cdbf0b5d-5cb2-445f-bc12-fcaaec07cf2c</add>
        <add key="XpathCheckboxlist">34451d92-d270-49ba-8c7f-ee55bfeee1cb</add>
        <add key="XpathDropdownlist">173a96ae-00ed-4a7c-9f76-4b53d4a0a1b9</add>
        <add key="MNTP-CSV">7e062c13-7c41-4ad9-b389-41d88aeef87c</add>
      </contentPickers>
    
      <mediaPickers>
        <!-- add new datatype elements for data types that stores media ids (ex: "1242" or "1726,2362,2323") -->
        <add key="mediaPicker">EAD69342-F06D-4253-83AC-28000225583B</add>
        <add key="damp2">ef94c406-9e83-4058-a780-0375624ba7ca</add>
        <add key="MNTP-CSV">7e062c13-7c41-4ad9-b389-41d88aeef87c</add>
      </mediaPickers>
    
      <keyValuePrevalueEditors>
        <!-- Prevalue editors that store values as a key value pair in the built-in umbracp prevalue storage, identified by their full class-name -->
        <add key="KeyValuePrevalueEditor">umbraco.editorControls.KeyValuePrevalueEditor</add>
      </keyValuePrevalueEditors>
    
      <localLinks>
        <!-- Propertytypes that CAN contain locallinks (like the ones inserted with TinyMCE) -->
        <add key="TinyMCE3">5e9b75ae-face-41c8-b47e-5f4b0fd82f83</add>
        <add key="TextboxMultiple">67db8357-ef57-493e-91ac-936d305e0f2a</add>
        <add key="Textstring">ec15c1e5-9d90-422a-aa52-4f7622c63bea</add>
        <add key="Simple Editor">60b7dabf-99cd-41eb-b8e9-4d2e669bbde9</add>
      </localLinks>
    
      <macros>
        <!-- Propertytypes that CAN contain macro mark-up (like the ones inserted with TinyMCE) -->
        <add key="TinyMCE3">5e9b75ae-face-41c8-b47e-5f4b0fd82f83</add>
        <add key="TextboxMultiple">67db8357-ef57-493e-91ac-936d305e0f2a</add>
        <add key="Textstring">ec15c1e5-9d90-422a-aa52-4f7622c63bea</add>
        <add key="Simple Editor">60b7dabf-99cd-41eb-b8e9-4d2e669bbde9</add>
        <add key="Macro Container">474FCFF8-9D2D-11DE-ABC6-AD7A56D89593</add>
      </macros>
      <templates>
        <add key="include" />
      </templates>
    </itemDataResolvers>
    
    <macroPropertyTypeResolvers>
      <contentPickers>
        <!-- Macro Property Types, that store Content IDs, to link to media or content -->
        <add key="Media Current">mediaCurrent</add>
        <add key="Content Subs">contentSubs</add>
        <add key="Content Random">contentRandom</add>
        <add key="Content picker">contentPicker</add>
        <add key="Content tree">contentTree</add>
        <add key="Content All">contentAll</add>
      </contentPickers>
    </macroPropertyTypeResolvers>
    
    <!-- which types of relations should be supported by courier -->
    <!-- Relations are only supported between content and media out of the box -->
    <relations>
      <add>relateOnCopy</add>
      <!-- <add></add> -->
    </relations>
    
    </configuration>
    
Please Sign in or register to post replies

Write your reply to:

Draft