Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"composer reinstall" removes TYPO3 includes from autoloader #148

Open
cweiske opened this issue Nov 1, 2023 · 1 comment
Open

"composer reinstall" removes TYPO3 includes from autoloader #148

cweiske opened this issue Nov 1, 2023 · 1 comment
Labels

Comments

@cweiske
Copy link

cweiske commented Nov 1, 2023

When using composer reinstall vendor/package, the autoloader does not load /typo3/alias-loader-include.php and /typo3/autoload-include.php anymore. When opening TYPO3 in the browser, it gets redirected to the install tool because TYPO3_COMPOSER_MODE is not set anymore.

Another composer plugin had the same problem: funkjedi/composer-include-files#14 and solved it by listening for the ScriptEvents::POST_INSTALL_CMD composer event.

@cweiske cweiske changed the title "composer reinstall" removes typo3 includes from autoloader "composer reinstall" removes TYPO3 includes from autoloader Nov 1, 2023
@helhum helhum added the bug label Nov 16, 2023
@helhum
Copy link
Contributor

helhum commented Nov 16, 2023

I can confirm the issue. Workaround is to call composer du after the reinstall. I don't know yet, whether this should be fixed here or rather in Composer itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants