Bug #75232
closedSpread TypeConverter priorities
100%
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.
Updated by Gerrit Code Review over 8 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
Updated by Gerrit Code Review almost 8 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
Updated by Gerrit Code Review almost 8 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
Updated by Bernhard Kraft almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset de756b7719df03ba8fe499f11ba3ffeb5001aa2c.
Updated by Gerrit Code Review almost 8 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
Updated by Anonymous almost 8 years ago
- Status changed from Under Review to Resolved
Applied in changeset 605ff223f4d7381dd7362d3afce704f174b34d62.