J4 Issue ?
Referenced as Pull Request for: # 26424
avatar brianteeman
brianteeman
19 Jul 2019

Steps to reproduce the issue

Create a content field
Create a content field group
Re-open the content field group

Expected result

Group opens

Actual result

403 You are not authorised to view this resource.

Additional comments


Call stack
--
# | Function | Location
1 | () | JROOT\administrator\components\com_fields\Dispatcher\Dispatcher.php:45
2 | Joomla\Component\Fields\Administrator\Dispatcher\Dispatcher->checkAccess() | JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:115
3 | Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() | JROOT\libraries\src\Component\ComponentHelper.php:383
4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT\libraries\src\Application\AdministratorApplication.php:116
5 | Joomla\CMS\Application\AdministratorApplication->dispatch() | JROOT\libraries\src\Application\AdministratorApplication.php:159
6 | Joomla\CMS\Application\AdministratorApplication->doExecute() | JROOT\libraries\src\Application\CMSApplication.php:241
7 | Joomla\CMS\Application\CMSApplication->execute() | JROOT\administrator\includes\app.php:63
8 | require_once() | JROOT\administrator\index.php:36

avatar brianteeman brianteeman - open - 19 Jul 2019
avatar joomla-cms-bot joomla-cms-bot - change - 19 Jul 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jul 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 20 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jul 2019
Status New Discussion
avatar Quy
Quy - comment - 20 Sep 2019

Context value is missing in the URL , thus, the error.

http://localhost/joomla-cms-4.0-dev/administrator/index.php?option=com_fields&view=group&layout=edit&id=1&context=

avatar brianteeman
brianteeman - comment - 24 Sep 2019

I have finally tracked down the problem to the changes made in #24801

If I revert the changes to the files administrator\components\com_fields\tmpl\groups\default.php and administrator\components\com_fields\Controller\GroupController.php then the problem is resolved.

Probably simply reverting that change is not the solution.

@roland-d as this was your code could you please take a look

avatar Quy Quy - change - 28 Sep 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-09-28 05:09:44
Closed_By Quy
avatar Quy Quy - close - 28 Sep 2019
avatar Quy
Quy - comment - 28 Sep 2019

Please test PR #26424


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25651.

Add a Comment

Login with GitHub to post a comment