Task #82721

Improve documentation of new deprecation strategy

Added by Georg Ringer 14 days ago. Updated about 12 hours ago.

Status:
Under Review
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
Start date:
2017-10-10
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Since #82438 deprecations trigger an exception. People are used to the deprecation log which doesn't lead to a failing instance. The rst and docs must be improved to have examples for:

  • How to disable deprecations showing up
  • How to log those into files

Related issues

Related to Core - Task #82438: Use native trigger_error and ErrorHandler for deprecations Resolved 2017-09-10

History

#1 Updated by Georg Ringer 14 days ago

  • Related to Task #82438: Use native trigger_error and ErrorHandler for deprecations added

#2 Updated by Markus Klein 14 days ago

Maybe the setting

'exceptionalErrors' => E_ALL & ~(E_STRICT | E_NOTICE | E_COMPILE_WARNING | E_COMPILE_ERROR | E_CORE_WARNING | E_CORE_ERROR | E_PARSE | E_ERROR | E_DEPRECATED | E_USER_DEPRECATED | E_WARNING | E_USER_ERROR | E_USER_NOTICE | E_USER_WARNING)

should be adjusted and the E_DEPRECATED removed.

#3 Updated by Susanne Moog 7 days ago

  • Category set to Documentation

Removing the setting 'exceptionalErrors' from LocalConfiguration (and fallback to default value) fixes the problem with the failing instance because of deprecations.

#4 Updated by Markus Klein about 12 hours ago

  • Category changed from Documentation to Install Tool
  • Status changed from New to Accepted
  • Complexity set to easy

IMO this is no documentation issue, but default configuration must be adjusted as well as presets.

#5 Updated by Gerrit Code Review about 12 hours ago

  • Status changed from Accepted 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/54467

Also available in: Atom PDF