Some requests to modx.config.js.php with action=browser and wctx=web are missing the HTTP_MODAUTH parameter and thus return an access denied error (code 401).
A blank dialog is opened and the following JS error are thrown:
A request is made to modx.config.js.php which gets an access denied error response (code 401). Contrary to the modx.config.js.php request made in the initial page request it is missing an HTTP_MODAUTH parameter (apart from having a different action parameter which I assume to be intended).
A working media browser/picker dialog should open where I can pick a media file.
I saw that the HTTP_MODAUTH parameter for the modx.config.js.php was introduced in the commit 0d89b7ff for the issue #15644.
MODX 2.8.2, mysql 5.7.28-nmm1-log, Google Chrome 90.0.4430.93 (x86_64)
Thanks for the report. This was already fixed in #15692. You can test it out in the latest nightly releases of 2.8.3-dev available at https://modx.com/download/nightlies.
@opengeek you was faster me on 5 seconds :)
Sorry, I forgot to check the closed issues. I applied the fix and it works. Amazing!
Most helpful comment
Thanks for the report. This was already fixed in #15692. You can test it out in the latest nightly releases of 2.8.3-dev available at https://modx.com/download/nightlies.