Save entry for site #13675
-
The problem I've shared this issue in the Craft CMS discord channel and came to the conclusion that currently, the only work-around is using the automatic saves, disabling or using a console command. Feature request Maybe this can even be an option you can configure in the Craft config to set to your personal project preference. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 18 replies
-
As I understand it, you want to allow entries to have empty I can think of two options:
|
Beta Was this translation helpful? Give feedback.
-
Having said that, I think a |
Beta Was this translation helpful? Give feedback.
-
@thupsi you understand incorrectly. In a country where multiple languages are spoken there are issues with this approach all together, and it's actually a regression rather than an improvement. Imagine the following:
Also propagate field to other sites is not okay at all. In a country where people speak French/Dutch it's an extremely sensitive topic. Serve French content to the Dutch language or vice versa, and you lose trust from your visitors, and they don't return. Also there are legal requirements that required never to serve different languages through each other. And many more. |
Beta Was this translation helpful? Give feedback.
-
In general @brandonkelly I think if you don't propagate data through different entries, the error handling should behave the same. If data isn't propagated only the adjusted entry should throw errors, not the others, or at least give it a warning. I love the error messages on top as a warning. But only trigger "site can't be saved" if:
|
Beta Was this translation helpful? Give feedback.
-
It’s not possible to only save an entry for a single site. The only thing we could consider changing is providing a way to revert to pre-4.5 behavior, where we only validate the site that’s getting saved directly. This would reopen a pretty glaring governance issue, where it’s possible to avoid validation errors simply by switching to a different site and saving the entry from there instead. (#11569) Couple options that might make sense for us to consider:
We’ll discuss internally… |
Beta Was this translation helpful? Give feedback.
-
Did you already discuss this internally? Any update on the decision? |
Beta Was this translation helpful? Give feedback.
It’s not possible to only save an entry for a single site. The only thing we could consider changing is providing a way to revert to pre-4.5 behavior, where we only validate the site that’s getting saved directly. This would reopen a pretty glaring governance issue, where it’s possible to avoid validation errors simply by switching to a different site and saving the entry from there instead. (#11569)
Couple options that might make sense for us to consider: