Random extension shows draft pages #538
-
I see the names of draft pages in blog random list and I'm not logged as admin. Just update: |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
If this is a result of latest core update, then this it's probably my fault and I want to help fixing it. Can you describe how to reproduce the problem, can you show the source code to make a blog random list, have any additional information? |
Beta Was this translation helpful? Give feedback.
-
@markseu, I didn't do nothing special:
And the [random /blog/ 10 list] tag. Made a Blog clean install. Use the "Status: draft" in the post. That's all. But still see the Draft pages list mixed with the already posted ones. |
Beta Was this translation helpful? Give feedback.
-
Where's the |
Beta Was this translation helpful? Give feedback.
-
Yes, Mark, I use it. |
Beta Was this translation helpful? Give feedback.
-
Can't understand why I can't see Draft pages for Blog. mysite/edit/drafts/ and mysite/edit/blog/drafts/ doesn't work for me. |
Beta Was this translation helpful? Give feedback.
-
Yes, I can confirm the issue that draft pages show up in random pages selection using the latest core. Even page content can be displayed. The only thing I did recently was to implement the new API into my extensions, but no functional changes. Could I have missed something? The odd thing is that draft and private extensions share similar functions, but private pages are correctly excluded from listings. |
Beta Was this translation helpful? Give feedback.
-
Hi @i-do, please update your site and install the latest random extension. It should now work as expected with draft pages. I never used the draft extension and wasn't aware that my API call was set to display also invisible pages. Seems you are the first with both extensions installed, congratulations for detecting this 5 year old bug. 😀 |
Beta Was this translation helpful? Give feedback.
-
Steffen, yes, it's kind of funny. But I used Random for case when I need to see my Draft pages. Now the big question is: how can I find my drafts? |
Beta Was this translation helpful? Give feedback.
-
Thanks for your feedback. Please submit a new issue for each problem, see contributing guidelines. |
Beta Was this translation helpful? Give feedback.
Hi @i-do, please update your site and install the latest random extension. It should now work as expected with draft pages. I never used the draft extension and wasn't aware that my API call was set to display also invisible pages. Seems you are the first with both extensions installed, congratulations for detecting this 5 year old bug. 😀