Skip to content
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

Culture's are marked as published when they are not. #258

Closed
KevinJump opened this issue Jul 28, 2021 · 1 comment
Closed

Culture's are marked as published when they are not. #258

KevinJump opened this issue Jul 28, 2021 · 1 comment
Labels
release/8.9.6 Patch release

Comments

@KevinJump
Copy link
Owner

Occurs when running mult-variant setups and a piece of content is unpublished

if the last culture is unpublished - Umbraco does not clear the publishedCultures value of the node, instead just setting the global Published flag to false.

as a result item.IsCulturePublished(culture) can return true when a culture isn't published.

(uSync.Complete issue : Jumoo/uSync.Complete.Issues#125)

@KevinJump
Copy link
Owner Author

the workaround is to also check the global item.Published along side item.IsCulturePublished - when both are true an culture truely is published.

@KevinJump KevinJump added the release/8.9.6 Patch release label Jul 28, 2021
@KevinJump KevinJump changed the title Cultures marked as published when they are not. Culture's are marked as published when they are not. Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/8.9.6 Patch release
Projects
None yet
Development

No branches or pull requests

1 participant