Task #82721

Improve documentation of new deprecation strategy

Added by Georg Ringer 10 months ago. Updated 10 months ago.

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

100%

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 TYPO3 Core - Task #82438: Use native trigger_error and ErrorHandler for deprecations Resolved 2017-09-10

Associated revisions

Revision 6e92f9e8 (diff)
Added by Markus Klein 10 months ago

[BUGFIX] Do not turn E_USER_DEPRECATED errors into exceptions

Also use the silent upgrade wizard to correct existing settings.

Resolves: #82721
Releases: master
Change-Id: I8d163799cf0d1acfaaa9c2589a70b932144b6dc6
Reviewed-on: https://review.typo3.org/54467
Tested-by: TYPO3com <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Tested-by: Stefan Neufeind <>
Reviewed-by: Claus Due <>
Reviewed-by: Frank Naegler <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

History

#1 Updated by Georg Ringer 10 months ago

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

#2 Updated by Markus Klein 10 months 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 10 months 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 10 months 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 10 months 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

#6 Updated by Markus Klein 10 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF