J3 Issue ?
avatar PhilETaylor
PhilETaylor
24 Apr 2017

Steps to reproduce the issue

/index.php?option=com_ajax

Expected result

The error message in a correctly formatted HTML red bootstrap alert message, or some json parsable error message?

thoughts?

Actual result

screen shot 2017-04-24 at 20 43 25

System information (as much as possible)

<= Joomla 3.7.0

avatar PhilETaylor PhilETaylor - open - 24 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - change - 24 Apr 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Apr 2017
avatar mbabker
mbabker - comment - 24 Apr 2017

JErrorPage in 3.x isn't request format aware and as such uses JDocumentError to spit out error responses, which only supports HTML.

4.0 is format aware. We'd have to scrutinize it a little more but in theory it'd be possible to backport https://github.com/joomla/joomla-cms/tree/4.0-dev/libraries/src/CMS/Error into 3.8 (IIRC all the work is self-contained into 9a2fe89).

avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Apr 2017
Category com_ajax
avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Apr 2017
Status New Discussion
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar mbabker mbabker - change - 24 Jul 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-07-24 15:49:08
Closed_By mbabker
Labels Added: J3 Issue
avatar mbabker
mbabker - comment - 24 Jul 2018

The error handling layer is already refactored in 4.0 and the odds of this getting attention in 3.x are slim to none. So, closing. If someone wants to take a stab at it what I pointed out above is still an option.

avatar mbabker mbabker - close - 24 Jul 2018

Add a Comment

Login with GitHub to post a comment