Skip to content

Shared Properties Are Empty After Sync #270

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

Open
Daniel127 opened this issue May 13, 2025 · 3 comments
Open

Shared Properties Are Empty After Sync #270

Daniel127 opened this issue May 13, 2025 · 3 comments

Comments

@Daniel127
Copy link

Hi team,

We are encountering an error when pushing content to a production server using uSync.

While the item itself synchronizes, not all fields are populated correctly. Images appear to be created successfully in the Media section, and multilingual properties are also correct. However, shared (non-multilingual) properties remain empty.

Specifically, when the content item does not yet exist on the target server, uSync creates the item, but its shared properties are empty.

To demonstrate this, we created a test DocumentType with the following configuration:

Image

Image

On our source server, the content for this DocumentType is as follows:

Image

The uSync push operation shows the following result:

Image

And this is the resulting content on the target server, showing the empty shared properties:

Image

Environment:

Umbraco version: 15.4.1
uSync core/packages version: 15.1.6

We hope you can help us identify the cause of this issue.

Thanks for your assistance.

@KevinJump
Copy link
Member

Hi,

Yes we are investigating and testing a fix - this is happening because the language selection page isn't registering that you have selected all languages correctly, so when the sync happens it doesn't think all languages have been picked so shared values are not set.

workaround it to turn of 'variant' select as part of the push (in the server/advanced options).

Image

turning this off, removes the languages option but everything is synced.

In the meantime. we will test and release a fix as soon as we can.

@Daniel127
Copy link
Author

Daniel127 commented May 13, 2025

Hi,

Thanks for the workaround.

Interestingly, the 'variant publish' option was already disabled in our settings, and we hadn't changed it. However, despite it being off, the language selection modal (which you identified as the source of the issue) was still appearing during the push operation.

Following your suggestion to interact with this setting, I enabled the 'variant select' option, saved the configuration, then immediately disabled it again and saved. After doing this, the language selection modal no longer appears when performing a push, and all content, including the shared properties, synchronized correctly.

This workaround is effective for us for the time being. We'll keep an eye out for the upcoming update with the permanent fix.

Thanks again for your help!

@KevinJump
Copy link
Member

Ahh looks like a default we also need to fix. 👍

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

No branches or pull requests

2 participants