Although a page is listed as published

Screen shot

The body content conatiner div contains the node-unpublished class.

<?php
<div id="node-121873" class="node node-program-page node-unpublished clearfix" about="/node/121873" typeof="sioc:Item foaf:Document">
?>

Showing unpublished rose colored background

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rgchi created an issue. See original summary.

rgchi’s picture

Issue summary: View changes
rgchi’s picture

Issue summary: View changes
sandip27’s picture

Assigned: Unassigned » sandip27

@rgchi, tried every possible way to reproduce the issue. But gives class="node node-article node-unpublished node-full clearfix" in case of un-published and class="node node-article node-full clearfix" in case of node is published.

Would be glad if you could give an exact scenario or any specific case to reproduce the same. I hope, you have cleared cache after updating the node to either publish / unpublish :)

agentrickard’s picture

This would be a core Views bug, likely triggered by caching. If it can be reproduced, it needs to be refiled.

rgchi’s picture

It's happening again.

Only local images are allowed.

And the live output

Output

So the moderation shows history hints that it's published. Looking at it from another browser it is. It just has the red background color in the div.

The only other clue I can give was that this one page was owned by a user who no longer is here. We've used WB for a while now without issue, but every so often this issue pops up.

We've noticed this happens when an administrator tries to approve his own draft.

rgchi’s picture

rgchi’s picture

Think this may be related to this issue: https://www.drupal.org/node/1883556

rgchi’s picture

As seen from the screen shots, the moderation UI says that this piece of content is published. However, the My Edits table says otherwise.

Screen shot
Screen shot
Screen shot

sandip27’s picture

Assigned: sandip27 » Unassigned