[Issue] Seperate js out template to avoid render issue #32454
Labels
Component: Backend
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: ready for confirmation
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S2
Major restrictions or short-term circumventions are required until a fix is available.
Projects
This issue is automatically created based on existing pull request: #32434: Seperate js out template to avoid render issue
Description (*)
Main purpose of this PR to seperate js out of template avoid mix js-in-php
Previously if we set store to production with minify enabled. When access backend will raise error because phtml can't render properly
Reference var/log/system.log
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
bin/magento config:set --lock-env dev/template/minify_html 1
bin/magento config:set --lock-env dev/js/enable_js_bundling 0
bin/magento config:set --lock-env dev/js/merge_files 0
bin/magento config:set --lock-env dev/js/minify_files 0
bin/magento config:set --lock-env dev/js/move_script_to_bottom 1
3. Clear cache and run deploy static content for backend area
4. Login to admin
Questions or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: