Copied to clipboard

Flag this post as spam?

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


  • Thamodaran 5 posts 85 karma points
    Apr 12, 2023 @ 18:06
    Thamodaran
    0

    Usync8 not importing the dictionary items

    Hi,

    Recently we upgraded from umbraco 7 to umbraco 8 and started using usync8 .

    Usync 8 tracking the dictionary item and it is importing fine when new item added . But it is failed to update the existing dictionary item .

    Here is my usync8.config

        <!-- calls a rebuild cache when an import completes
        (for Umbraco 8.3+ recommended value is false)  -->
        <RebuildCacheOnCompletion>False</RebuildCacheOnCompletion>
    
        <!-- handler sets -->
        <HandlerSets Default="default">
    
            <Handlers Name="default">
                <Handler Alias="dataTypeHandler" Enabled="true" />
                <Handler Alias="languageHandler" Enabled="true" />
                <Handler Alias="macroHandler" Enabled="true" />
                <Handler Alias="mediaTypeHandler" Enabled="true" />
                <Handler Alias="memberTypeHandler" Enabled="false" />
                <Handler Alias="templateHandler" Enabled="true" />
                <Handler Alias="CustomContentTypeHandler" Enabled="true" />
                <Handler Alias="contentHandler" Enabled="false" >
                    <Add Key="CreateOnly" Value="true" />
                </Handler>
                <Handler Alias="contentTemplateHandler" Enabled="false" />
                <Handler Alias="dictionaryHandler" Enabled="true" >
                    <Add Key="CreateOnly" Value="true" />
                </Handler>
                <Handler Alias="domainHandler" Enabled="false" />
                <Handler Alias="mediaHandler" Enabled="false" />
                <Handler Alias="relationTypeHandler" Enabled="false" />
            </Handlers>
    
        </HandlerSets>
    
    
    </BackOffice>
    

    Am I missing anything here ?

  • Kevin Jump 2311 posts 14697 karma points MVP 7x c-trib
    Apr 13, 2023 @ 08:24
    Kevin Jump
    0

    Hi,

    Couple of things to check.

    1. You do appear to have the DictionaryHandler in create only mode, so the expected behaviour is that any existing dictionary items will not be changed during an import.
    2. When you have moved from v7 to v8 have you done a full export after the upgrade, just to get everything that is now in the v8 site exported out to disk in the correct format ?

    If its not one of these :

    I would take a look in the uSync folder. if you think that new dictionary items are working, then there might be a subtle difference between a new dictionary item's .config file and and existing ones.

    It might be during any migration something subtly different between the files has caused an issue.

Please Sign in or register to post replies

Write your reply to:

Draft