Task #81205

Improve error on link handler without class

Added by Mathias Brodala almost 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Category:
Link Handling, Site Handling & Routing
Target version:
Start date:
2017-05-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

If a linkhandler is missing its handler in TCEMAIN.linkHandler, a generic exception is thrown by GeneralUtility::makeInstance which does not provide enough context to understand the error. This should be caught before trying to instantiate the missing handler class to simplify debugging.

#1

Updated by Gerrit Code Review almost 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52787

#2

Updated by Gerrit Code Review almost 4 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52792

#3

Updated by Gerrit Code Review almost 4 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52793

#4

Updated by Mathias Brodala almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 50 to 100
#5

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF