jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: ColinM on 29.12.2022 15:15:03

Title: Unable to Delete Download Layout - [Fixed in 4.0.10]
Post by: ColinM on 29.12.2022 15:15:03
Hi
Updated to 4.0.9 AOK
Went to Layout and duplicated layout 'Alternate Files Layout v3.9' to give 'Alternate Files Layout v3.9 (2)'
On main Dowloads Layouts page selected 'Alternate Files Layout v3.9 (2)' and from the Actions tab selected 'Delete'
the message box 'Are you sure' appeared and selected OK
This gave "An error has occurred.

    0 Class "Joomla\CMS\Access" not found"
   So went to Global Config and set System - Debug System to Yes, then on Server tab set Error Reporting to 'Maximum'.

Went to Layouts Download as above and selected  'Alternate Files Layout v3.9 (2)' selected Delete from Actions  pulldown again as before
But no extra reports generated, just the  Class "Joomla\CMS\Access" not found message

Colin
Title: Re: Unable to Delete Download Layout
Post by: pubdown on 29.12.2022 16:56:48
Yes, I have the same issue.
Title: Re: Unable to Delete Download Layout
Post by: ColinM on 29.12.2022 18:22:14
When I chcked anothe site with 4.0.9 got report

An error has occurred.

    0 Class "Joomla\CMS\Access" not found

Call stack
#    Function    Location
1    ()    JROOT\administrator\components\com_jdownloads\src\Model\TemplatesModel.php:238
2    JDownloads\Component\JDownloads\Administrator\Model\TemplatesModel->delete()    JROOT\libraries\src\MVC\Controller\AdminController.php:143
3    Joomla\CMS\MVC\Controller\AdminController->delete()             JROOT\libraries\src\MVC\Controller\BaseController.php:672
4    Joomla\CMS\MVC\Controller\BaseController->execute()          JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:143
5    Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()          JROOT\libraries\src\Component\ComponentHelper.php:355
6    Joomla\CMS\Component\ComponentHelper::renderComponent()       JROOT\libraries\src\Application\AdministratorApplication.php:143
7    Joomla\CMS\Application\AdministratorApplication->dispatch()       JROOT\libraries\src\Application\AdministratorApplication.php:186
8    Joomla\CMS\Application\AdministratorApplication->doExecute()       JROOT\libraries\src\Application\CMSApplication.php:294
9    Joomla\CMS\Application\CMSApplication->execute()             JROOT\administrator\includes\app.php:61
10    require_once()    JROOT\administrator\index.php:32

Colin
Title: Re: Unable to Delete Download Layout - [Fixed in 4.0.10]
Post by: Arno on 29.12.2022 18:37:04
Hi Guys,
is fixed in 4.0.10 which comes in the next hours.  :)