?
avatar infograf768
infograf768
13 Oct 2015

I discovered this issue while working on #8065

Test
Login as superuser in admin.
Create an articles category "TESTROOT" with no parent (issue would be the same issue for tags and menu items).
Create a "SUB-TEST-ROOT-1" with "TESTROOT" as parent.
Unpublish "TESTROOT" =>result is that "SUB-TEST-ROOT-1" is also unpublished.

Now create a "user1" as administrator. Logout from superuser and login with that new "user1".
Edit "SUB-TEST-ROOT-1" and do NOT save.
Close browser window.
"SUB-TEST-ROOT-1" is now checked-out.

Reload main administrator view. You are still logged as "user1".
Logout and now login as superuser.
Display the content categories list view.
You should get something like this:
screen shot 2015-10-13 at 10 24 24

Now try to publish "TESTROOT" in the list.

Expected Result
"TESTROOT" should be published and "SUB-TEST-ROOT-1" should remain unpublished and checked-out (because it is checked out, its publish state can't be changed).

Result
"TESTROOT" is not published.

avatar infograf768 infograf768 - open - 13 Oct 2015
avatar zero-24 zero-24 - change - 13 Oct 2015
Category Libraries
avatar infograf768
infograf768 - comment - 13 Oct 2015

I wonder why it is done this way —apparently voluntarily. See:
https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/table/nested.php#L948-L967

avatar infograf768
infograf768 - comment - 14 Oct 2015

Discussed with @Bakual

I quote:
"I can see arguments for both ways. The current way, the user will notice for sure that something didn't work as expected. So he doesn't accidentally have a category left unpublished when he thought they will all be published."

Therefore I close this issue and modify #8065

avatar infograf768 infograf768 - close - 14 Oct 2015
avatar zero-24 zero-24 - close - 14 Oct 2015
avatar infograf768 infograf768 - change - 14 Oct 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-10-14 10:04:16
Closed_By infograf768
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment