-
Notifications
You must be signed in to change notification settings - Fork 41
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
Weird Behaviour where package is deleted before patch is applied #113
Comments
Encountering the same problem here as well with a different magento 2 module.
|
I think this is the same issue as #111 |
We notice the same issue with various Mirasvit modules. Had to downgrade as @bogdan-soroka-monsoonconsulting mentioned to be able to continue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When attempting to patch a package that includes multiple Magento 2 modules (Yes bad package structure) the package will be installed then the subdirectory (containing all the sub modules) will be deleted, the patch then is attempted but obviously fails as there is no file to be patched as it was deleted.
This is happening for me on
mirasvit/module-search-ultimate
Pre-requisites
mirasvit/module-search-ultimate
via composerTo Reproduce
Steps to reproduce the behaviour:
composer install
orcomposer patch:apply
Expected
Actual
Notes
result from
composer instal -vvv
As can be seen the package to be patched is remove with
rm -rf '/var/www/html/vendor/mirasvit/module-search-ultimate'
, then installed then thesrc
directory is deleted withrm -rf '/var/www/html/vendor/mirasvit/module-search-ultimate/src'
before the patch is applied.I have attempted to install the patch using multiple different cwd options and updating the patch file paths to no avail as well.
The text was updated successfully, but these errors were encountered: