?
avatar PhilETaylor
PhilETaylor
5 Jul 2020

Steps to reproduce the issue

In summary: Unless you have a current admin session (logged into admin) you cannot use the media manager on the frontend to select images in Template Settings or add images using CMS Content button in the WYSIWYG Editor when editing content.

To replicate MAKE SURE YOU ARE LOGGED OUT OF THE ADMIN CONSOLE !!!!!!

this should be a release blocker for sure.

Install with sample data - login as super admin to frontend

Click Template Settings

Click Select

Expected result

no console error message

Actual result

Screenshot 2020-07-05 at 20 29 50

avatar PhilETaylor PhilETaylor - open - 5 Jul 2020
avatar joomla-cms-bot joomla-cms-bot - change - 5 Jul 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Jul 2020
avatar PhilETaylor PhilETaylor - change - 5 Jul 2020
Title
[4.0] frontend template settings in GOOGLE CHROME
[4.0] frontend template settings in Google Chrome/Firefox
avatar PhilETaylor PhilETaylor - edited - 5 Jul 2020
avatar PhilETaylor
PhilETaylor - comment - 5 Jul 2020

To rule out git and asset build I used last nights nightly build and I can replicate this with that.

avatar PhilETaylor PhilETaylor - change - 5 Jul 2020
The description was changed
avatar PhilETaylor PhilETaylor - edited - 5 Jul 2020
avatar PhilETaylor
PhilETaylor - comment - 5 Jul 2020

ok got to the bottom of this - its an ACL thing - when the model loads it fires an Ajax call to

http://127.0.0.1/administrator/index.php?option=com_media&format=json&task=api.files&path=local-0:/

which obviously (as we are not in /administrator/) fails with:

{
    "error": true,
    "code": 403,
    "message": "You don't have permission to access this. Please contact a website administrator if this is incorrect."
}
avatar PhilETaylor PhilETaylor - change - 5 Jul 2020
The description was changed
avatar PhilETaylor PhilETaylor - edited - 5 Jul 2020
avatar PhilETaylor PhilETaylor - change - 5 Jul 2020
Title
[4.0] frontend template settings in Google Chrome/Firefox
[4.0][RELEASE_BLOCKER] frontend template settings in Google Chrome/Firefox
avatar PhilETaylor PhilETaylor - edited - 5 Jul 2020
avatar infograf768
infograf768 - comment - 6 Jul 2020

Confirmed. Set as release blocker indeed.

avatar infograf768 infograf768 - change - 6 Jul 2020
Labels Added: ?
avatar infograf768 infograf768 - labeled - 6 Jul 2020
avatar infograf768
infograf768 - comment - 6 Jul 2020

Same issue evidently when editing an article and chosing Image XTD in CMS Content

avatar PhilETaylor
PhilETaylor - comment - 6 Jul 2020

Yes - like I say in my summary ;-)

avatar infograf768
infograf768 - comment - 6 Jul 2020

LOL

avatar PhilETaylor PhilETaylor - change - 7 Jul 2020
Title
[4.0][RELEASE_BLOCKER] frontend template settings in Google Chrome/Firefox
[4.0] frontend template settings in Google Chrome/Firefox
avatar PhilETaylor PhilETaylor - edited - 7 Jul 2020
avatar SharkyKZ SharkyKZ - close - 12 Sep 2020
avatar SharkyKZ
SharkyKZ - comment - 12 Sep 2020

Please test PR #30617.

avatar SharkyKZ SharkyKZ - change - 12 Sep 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-09-12 12:26:26
Closed_By SharkyKZ
Labels Added: ?
Removed: ?
avatar wilsonge wilsonge - change - 16 Sep 2020
Labels Removed: ?
avatar wilsonge wilsonge - unlabeled - 16 Sep 2020

Add a Comment

Login with GitHub to post a comment