? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
1 May 2017

Summary of Changes

When debug mode is activated and an exception is thrown, then the stack trace is shown. This trace includes the call stack except the information where the actual error happened. This PR includes that information.

This is a similar pr #14169. Looks like that during the 3.7 lifecycle something has changed as it works now with a JLayout.

Testing Instructions

  • Set debugging to yes in the global configuration
    image
  • In the file /administrator/components/com_content/content.php after line 8 add the code throw new Exception();
  • In the back end open Content -> Articles

Expected result

A stack trace is shown where the last line is

/administrator/components/com_content/content.php:9

Actual result

A stack trace is shown where the last line is

/libraries/cms/component/helper.php:394

avatar laoneo laoneo - open - 1 May 2017
avatar laoneo laoneo - change - 1 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 May 2017
Category Libraries
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 May 2017

I have tested this item successfully on f88133a


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 1 May 2017 - Tested successfully
avatar Quy
Quy - comment - 5 May 2017

I have tested this item successfully on f88133a


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

avatar Quy Quy - test_item - 5 May 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 May 2017
Status Pending Ready to Commit
Easy No Yes
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 May 2017

RTC after two successful tests.

avatar rdeutz rdeutz - change - 22 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-22 19:13:32
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 22 May 2017
avatar rdeutz rdeutz - merge - 22 May 2017

Add a Comment

Login with GitHub to post a comment