View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006633 | OXID eShop (all versions) | 6. ------ Setup ------- | public | 2017-05-08 16:00 | 2023-02-13 11:07 |
Reporter | d3 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 6.0.0-rc.1 | ||||
Fixed in Version | 7.0.0-rc.2 | ||||
Summary | 0006633: Errot during installation via composer | ||||
Description | Nearly at the end of the composer installation i got this error message: Copying shop files to source directory... Class Incenteev\ParameterHandler\ScriptHandler is not autoloadable, can not call post-update-cmd script Maybe it's the reason for: https://bugs.oxid-esales.com/view.php?id=6632 | ||||
Additional Information | PHP 7.1.4 (cli) (built: May 1 2017 19:39:32) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies | ||||
Tags | Composer | ||||
Attached Files | |||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
has duplicate | 0006718 | closed | Error while installing RC3 - oe:ide-helper:generate event returned with error code 1 |
|
Editor MG |
|
The problem is that the post-install-cmd and post-update-cmd try to execute "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", but that package is only in the require-dev part and thus doesn't exist if the installation is done with --no-dev. I guess a workaround would be to manually install the package first, but since that command is apparently there to create some kind of ide-helper it's definitely something that shouldn't be executed in non dev environments. |
|
Fixed with 7.0.0-rc.2 |