?
avatar BRoehling
BRoehling
23 Jan 2019

Steps to reproduce the issue

I de-installed all banner components/plugins in the manager

Expected result

component de-installed from Joomla system

Actual result

de-installed component still accessible from the components menu.
component visible as com_banners_categories instead of "Banners" in the components menu.
when accessing com_banners_categories I get the error:
Fehler
Bei der Erweiterung „com_banners“ fehlt die ACL-Datei oder ist fehlerhaft strukturiert.
in the com_banners_categories page.

System information (as much as possible)

Joomla 3.9.2
german language in the backend.

Additional comments

Please fix the error so that com_banners cleanly de-installs on Joomla installations which don't need Banners.

avatar BRoehling BRoehling - open - 23 Jan 2019
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jan 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Jan 2019
avatar infograf768
infograf768 - comment - 23 Jan 2019

Confirmed. It is not the case for com_contacts.

avatar Bakual
Bakual - comment - 23 Jan 2019

I'm actually surprised you can uninstall it.
You should not do that since the files will probably come back with one of the next updates.
Instead of uninstalling a core extension, you should just disable it.

avatar infograf768
infograf768 - comment - 23 Jan 2019

Correction: same for com_contacts

avatar infograf768
infograf768 - comment - 23 Jan 2019

@Bakual
Nevertheless, it is a weird behaviour.

avatar infograf768
infograf768 - comment - 23 Jan 2019

Ok, we found the issue.
In our sql the categories submenu are assigned the component_id of com_categories in the _menu table. That is wrong. It should be the same id as the component.
We have 6 for contacts categories (whch is the com_categories id) instead of 8 which is the com_contact id.
We will make patch (but still, it is really no use to uninstall a core component, as said above)

avatar alikon
alikon - comment - 23 Jan 2019

i think that if an extension (mainly core) is protected in the #_extensions table then it cannot be unistalled
only disabled if we can agree on this i'll make a PR

avatar infograf768
infograf768 - comment - 23 Jan 2019

I have asked this question to maintainers. Waiting for comments. :)
In any case, we have to patch our install sqls for this component_id as they are damned wrong.
Let's wait for this PR to be merged #23585 before touching at sqls

avatar brianteeman
brianteeman - comment - 23 Jan 2019

For the original poster - the best and only truly effective thing you can do is to disable the extension in the extension manager. This will remove it from the menus etc and you wont have problems with updates

avatar mbabker
mbabker - comment - 23 Jan 2019

i think that if an extension (mainly core) is protected in the #_extensions table then it cannot be unistalled

#17219 was supposed to fix this in an acceptable way, I abandoned it because it became too painful to keep rebasing the PR and not get it tested out and merged. Long and short though is you can't base whether an extension can be uninstalled on the protected column (none of the core extensions should be uninstalled, many of them are not protected because they can be disabled without consequence).

avatar alikon
alikon - comment - 23 Jan 2019

yes i quite remember #17219, at least it reached the RTC status ?

avatar BRoehling
BRoehling - comment - 24 Jan 2019

ok. I see. And is there a way to bring back com_contact?

avatar Bakual
Bakual - comment - 24 Jan 2019

ok. I see. And is there a way to bring back com_contact?

Copy the full Joomla package over your existing installation so you have all files again. Then discover install it and hope for the best.

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Mar 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-03-04 08:45:42
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 4 Mar 2019
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 4 Mar 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 4 Mar 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Mar 2019

closed as Issue seems resolved; please reopen if its not.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23643.

Add a Comment

Login with GitHub to post a comment