Project

General

Profile

Actions

Task #28499

closed

Rework deprecation of t3lib_div::int_from_ver()

Added by Xavier Perseguers over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2011-07-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Deprecating t3lib_div::int_from_ver() in 4.6 leads to major developer annoyance because this method is used to switch to compatibility code for older versions of TYPO3 in extensions and a hocus-pocus is needed to prevent calling it if using 4.6.

Proposal:

- Keep it deprecated in 4.6 but activate deprecation log in 4.7 only => remove it in 4.9
- Backport t3lib_utility_Version::convertVersionNumberToInteger() - only this method - in 4.5 LTS but without refactoring code to use it, it is only there to help developers targetting only 4.5 and above to not use dirty code

Developers targetting versions before 4.5.x up to 4.6 and above still will have to use the hocus-pocus.

Actions #1

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change I72673a483e5e716b24ebb6a89aaee3e09aaa7e65 has been pushed to the review server.
It is available at http://review.typo3.org/3732

Actions #2

Updated by Xavier Perseguers over 13 years ago

  • Status changed from New to Under Review
  • Assignee set to Xavier Perseguers
Actions #3

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change I73cfc9a5e15f6f336534e3705e914fc37862472e has been pushed to the review server.
It is available at http://review.typo3.org/3733

Actions #4

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change I72673a483e5e716b24ebb6a89aaee3e09aaa7e65 has been pushed to the review server.
It is available at http://review.typo3.org/3732

Actions #5

Updated by Xavier Perseguers over 13 years ago

  • Priority changed from Should have to Must have
Actions #6

Updated by Xavier Perseguers over 13 years ago

TYPO3 master: Change has been successfully cherry-picked as 63a53725f0532f8e1418bbcb91101862f1589f11.

Actions #7

Updated by Xavier Perseguers over 13 years ago

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

Updated by Xavier Perseguers over 13 years ago

TYPO3_4-5: Change has been successfully cherry-picked as 07935f0e04245bd2c60ae085b20ae7ff3e7c55fa.

Actions #9

Updated by Xavier Perseguers over 12 years ago

  • Status changed from Resolved to Closed
Actions #10

Updated by Ernesto Baschny over 11 years ago

  • Target version deleted (4.6.0-beta1)
Actions

Also available in: Atom PDF