Bug #100106
closedUnableToLinkException incompatible with returnLast=result
100%
Description
When using Typolink's returnLast option 'result' (new in TYPO3 11.4) and somehow causing an UnableToLinkException there's a TypeError!
TYPO3\CMS\Frontend\Typolink\UnableToLinkException::getLinkText(): Return value must be of type string, TYPO3\CMS\Frontend\Typolink\LinkResult returned
Files
Updated by Thomas Hohn over 1 year ago
Hi - do you have more of the stacktrace - Im particualar interested in the exception id thrown by the UnableToLinkException
Updated by Gerrit Code Review over 1 year ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78049
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78050
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78049
Updated by Philipp Kitzberger over 1 year ago
Hi - do you have more of the stacktrace - Im particualar interested in the exception id thrown by the UnableToLinkException
Hi Thomas, it's 1491130170.
We're rendering a custom linkhandler format such as t3://example?subtype=category&identifier=27278
which generally works but one of them fails due to some other reason.
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78074
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78074
Updated by Thomas Hohn over 1 year ago
- Target version set to Candidate for patchlevel
Updated by Thomas Hohn over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1a2e8761cf651ea85b186d1816f8ca78a19ba05e.
Updated by Thomas Hohn over 1 year ago
- Related to Task #101186: Cleanup UnableToLinkException added