You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This HTML code causes javascript execution errors, which breaks application functionality. While this can be worked around using other profiler modes (csvfile), enabling the HTML profiles should not break the application's functionality.
Steps to Reproduce.
Add SetEnv MAGE_MODE developer to your .htaccess file
Add SetEnv MAGE_PROFILER html
Confirm profiler added to the bottom of your root page
Load a file through static.php via a URL like pub/static/adminhtml/Magento/backend/en_US/prototype/prototype.js
@astorm, this has been resolved in 0.74.0-beta1. Thank you again for submitting this issue. Should you have any other questions, feel free to reach out to us by opening a new issue.
When a user enabled the HTML profiler, the
pub/static.php
file adds HTML code to the bottom of non-HTML resources. For example, if you loadThe end of the file will contain code like the following
This HTML code causes javascript execution errors, which breaks application functionality. While this can be worked around using other profiler modes (csvfile), enabling the HTML profiles should not break the application's functionality.
Steps to Reproduce.
SetEnv MAGE_MODE developer
to your.htaccess
fileSetEnv MAGE_PROFILER html
static.php
via a URL likepub/static/adminhtml/Magento/backend/en_US/prototype/prototype.js
Expected Behavior: Magento loads executable Javascript, preserving application functionality
Actual Behavior: Magento loads Javascript with HTML profiler code at the end, breaking application functionality
The text was updated successfully, but these errors were encountered: