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
Don't static compile disabled modules #19605
Comments
Hi @joshuaadickerson. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @joshuaadickerson do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
Hi @joshuaadickerson . Thank you for you report, It will be processed faster if you move this to https://github.com/magento/community-features |
Re-opening. I don't consider this to be a feature request. If the issue is as @joshuaadickerson reported (I have not tested, but don't have reason to believe otherwise) this is certainly a bug. Copying over unused code to |
@engcom-backlog-nazar Thank you for verifying the issue. Based on the provided information internal tickets |
Hi @milindsingh1. Thank you for working on this issue.
|
Fixed issue magento#19605 Don't static compile disabled modules Updated Collector.php Updated Collector.php
Slightly related: #15967 |
Hi @joshuaadickerson. Thank you for your report. The fix will be available with the upcoming 2.3.1 release. |
Fixed issue magento#19605 Don't static compile disabled modules Updated Collector.php Updated Collector.php
[Backport] Fixed magento#19605 Don't static compile disabled modules
Hi @joshuaadickerson. Thank you for your report.
The fix will be available with the upcoming 2.2.8 release. |
Summary (*)
When running static-content:deploy, there are disabled module content in pub/static.
Examples (*)
Disable modules that have frontend resources.
Run
bin/magento setup:static-content:deploy
Observe that
pub/static/...
contains the resources.Proposed solution
Check the disabled modules and skip them when compiling static content
The text was updated successfully, but these errors were encountered: