Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing issues when content properties are converted from non-variant to variant #148

Closed
KevinJump opened this issue Aug 7, 2020 · 1 comment
Assignees
Labels
release/8.7.0 Targeting 8.7.0 release

Comments

@KevinJump
Copy link
Owner

When content is converted from a content that has a single language to multiple via 'Allow varying by culture' then some of the property values my not be synced correctly.

background

when you have content in a single language and then convert it to support multiple languages, Umbraco goes from storing the content with no culture to storing it with a culture. Unfortunately when it does this it doesn't remove the existing content stored with no culture.

uSync exports all values for a property. which means during the sync. you will see all the values. including the now obsolete values stored without culture.

    <pageTitle>
      <Value><![CDATA[Non-Culture version]]></Value>
      <Value Culture="da-dk"><![CDATA[Danish version]]></Value>
      <Value Culture="en-us"><![CDATA[English version]]></Value>
    </pageTitle>

Issue

during an import, uSync attempts to work out which is the best way to import this data. however if it encounters a value without a culture next to values with cultures it considers the value to be broken and moves on to the next property.

what it should do is just consider that 'value' to be broken and move on to the next value.

7653143 fixes this!

@KevinJump KevinJump added the release/8.7.0 Targeting 8.7.0 release label Aug 7, 2020
@KevinJump KevinJump self-assigned this Aug 7, 2020
@KevinJump
Copy link
Owner Author

If you are having this issue uSync.ContentEdition version 8.6.5.1 fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/8.7.0 Targeting 8.7.0 release
Projects
None yet
Development

No branches or pull requests

1 participant