Problem installing both a plugin and extension from the compiler after compilation. #868

Closed
opened 2022-02-20 01:27:44 +00:00 by TLWebdesign · 5 comments
TLWebdesign commented 2022-02-20 01:27:44 +00:00 (Migrated from github.com)

Steps to reproduce the issue

Compile a component that has a plugin in it. After compilation install both at once with the button that does this.

Expected result

Installs fine.

Actual result

Error
0 Argument 2 passed to com_customerportalInstallerScript::preflight() must be an instance of Joomla\CMS\Installer\Adapter\ComponentAdapter, instance of Joomla\CMS\Installer\Adapter\PluginAdapter given, called in /home/example/domains/example.nl/public_html/jcb/libraries/src/Installer/InstallerAdapter.php on line 1026

System information (as much as possible)

  • OS Name & Version:
  • MySql Version:
  • Apache Version:
  • PHP Version:
  • Joomla Version:
  • JCB Version: 3.0.9
  • Browser:

Additional comments

### Steps to reproduce the issue Compile a component that has a plugin in it. After compilation install both at once with the button that does this. ### Expected result Installs fine. ### Actual result Error [](https://jcb.example.nl/administrator)0 Argument 2 passed to com_customerportalInstallerScript::preflight() must be an instance of Joomla\CMS\Installer\Adapter\ComponentAdapter, instance of Joomla\CMS\Installer\Adapter\PluginAdapter given, called in /home/example/domains/example.nl/public_html/jcb/libraries/src/Installer/InstallerAdapter.php on line 1026 ### System information (as much as possible) - OS Name & Version: - MySql Version: - Apache Version: - PHP Version: - Joomla Version: - JCB Version: 3.0.9 - Browser: ### Additional comments

This is a known bug, for now just add the following to the plugin.
image

This is a known bug, for now just add the following to the plugin. ![image](https://user-images.githubusercontent.com/5607939/154826078-be93165e-897d-41c2-af13-c7cab3c17158.png)
TLWebdesign commented 2022-02-22 15:00:49 +00:00 (Migrated from github.com)

Ahh ok thanks! :D

Ahh ok thanks! :D
Member

Needs to be done for modules too

Needs to be done for modules too

I have update the BETA package to see if we can get this resolved. @jcodewalker if you are able give this a test and tell me if this issue is resolved?

https://git.vdm.dev/joomla-beta/pkg-component-builder/archive/master.zip (<<--BETA)

I have update the BETA package to see if we can get this resolved. @jcodewalker if you are able give this a test and tell me if this issue is resolved? https://git.vdm.dev/joomla-beta/pkg-component-builder/archive/master.zip (<<--BETA)

Hello,
Perfect!
Thank you!

Hello, Perfect! Thank you!
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#868
No description provided.