-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Rolling back multilingual content does not work on non varied fields. #14687
Comments
Hi there @crjc! Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better. We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
Hi @crjc 👋 Thanks for the detailed reproduction steps and the initial investigation 💪 |
Hi @crjc, We're writing to let you know that we would love some help with this issue. We feel that this issue is ideal to flag for a community member to work on it. Once flagged here, folk looking for issues to work on will know to look at yours. Of course, please feel free work on this yourself ;-). If there are any changes to this status, we'll be sure to let you know. For more information about issues and states, have a look at this blog post. Thanks muchly, from your friendly Umbraco GitHub bot :-) |
I will look at this one. |
This still seems to be an issue in v13. Is there an update on this? Looks like the PR was never merged? This is a pretty major flaw IMO and you'd expect it to be fixed way before a whole new major release. |
Hi @elit0451 - please review the PR that was added a while back. This is a serious issue that looks to have already been fixed, barring review. |
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
11.4.2 (also confirmed on latest 12)
Bug summary
Rollbacks on multilingual content do not revert fields which are configured to NOT vary by culture.
Specifics
It looks like its these conditionals preventing the field from copied:
Umbraco-CMS/src/Umbraco.Core/Models/ContentRepositoryExtensions.cs
Line 195 in 3a7e388
https://github.com/umbraco/Umbraco-CMS/blob/3a7e388547e3df29bee9bb2649c543c19a1e775a/src/Umbraco.Core/Models/ContentRepositoryExtensions.cs#L176C29-L176C29
SupportsVariation returns false from here:
https://github.com/umbraco/Umbraco-CMS/blob/3a7e388547e3df29bee9bb2649c543c19a1e775a/src/Umbraco.Core/Extensions/ContentVariationExtensions.cs#L360C23-L360C23
In my case, culture at this point was "en-us".
Steps to reproduce
New Umbraco Installation
SQL Server or Sqlite
--- the field will still show test2 ---
Expected result / actual result
After the above steps, the field should be 'test1'. But the field does not roll back and stays as test2.
The text was updated successfully, but these errors were encountered: