Task #31300

Improve t3lib_utility_debug::debugTrail to better handle includes

Added by Markus Klein almost 11 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2011-10-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

When trying to debug deprecation issues like #31290, it is hard to actually follow the stack trace as the output misses important information for include and require statements.

My patch adds this information to the output.

#1

Updated by Mr. Hudson almost 11 years ago

  • Status changed from New to Under Review

Patch set 1 of change If816432d3204454954079c636f539243eb3fa55b has been pushed to the review server.
It is available at http://review.typo3.org/6343

#2

Updated by Markus Klein almost 11 years ago

Output for example case #31290

Old output:
t3lib_cache_backend_DbBackend->setCacheTable() - since TYPO3 4.6: The backend calculates the table name internally, this method does nothing anymore - require#55 // include#377 // t3lib_cache_Factory->create#2796 // t3lib_div::makeInstance#83 // ReflectionClass->newInstanceArgs#4924 // t3lib_cache_backend_AbstractBackend->__construct# // t3lib_cache_backend_DbBackend->setCacheTable#84 // t3lib_div::logDeprecatedFunction#379 (_src_4-6/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php#378)

New output:
t3lib_cache_backend_DbBackend->setCacheTable() - since TYPO3 4.6: The backend calculates the table name internally, this method does nothing anymore - require(_src_4-6/typo3/init.php),_src_4-6/typo3/index.php#38 // include(typo3conf/temp_CACHED_pse8ab_ext_tables.php),_src_4-6/typo3/init.php#377 // t3lib_cache_Factory->create#2796 // t3lib_div::makeInstance#83 // ReflectionClass->newInstanceArgs#4924 // t3lib_cache_backend_AbstractBackend->__construct# // t3lib_cache_backend_DbBackend->setCacheTable#84 // t3lib_div::logDeprecatedFunction#379 (_src_4-6/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php#378)
#3

Updated by Mr. Hudson over 10 years ago

Patch set 2 of change If816432d3204454954079c636f539243eb3fa55b has been pushed to the review server.
It is available at http://review.typo3.org/6343

#4

Updated by Mr. Hudson over 10 years ago

Patch set 3 of change If816432d3204454954079c636f539243eb3fa55b has been pushed to the review server.
It is available at http://review.typo3.org/6343

#5

Updated by Chris topher over 10 years ago

  • Target version changed from 4.6.1 to 4.6.2
#6

Updated by Gerrit Code Review over 10 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6343

#7

Updated by Steffen Gebert over 10 years ago

  • Category deleted (Reports)
  • Target version deleted (4.6.2)
#8

Updated by Gerrit Code Review over 10 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6343

#9

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/7794

#10

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/7795

#11

Updated by Markus Klein over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 90 to 100
#12

Updated by Steffen Gebert over 10 years ago

  • Target version set to 4.5.12
  • TYPO3 Version changed from 4.6 to 4.5
#13

Updated by Riccardo De Contardi almost 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF