Bug #75232

Spread TypeConverter priorities

Added by Bernhard Kraft almost 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
Start date:
2016-03-22
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
5.6
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

The priorities of the "TypeConverter" classes are quite packed. At the moment there are only two TypeConverter's with concurring source/target types. These are the "ObjectConverter" and the "PersistentObjectConverter" TypeConverter classes.

The "ObjectConverter" has a priority of "0" (the only one with zero priority) while the "PersistentObjectConverter" has a priority of "1".

With the current situation it is not possible to create a custom TypeConverter with higher priority than "ObjectConverter" but lower than "PersistentObjectConverter".

Solution: Raise the priority of every TypeConverter to "10" instead of "PersistentObjectConverter" which should win against "ObjectConverter" by having a priority of 20.

Associated revisions

Revision de756b77 (diff)
Added by Bernhard Kraft about 3 years ago

[!!!][TASK] Spread TypeConverter priorities

The priorities of the "TypeConverter" classes are densly packed.

With the current situation it is not possible to create a custom
TypeConverter with higher priority than "ObjectConverter" but
lower than "PersistentObjectConverter".

Resolves: #75232
Releases: master
Change-Id: If620f927fad54118c71347bc797b93397815a39f
Reviewed-on: https://review.typo3.org/47361
Tested-by: TYPO3com <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>

Revision 605ff223 (diff)
Added by Susanne Moog about 3 years ago

[FOLLOWUP][TASK] Spread TypeConverter priorities

Adjust priority of UploadedFileReferenceConverter

Change-Id: I701697f4d77f6fe042d3faa32a9815edd1c737f1
Resolves: #75232
Releases: master
Reviewed-on: https://review.typo3.org/50899
Tested-by: TYPO3com <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>

History

#1 Updated by Gerrit Code Review almost 4 years ago

  • Status changed from New 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/47361

#2 Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47361

#3 Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47361

#4 Updated by Bernhard Kraft about 3 years ago

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

#5 Updated by Gerrit Code Review about 3 years ago

  • Status changed from Resolved 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/50899

#6 Updated by Anonymous about 3 years ago

  • Status changed from Under Review to Resolved

#7 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF