Closed (cannot reproduce)
Project:
Drupal core
Version:
7.14
Component:
node system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2012 at 20:05 UTC
Updated:
7 Jun 2013 at 05:00 UTC
Hello, just updated from Drupal 7.12 to 7.14 and all unpublished content disappeared from the admin/content page. The nodes are still here and are accessible via their URL and I see them in node table. But they do not appear on the content admin page (no matter if the filter to unpublished is set or not set).
Comments
Comment #1
webchickI think this is actually by design, and was part of the security fixes in http://drupal.org/node/1557938.
Your user needs both the "Access the content overview page" and the "Bypass content access control" permission to see unpublished nodes there. Though it's odd that you can access them via their URL and not at the overview page. It implies that you already have that permission. Can you check?
Comment #2
maxiorelThanks. I will try tomorrow on website clone. Now I restored the backup. By the way, I was logged in as user with uid 1.
Comment #3
maxiorelHi, so I did it again. Drupal 7.12 -> 7.14. At admin/content no unpublished content visible, filtering out for only unpublished content doesn't help, it says no such content is available.
Unpublished nodes are accessible via /node-url-alias or via node/nid without problems. They are editable too. I am logged in with uid 1 and have the role admin with all permissions on.
Moreover, I have tried to create a View with unpublished nodes only filter. Again, it doesn't show up anything.
Comment #4
Shai commented@maxiorel,
In some cases User/1 doesn't mean you'll necessarily see something. For example, if block visibility is set by role, user/1 won't see the block unless user/1 is explicitly assigned one of those roles.
This is a case where user/1 should not need
Access the content overview pageand theBypass content access controlexplicitly, in my opinion. But can you test it. Can you specifically assign user/1Access the content overview pageand theBypass content access controland then check again to see if user/1 can view unpublished content, either on the main content page or the view your created.Thanks much,
Shai
Comment #5
maxiorelShai, thnks for your answer. But as I wrote before:
"I am logged in with uid 1 and have the role admin with all permissions on."
So I already did what you recommend. Trust me, I know how the user 1 works ;-) And the problem is not only for the admin but for other users with appropriate permissions too.
Comment #6
Shai commented@maxiorel and all,
I was not able to replicate this problem. What I did:
On a small D7.12 site I navigated to the admin/content and noted that there was one unpublished node. I then updated the site to D7.14. I went back to admin/content and noted that the one unpublished item still appeared in the list. Then I created a new view and filtered for unpublished nodes. The one node showed up there too.
Has anyone been able to replicate what @maxiorel reports?
Shai Gluskin
Comment #7
nancydruI unpublished two nodes after I was updated to 7.14 and they are visible to me as user/1.
Comment #8
webchickHm. Need more info to debug this. Thanks for the testing, folks.
Comment #9
maxiorelI have also tried D6 -> D 7.14 upgrade and it works well.
Comment #10
marksward commentedWe have similar. upgrade from 7.12 - 7.14. We have a bunch of users whose role previously gave them visibility of their own unpublished nodes. We also use the Content Access Module. Now the users cannot see their own unpublished content.
Comment #11
lmeurs commentedToday I encountered something similar. Say a user has
[NODE_TYPE]: Edit any content, but noBypass content access controlpermissions. It appears to be by design (http://drupal.org/node/1106606) that (s)he cannot view somebody else's unpublished nodes (node does not appear at the content overview atadmin/content). But (s)he still CAN edit the node through a direct URL likeedit/122/edit...Also see my comment at http://drupal.org/node/1106606#comment-6084946.
Can this be related to your issue?
Comment #12
Bill Bostick commentedI was experiencing the same symptom on site built with 7.14. Account uid=1 with all permissions could not see unpublished content on admin/content page. One thing that distinguishes this site from my other D7 sites is the use of the Domain Access module (version 7.x-3.4). When I disable all components of the domain module (I'm using Domain Access, Domain Configuration, and Domain Settings), the symptom disappears and I am able to see unpublished content on the admin/content page. When I re-enable the domain modules, the symptom reappears.
Comment #13
Bill Bostick commentedI don't know with absolute certainty that the domain access module is the source of this problem, but all of my testing leads me to believe that it is. So I've filed an issue against the module: http://drupal.org/node/1626874
Comment #14
Bill Bostick commentedTurns out that my problem was due to a setting in the domain module... see http://drupal.org/node/1626874 for details.
Comment #15
neRok commentedIm just looking over some postponed bugs.
I cannot reproduce the error using 7.22, #6 could not reproduce the error, and #12's error was caused by a contrib module. I think its safe to close this one.