TYPO3 Forger
  • Dashboard
  • Activity
    Stream Statistics
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #82131
Issue Task Closed

#82131GeneralUtility::makeInstance() should throw exception on unknown class

Mathias Brodala 08/18/17, 14:45 updated 10/02/18, 10:56

Open in Forge Comment in Forge

Description

GeneralUtility::makeInstance() should throw an exception if a class does not exist. This way you could get a proper stack trace which simplifies debugging a lot. ATM you get a fatal error instead which sometimes leads simply to blank pages instead of error messages.

Reviews 4

  • TYPO3_8-7 54010Revert "[TASK] Let GeneralUtility::makeInstance() throw exception on unknown class" Resolves this issue Merged Christian Kuhn CR +2 V +2 → main, 8.7 Easy +0 −28 09/08/17, 12:10
  • main 54004Revert "[TASK] Let GeneralUtility::makeInstance() throw exception on unknown class" Resolves this issue Merged Christian Kuhn CR +2 V +2 → 8.7 Easy +0 −28 09/08/17, 11:25
  • main 53731[TASK] Let GeneralUtility::makeInstance() throw exception on unknown class Resolves this issue Merged Mathias Brodala CR +2 V +2 → 8.7 Easy +28 −0 09/08/17, 10:14
  • TYPO3_8-7 53793[TASK] Let GeneralUtility::makeInstance() throw exception on unknown class Resolves this issue Merged Georg Ringer CR +2 V +2 → main, 8.7 Easy +28 −0 08/23/17, 20:03
Assigned to
Mathias Brodala
Author
Mathias Brodala
Priority
Should have
Target version
9.0
TYPO3 version
9
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback