-
Notifications
You must be signed in to change notification settings - Fork 627
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
[3.5.0-beta.3] Propagation bug on multisite entries #6271
Comments
What are the fields’ Translation Methods set to? |
Some of them are different (one is translate for each language, another is translate for each site, but I suppose they both do the same thing in this case since there's a site per language), but all of them propagate correctly if all of the required fields are filled before looking at the entry on any other site/language. |
One of the fields is a required Assets field. If you don't upload an asset, then go to edit the content of another language in the draft, all the fields are empty. |
I just ran into an issue that's possibly related to this. I had a section called Later, I updated both my This kept my This was on Craft 3.4.25 |
Update on this. Same multi-site setup. Tried switching an entries field handle that was used in a section for post content. Data was still populated in the back-end, but front-end showed field as null until I changed the handle back. I tested changing an entries field on another non multi-site project and things worked as expected. Changed template to used updated field handle and content carried over. |
@clowerweb If a field’s translation method is set to per-site (etc.), then the values aren’t supposed to propagate, so maybe it’s working as expected? The one exception to that is when you first create an entry – if you see that
@sjcallender I’m not able to reproduce that, but maybe I’m missing something. Can you give me exact steps to reproduce? Also if you’re on the 3.5 beta, change your @jsunsawyer Both of your issues seem unrelated to me (to both this thread and possibly each other), but from a glance things are working as expected. When you change a section’s propagation method, Craft will go through and duplicate all of its existing entries into the new site(s), so you don’t lose their localized content. It won’t update existing relations though, which will all still be pointing to the original entries (which now only exist on the primary site). So existing relations weren’t showing up on your front-end because by default the entry query used to display them would only be configured to show related entries from the current site, whatever that is. (You can change that behavior by passing |
@brandonkelly
Syncing with the staging db didn't replicate the above noted error, so I'm all set. In this state, I tested the original issue above in a new entry and it worked as expected. The other sites' entries had the content of the default site's entry even if that default site's entry had errors, both in Draft and Created states. |
Cool. @sjcallender & @clowerweb are you working on the same site? Is this issue OK to close? |
Description
Entries don't always propagate to other sites when a draft is saved, especially if you look at the entry on another site before all required fields are set.
Steps to reproduce
Note that you don't need to click "Save", this is mostly specific to auto-saved drafts.
Additional info
The text was updated successfully, but these errors were encountered: