?
avatar jpateusa
jpateusa
3 May 2017

Add a new or edit an existing article. Try to select category. I would expect to see a list of published categories but nothing happens. Blank list. I checked permissions of files and all are ok.
I am using Joomla 3.7 PHP 7 Ubuntu 16.04
I can roll back to 3.6.5 and all works ok.

avatar jpateusa jpateusa - open - 3 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 3 May 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 May 2017
Category com_categories
avatar csthomas
csthomas - comment - 3 May 2017

I may be related to #15795 or #15749

avatar csthomas
csthomas - comment - 3 May 2017

This may help #15806

avatar jpateusa
jpateusa - comment - 3 May 2017

csthomas I tried your posted update queries and it did not solve the issue for categories. Can you tell me which files are associated with filling that select box?

avatar csthomas
csthomas - comment - 4 May 2017

At first, do you have any categories (backend) in category list?
If you do not see any, please change filter list to show all (with trashed).

If you have all categories trashed then my PR should resolve your problem, but...

  1. This queries should to be run before you update to J3.7 - this queries repair published state before joomla run own queries from J3.7 update files.

  2. If you run this queries on updated J3.7 then it should be ok but you have to now publish every category manually.

avatar jpateusa
jpateusa - comment - 4 May 2017

First, thanks for the assistance. I do see categories in the list and I have emptied the trash. I ran the queries and they executed properly. I then updated to 3.7. Same issue. No categories listed. If I add a new category I can see it in the list of article categories.

avatar jpateusa
jpateusa - comment - 4 May 2017

As a note, If I change a category's access to public it shows up in the list of categories in the article. If I change back to another access level it no longer shows up.

avatar eorisis
eorisis - comment - 6 May 2017

Sounds like messed Joomla ACL. I would just try to re-save my user account just in case this fixes it if lucky, if not, create another new super user and login with that one see if things are different.

avatar jpateusa
jpateusa - comment - 8 May 2017

First, thanks eorisis. I tried modifying the superuser account and saving it. No change. I then added a new superuser. No change. I added the old and new superuser to all access levels / groups. Then, the categories show up in the articles to be chosen. I then changed one of the categories access to super user and it shows up in the article to be chosen. Any way to correct this where it works as it is supposed to?

avatar jpateusa
jpateusa - comment - 8 May 2017

So, I did a completely new Joomla 3.7 install and created various access levels and groups which super user was not checked. Then, I created some categories where access was in some of the new access levels I created. Next I tried to select one of the new categories as the parent of another category. It does not show up in 3.7 but does in 3.6.5. I then changed the access to super users and it shows up for selection. Is this a new feature of 3.7 or a bug? Looks to be a bug as it would break many installations

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 May 2017
Status New Discussion
avatar ramblerswebs
ramblerswebs - comment - 14 May 2017

This seems to be a 3.7 issue. IT ALSO affects Contacts as well as Articles.
If I had Contacts and their Categories all as Guest it did not list them when editing the contact.
I had to change them all to Public.

avatar jpateusa
jpateusa - comment - 16 May 2017

Anyone have updates on this issue? Will 3.7.1 correct this?

avatar stevlam
stevlam - comment - 16 May 2017

also have the issue in 3.7.0 in the category selector box.
I think is this line https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_categories/models/fields/categoryedit.php#L189 that causes the issue.
when i deleted that line it worked like it worked in 3.6.5.

maybe that line needs to be inside a if (!$user->authorise('core.admin')) to allow super users to view all.

avatar brianteeman
brianteeman - comment - 18 Aug 2017

Closing as I believe this was resolved with #16411. If that is not the case it can always be reopened

avatar brianteeman brianteeman - change - 18 Aug 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-08-18 19:51:31
Closed_By brianteeman
avatar brianteeman brianteeman - close - 18 Aug 2017

Add a Comment

Login with GitHub to post a comment