The module’s controller does not take moderation state into account when Content Moderation is enabled, causing nodes in non-public states (Draft, Needs Review, etc.) to appear in the sitemap.
Right now the filtering only checks the status field (published/unpublished), but in moderated workflows the actual publication state depends on moderation_state. This can lead to nodes being indexed when they shouldn’t be.
The sitemap should only include nodes that are actually published according to the active moderation workflow, not just by the status flag.
ModerationInformationInterface::isLiveRevision() or similar.status = 1.Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.