View Issue Details

IDProjectCategoryView StatusLast Update
0006633OXID eShop (all versions)6. ------ Setup -------public2021-04-09 15:47
Reporterd3 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version6.0.0-rc.1 
Target VersionFixed in Version 
Summary0006633: Errot during installation via composer
DescriptionNearly 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 InformationPHP 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
TagsComposer
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Relationships

has duplicate 0006718 closed Error while installing RC3 - oe:ide-helper:generate event returned with error code 1 

Activities

d3

2017-05-08 16:00

reporter  

d3

2017-05-08 16:01

reporter   ~0012076

Editor MG

Helmut L.

2021-04-09 15:47

reporter   ~0013416

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.