No Code Attached Yet bug
avatar wwwiiimmm
wwwiiimmm
28 Mar 2026

What happened?

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.

  1. Have an article that is expired
  2. Create a menu item of type Single Article
  3. Search for your expired article

Notice the green checkmark (published) in front of the article.

  1. Select the expired article and save the menu item.
  2. In the frontend your new link results in a 404.

Version

6.0

Expected result

Expired articles to display the expired icon.

Actual result

Expired articles display the published icon.

System Information

Joomla 5.4 / 6.0
PHP 8.4
MySQL 8.0.33

Additional Comments

No response

avatar wwwiiimmm wwwiiimmm - open - 28 Mar 2026
avatar joomla-cms-bot joomla-cms-bot - change - 28 Mar 2026
Labels Added: No Code Attached Yet bug
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Mar 2026
avatar brianteeman
brianteeman - comment - 28 Mar 2026

Bug confirmed

avatar kiruthika-cse-cs
kiruthika-cse-cs - comment - 30 Mar 2026

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?

avatar alikon
alikon - comment - 30 Mar 2026

correct but there is already a pr #47491 for that

avatar kiruthika-cse-cs
kiruthika-cse-cs - comment - 30 Mar 2026

@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?

avatar richard67
richard67 - comment - 4 Apr 2026

@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?

Add a Comment

Login with GitHub to post a comment