No Code Attached Yet bug
avatar brianteeman
brianteeman
22 Feb 2023

Steps to reproduce the issue

On a clean site

  1. create the following category structure
  • Category1
    -- Subcategory 1-1
  • Category 2
    -- Subcategory 2-1
  • Category 3
    -- subcategory-empty
  1. Add at least one article to each category except for subcategory-empty
  2. create a menu item of type _ List All Categories in an Article Category Tree_
  3. in the categories tab of the menu set Empty Categories to hide

Expected result

image

image

Actual result

image

image

System information (as much as possible)

Additional comments

avatar brianteeman brianteeman - open - 22 Feb 2023
avatar joomla-cms-bot joomla-cms-bot - change - 22 Feb 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Feb 2023
avatar alikon
alikon - comment - 22 Feb 2023

expected and actual are equal ??

avatar brianteeman
brianteeman - comment - 22 Feb 2023

look again ;) on the right

avatar alikon
alikon - comment - 22 Feb 2023

ahh my bad, was looking at numbers only

avatar joomdonation
joomdonation - comment - 22 Feb 2023

Do I understand correctly that the expected behavior is there is no plus icon to allow expanding Category 3 ? It could be fixed but quite hard (think of the case subcategory-empty does not have any articles assigned to it, but contains other empty children categories). I would mark this issue as won't fix because it is not worth to make our code complicated to solve this issue.

avatar brianteeman
brianteeman - comment - 22 Feb 2023

yes you understand correctly. For me this is a bug because you expect the button to do something and if there is nothing to display then the button should not be present.

avatar joomdonation
joomdonation - comment - 22 Feb 2023

Yes, I also agree that it's a bug. But it is complicated to make it work perfectly for all the cases, and users can always unpublish the empty categories to have right behavior. That's why I would mark this as won't fix.

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 22 Feb 2023
avatar wojtekxtx
wojtekxtx - comment - 25 Feb 2023

@Hackwar I will side with @joomdonation here: this is very complicated and complex matter, so I also would want it to be won't fix or similar.

avatar joomdonation joomdonation - change - 9 Mar 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-03-09 14:19:33
Closed_By joomdonation
avatar joomdonation joomdonation - close - 9 Mar 2023
avatar joomdonation
joomdonation - comment - 9 Mar 2023

As discussed on Bug Squash channel, this is a won't fix issue for the reason I mentioned earlier. I'm closing.

Add a Comment

Login with GitHub to post a comment