Project

General

Profile

Actions

Bug #22883

closed

Backwards compatibility broken by disabled deprecation log

Added by Ingo Renner over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2010-06-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The deprecation log has been disabled by default with issue #22613 and committed in r7616.
However, by disabling the deprecation log by default there's no chance for regular users to know when extensions are using deprecated APIs. When these APIs are going to be removed eventually with a later release, these users may experience crashes and fatal errors which could have been avoided if they had seen the deprecation log messages. This is bad in regards of user experience.

The deprecation log was created to allow for cleaning up and eventually removing old APIs and to still stick with backwards compatibility by letting users and developers know when they are using APIs that are subject to removal. Thus when not indicating use of these APIs to users and developers, disabling the deprecation log is like throwing over board our responsibility for backwards compatibility we have been so proud of the last years.

It is true however, that the deprecation log can grow to quite some size. Therefor a new status report entry will be added by the attached patch to let the user know whether the deprecation log is enabled, whether certain file sizes are reached, and what the current log file's size is.

Depending on the size of the log file the status will be OK for disabled deprecation log, NOTICE for enabled deprecation log, WARNING for 10MB+, and ERROR for 100MB+

(issue imported from #M14729)


Files

enable_deprecation_log.diff (9.16 KB) enable_deprecation_log.diff Administrator Admin, 2010-06-15 13:23
Actions #1

Updated by Ralle Büchnitz over 14 years ago

FATAL ERROR for new Revision: (7953)

I just checked out the revision 7953 and get the following result when opening the Reports page: [../typo3/mod.php?M=tools_txreportsM1]

Fatal error: Call to undefined method t3lib_div::getDeprecationLogFileName() in /somepath/typo3_svn/trunk/typo3/sysext/reports/reports/status/class.tx_reports_reports_status_configurationstatus.php on line 206

Actions #3

Updated by Ingo Renner over 14 years ago

committed to trunk (4.4) in r7953

Actions #4

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.4.0)
Actions

Also available in: Atom PDF