-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unpublish not unpublishing on target #125
Comments
Looking into this now. |
Just did a PULL from staging to our local dev environment and it pulled the draft but published the item as well. |
Looks like its a Umbraco version thing :( - works on our base install (which is quite old v8.1) - on fresh v8.15 we do see thls issue) having a look to see if we can find out why. |
I wonder if it might be related to this issue: umbraco/Umbraco-CMS#10695 |
yes - Looks something like that :( line : 106 of the content serializer
is returning true and false on the same site depending on how its called 😕 Will see if i can identify why - and report into issue if its the same thing |
I think its not the same issue, but it is debatably a umbraco bug. if you have a variant with a single culture and you unpublish the single culture. then the publishedCultures value of the content item still contains the culture although the overall item.published value = false. I am guessing when you completly unpublish an item by unpublishing all its languages - that doesn't wipe the publishedCultures value but it does set the master unpublished value. we can work around this in uSync. and if i can work out where this happens in Umbraco.Core i will log an issue on the main repo. because i think this is confusing. |
Workaround for this issue, in uSync - will be part of next uSync release. |
Describe the bug
We have two servers, staging and production. Publishing items on staging and publish to server production works fine. But when we unpublish on staging and call "publish to production". The dialog mentions that the Published boolean will be set to false (for the default culture) but on the target (production) the changelog is "Save" and "Publish" instead of unpublish.
Staging log:
Production log:
Version (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
We have a 'vary by culture' doctype setup but currently only with 1 default culture en-GB
Expected behavior
The item is also unpublished on production
Screenshots
Change log on staging before publish
Report on staging after publish
The text was updated successfully, but these errors were encountered: