headless
headless copied to clipboard
[BUGFIX] Fix crash when link is not resolved properly
Typolink method return empty string when it can not resolve link parameter
Pull Request Test Coverage Report for Build 3823384068
- 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 60.339%
Totals | |
---|---|
Change from base Build 3823382111: | 0.0% |
Covered Lines: | 677 |
Relevant Lines: | 1122 |
💛 - Coveralls
for version 12 we should use LinkFactory here, don't we?https://github.com/TYPO3/typo3/commit/4f7c4d1cc240071b38144e8f1d42cc62cdaedbe6 maybe add a todo in code or create an issue, what do you think @twoldanski ?
please also add a test case for this issue
@tmotyl yeah for branch 4.x / T3 v12 we should use LinkFactory, also this class needs some cleanup on 4.x branch I added quick test for it in 3.x
Cool, thanks
https://github.com/TYPO3-Headless/headless/pull/525 - new issue for v12