When you create an menu item for single article and want to select an article, users cannot see the difference between active and expired articles. All published articles display a green checkmark, including expired articles.
This is technically correct: expired articles are published.
But when selecting an expired article the menu link results in a 404.
Due to the green checkmark users expect the selected article to be published and active.
Joomla has a feature where users can edit an article when creating/editing a menu item.
When an expired article displays the expired icon (circle with a dash), users know the article is expired and if they do want to use it they can edit the articles finish date while working on the menu item.
Notice the green checkmark (published) in front of the article.
6.0
Expired articles to display the expired icon.
Expired articles display the published icon.
Joomla 5.4 / 6.0
PHP 8.4
MySQL 8.0.33
No response
| Labels |
Added:
No Code Attached Yet
bug
|
||
I reviewed the issue and I want to confirm my understanding before proceeding.
From what I understand, the expected behavior is that expired articles should display the expired icon instead of the published green checkmark when selecting an article for a Single Article menu item, so users can clearly identify that the article is expired before saving the menu item.
Could you please confirm if I am looking at the correct part of the code?
@alikon Thank you. I reviewed PR #47491 and noticed a possible difference in handling the expired state logic. I am testing an alternative approach locally to better understand the behavior. Would it be okay if I continue exploring this approach?
@kiruthika-cse-cs Your "alternative approach" in your PR #47516 looks exactly the same as the changes in PR #47491 . What am I missing?
Bug confirmed