The "extension manager" / discover menu allows installing an extension that is already present on the disk.

When installing a components with the discover menu, the "#__assets" records is not create like with the "extension manager" / install.

So I suggest to do the same and add the


        // Register the component container just under root in the assets table.
        $asset = JTable::getInstance('Asset');
        $asset->name = $row->element;
        $asset->parent_id = 1;
        $asset->rules = '{}';
        $asset->title = $row->name;
        $asset->setLocation(1, 'last-child');
        if (!$asset->store())
            // Install failed, roll back changes
            $this->parent->abort(JText::sprintf('JLIB_INSTALLER_ABORT_COMP_INSTALL_ROLLBACK', $db->stderr(true)));
            return false;

at the end of the discover_install() function.


This affect all the version of Joomla from 2.5 till 3.2

Opened On:
7 Feb 2014, 9:16 by Edwin CHERONT
Closed On:
10 Feb 2014, 12:43

Filed Under

  • ACL
  • No Platform Implications


Posted on 10 Feb 2014, 12:43 by Valentin Despa

Thank you for your report.This tracker is currently CLOSED and no longer accepting reports. Because of technical reasons we can't automatically move your report to the new tracker.Please repost your issue here: you for your understanding and help!
Posted on 11 Feb 2014, 1:50 by Edwin CHERONT

Here it is the new Bugtracker link