Closed
Description
Description
This is similar issue as what was being reported in #23619
But this time it's for the Magento/backend theme.
The fact that there are errors in the less code might indicate that certain things aren't getting outputted in css properly. But without deeper research I can't confirm this yet.
Preconditions (*)
- Magento 2.3-develop branch (or any older released version)
- NodeJs (I'm using v8.16.0)
- PHP 7.2
Steps to reproduce (*)
- Setup a vanilla Magento installation
- Run
npm install less@3.9.0
- Run
rm -R var/view_preprocessed/* pub/static/*; bin/magento setup:static-content:deploy -f --theme=Magento/backend en_US
- Run
node_modules/.bin/lessc -l var/view_preprocessed/pub/static/adminhtml/Magento/backend/en_US/css/styles-old.less
Expected result (*)
- Linting of the
styles-old.less
file shouldn't show any errors
Actual result (*)
- Linting of the
styles-old.less
file shows the following errors:
extend ' .data-table tbody tr:nth-child(odd) td' has no matches
extend ' .grid-actions .export .label' has no matches
extend ' .grid-actions .export .action-' has no matches
extend ' .col-570' has no matches
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentMay be fixed according to the position in the backlog.The issue has been reproduced on latest 2.3 releaseAffects non-critical data or functionality and does not force users to employ a workaround.Has been reviewed and prioritized during Triage with Product Managers