Problem installing both a plugin and extension from the compiler after compilation. #868
Labels
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#868
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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)
Additional comments
This is a known bug, for now just add the following to the plugin.
Ahh ok thanks! :D
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)
Hello,
Perfect!
Thank you!