?
avatar mbabker
mbabker
9 Feb 2019

Steps to reproduce the issue

At this line is a call to Joomla\CMS\Application\CMSApplication::getClientId(). This method is not part of Joomla\CMS\Application\CMSApplicationInterface and inherently not defined in Joomla\CMS\Application\ConsoleApplication, therefore the console application will not run when the debug plugin is active.

Expected result

The console application should run without error.

Actual result

The console application fails with the debug plugin active due to use of a method not declared as part of the application interface.

avatar mbabker mbabker - open - 9 Feb 2019
avatar joomla-cms-bot joomla-cms-bot - change - 9 Feb 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Feb 2019
avatar Fedik
Fedik - comment - 9 Feb 2019

that can be changed to just:
$storagePath = JPATH_CACHE . '/plg_system_debug';
I try to make PR tomorrow

ah no, it cannot,
then debug history will show mixed debug log, hm

Need to get the name of active App somehow, or something that can separate the log per App

avatar Fedik
Fedik - comment - 10 Feb 2019

please check #23859

avatar infograf768 infograf768 - change - 10 Feb 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-02-10 16:14:13
Closed_By infograf768
avatar infograf768
infograf768 - comment - 10 Feb 2019

Closing as we have a PR #23859

avatar infograf768 infograf768 - close - 10 Feb 2019

Add a Comment

Login with GitHub to post a comment