[bug] component + plugin fails to install after compiled #975

Closed
opened 2023-02-15 18:04:33 +00:00 by jcodewalker · 2 comments

Steps to reproduce the issue

Create a simple plugin with just a comment inside and add it to demo component.
Compile the component and install "all above extensions" to install them alltogether.

Expected result

Installation succeeded

Actual result

Argument 2 passed to com_demoInstallerScript::preflight() must be an instance of Joomla\CMS\Installer\Adapter\ComponentAdapter, instance of Joomla\CMS\Installer\Adapter\PluginAdapter given, called in /home/xxxxxxx/public_html/libraries/src/Installer/InstallerAdapter.php on line 1026
error message

System information (as much as possible)

  • OS Name & Version:
  • MySql Version:
  • Apache Version:
  • PHP Version: 7.4
  • Joomla Version: 3.10.11
  • JCB Version: 3.1.13
  • Browser: Firefox

Additional comments

the installation of each single item (with different compile action) works fine.

### Steps to reproduce the issue Create a simple plugin with just a comment inside and add it to demo component. Compile the component and install "all above extensions" to install them alltogether. ### Expected result Installation succeeded ### Actual result Argument 2 passed to com_demoInstallerScript::preflight() must be an instance of Joomla\CMS\Installer\Adapter\ComponentAdapter, instance of Joomla\CMS\Installer\Adapter\PluginAdapter given, called in /home/xxxxxxx/public_html/libraries/src/Installer/InstallerAdapter.php on line 1026 error message ### System information (as much as possible) - OS Name & Version: - MySql Version: - Apache Version: - PHP Version: 7.4 - Joomla Version: 3.10.11 - JCB Version: 3.1.13 - Browser: Firefox ### Additional comments the installation of each single item (with different compile action) works fine.
Owner

This is a recognized issue. Before creating a new issue, please check the existing issue tracker.

You can find the original issue related to this topic here: #868.

This is a recognized issue. Before creating a new issue, please check the existing issue tracker. You can find the original issue related to this topic here: https://git.vdm.dev/joomla/Component-Builder/issues/868.
Author

Sorry! Didn't see it.

Sorry! Didn't see it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#975
No description provided.