-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Static content is deploying for disabled modules #24666
Comments
Hi @shkodasv. 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:
For more details, please, review the Magento Contributor Assistant documentation. @shkodasv do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hello @shkodasv. Thanks for applying, but the GitHub issue tracker is intended for Magento Core technical issues only. Please refer to the Community Forums or the Magento Stack Exchange site for advice or general discussion about this issue. |
@shkodasv: I think you have a very valid point here. @engcom-Bravo: in my opinion this is a bug and I'll re-open this ticket for now, feel free to discuss if you don't agree. Steps to reproduce:
Expected result:
Actual result:
Update: In hindsight, @shkodasv is talking about the deprecated "disabling module output" feature of Magento which was removed in Magento 2.2 I believe. But the issue is still valid for disabled modules as well, or should we open a new issue then? |
Ok @hostep, I'll check it. |
@hostep Thanks for your reply. You are right "Disable module output" is deprecated. I didn't know it. But in case of disabling the module the same logic should work IMHO - no css should be included. |
Hi @engcom-Charlie. Thank you for working on this issue.
|
@hostep I reproduced the behavior following the steps You have provided. But I still better question my Lead on it before confirming the issue. Hopefully tomorrow I'll be back with the result. |
Hello @shkodasv @hostep @engcom-Bravo Finally, I have received a response from the internal team and confirmation that it is a bug. Previously were several concerns probably it was by design or so. I will update Issue title and content based on test steps from #24666 (comment) |
✅ Jira issue https://jira.corp.magento.com/browse/AC-1306 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Alfa. Thank you for verifying the issue. |
Summary (*)
Preconditions (*)
2.3-develop
Steps to reproduce (*)
app/design/frontend/Magento/blank/Magento_Braintree/web/css/source/_module.less
, notice the selector.payment-method-braintree
is in there and also notice this selector is in no other file in the Magento source code except for this file in theMagento_Braintree
module in theMagento/Blank
theme.bin/magento module:disable Magento_Braintree Magento_BraintreeGraphQl
rm -R var/view_preprocessed/* pub/static/*
bin/magento setup:static-content:deploy -f --theme Magento/blank en_US
pub/static/frontend/Magento/blank/en_US/css/styles-m.css
Expected result (*)
.payment-method-braintree
Actual result (*)
.payment-method-braintree
Update: In hindsight, @shkodasv is talking about the deprecated "disabling module output" feature of Magento which was removed in Magento 2.2 I believe. But the issue is still valid for disabled modules as well, or should we open a new issue then?
The text was updated successfully, but these errors were encountered: