Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Although a page is listed as published
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">
?>
Comment | File | Size | Author |
---|---|---|---|
#9 | Screenshot from 2016-06-29 12-30-19.png | 18.1 KB | rgchi |
#9 | Screenshot from 2016-06-29 12-30-00.png | 16.52 KB | rgchi |
#9 | Screenshot from 2016-06-29 12-29-43.png | 21.74 KB | rgchi |
#6 | Screenshot from 2016-06-28 16-22-51.png | 13.55 KB | rgchi |
Screenshot from 2016-06-09 15-37-48.png | 22.12 KB | rgchi |
Comments
Comment #2
rgchi CreditAttribution: rgchi commentedComment #3
rgchi CreditAttribution: rgchi commentedComment #4
sandip27 CreditAttribution: sandip27 at Cybage Software Pvt Ltd. commented@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 andclass="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 :)
Comment #5
agentrickardThis would be a core Views bug, likely triggered by caching. If it can be reproduced, it needs to be refiled.
Comment #6
rgchi CreditAttribution: rgchi commentedIt's happening again.
And the live 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.
Comment #7
rgchi CreditAttribution: rgchi commentedComment #8
rgchi CreditAttribution: rgchi commentedThink this may be related to this issue: https://www.drupal.org/node/1883556
Comment #9
rgchi CreditAttribution: rgchi commentedAs seen from the screen shots, the moderation UI says that this piece of content is published. However, the My Edits table says otherwise.
Comment #10
sandip27 CreditAttribution: sandip27 at Cybage Software Pvt Ltd. commented