Bug #69316
closedMisleading notes about "Feature: #33071 - Add the http header "Content-Language" when rendering a page"
100%
Description
Hi,
In changelog of TYPO3 CMS 7.4 is a note about "Content-Language" header: https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/7.4/Feature-33071-AddTheHttpHeaderContent-LanguageWhenRenderingAPage.html
However, here and also in "What's new" PDF it says about mysterious sys_language_content field, while a change, that brings this feature relies on sys_language_isocode: https://forge.typo3.org/projects/typo3cms-core/repository/revisions/7df807628fc9d4fffb746c1d8aead07b6b2dff56/diff/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
It took me some time to find this out, so better fix that note to not force others go my way :)
Updated by Stephan Großberndt almost 8 years ago
- Status changed from New to Accepted
The current link to that documentation page is
The patch in question is https://review.typo3.org/#/c/40265/
/** * Site content selection uid (can be different from sys_language_uid if content * is to be selected from a fall-back language. Depends on sys_language_mode) * @var int */ public $sys_language_content = 0;
sys_language_content
is a term/property defined in TypoScriptFrontendController
(TSFE) which, as the PHPDoc above states, can differ from sys_language_uid
.
Nonetheless the term is irritating in the feature description, it should be updated, file in question is /typo3/sysext/core/Documentation/Changelog/7.4/Feature-33071-AddTheHttpHeaderContent-LanguageWhenRenderingAPage.rst
in the Branch TYPO3_7-6
Updated by Christian Kuhn almost 7 years ago
- Related to Task #83610: Fix documentation for forge issue 69316 added
Updated by Gerrit Code Review almost 7 years ago
- Status changed from Accepted to Under Review
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/55410
Updated by Anonymous almost 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 950219d560095273b91fa69014853a5a11c62613.