? Pending

User tests: Successful: Unsuccessful:

avatar sanderpotjer
sanderpotjer
4 May 2019

Summary of Changes

While testing #24672 I noticed that unpublished articles were visible. After some research, it seems to be caused by the new Joomla Workflow implementation.

In the ArticlesModel the filter filter.published is replaced by filter.condition. So any code that is using filter.published as a filter to load articles won't work and needs to be replaced by filter.condition.

This PR fixes this for mod_articles_category, mod_articles_news and mod_articles_populair.

Testing Instructions

Make sure to have some unpublished articles in a category. Add modules at a position in your template for mod_articles_category, mod_articles_news and mod_articles_populair and configure them in a way that the unpublished articles are visible.

Apply the patch, and the unpublished articles should no longer be displayed (if you are not logged in on the frontend of the site).

Expected result

Unpublished articles should not be visible.

Actual result

Unpublished articles are visible.

avatar sanderpotjer sanderpotjer - open - 4 May 2019
avatar sanderpotjer sanderpotjer - change - 4 May 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 May 2019
Category Modules Front End
avatar sanderpotjer sanderpotjer - change - 4 May 2019
Labels Added: ?
avatar wilsonge wilsonge - change - 4 May 2019
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-05-04 16:21:53
Closed_By wilsonge
avatar wilsonge wilsonge - close - 4 May 2019
avatar wilsonge wilsonge - merge - 4 May 2019
avatar wilsonge
wilsonge - comment - 4 May 2019

Thanks!

Add a Comment

Login with GitHub to post a comment