Actions
Bug #88032
closedOnly populate HrefLang, if they are available
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2019-03-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Currently href_lang-Tags are generated and populate every time. E.g. there is a news entry, that is only for Language 0,1,2 but not in Language 3 available, you have the possibility to throw a `InvalidRouteArgumentsException` - Exception. In this case, href lang generates also an entry for this page, but the link is only the site-base-route.
Simply check, if the given link is not empty, resolves the problem. Pull request is after submit available
Actions