Closed
Description
Summary (*)
Magento 2.4.4 running on PHP 8.1 in Production mode
If you enable the js bundling and minify the scripts.
php bin/magento config:set dev/js/minify_files 1
php bin/magento config:set dev/js/enable_js_bundling 1
After running the deployment and logging into the admin panel. We can't click on any menue option. There is an error in the browser console: Uncaught SyntaxError: Unexpected token 'const'
Preconditions (*)
- PHP 8.1
- Magento 2.4.4, 2.4-develop
- Magento instace should be in production mode
Steps to reproduce (*)
- Enable JS bundling.
- Minify the JS files
- Run deployment
- Login to the admin panel.
Expected result (*)
We should be able to access admin panel without any error.
Actual result (*)
We are getting the following error and not able to click on any menu option:
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchIssue related to Developer Experience and needs help with Triage to Confirm or Reject it
Type
Projects
Status
Done