Bug #88812
closedInfo - PageTree Overview - basic settings view displays wrong value for field
100%
Description
The PageTree overview in the info modul displays wrong values for fields. (See attached screenshot)
Extending the fieldDefinitions with "no_index" and "no_follow" of the EXT:seo, the output is "No index: yes" and "No follow: yes", even though the page is enabled for index and follow.
Might be an issue with the new TCA config "invertStateDisplay". The mod.web_info.fieldDefinitions should respect the setting of "invertStateDisplay" to display correct values for the fields.
How to produce the output (no_index,no_follow)
mod.web_info.fieldDefinitions {
0 {
label = LLL:EXT:info/Resources/Private/Language/locallang_webinfo.xlf:pages_0
fields = title,uid,slug,alias,starttime,endtime,fe_group,target,url,shortcut,shortcut_mode,no_index,no_follow
}
}
Files
Updated by Georg Ringer over 5 years ago
- Category set to Backend User Interface
- Status changed from New to Accepted
Updated by Daniel Windloff over 5 years ago
- Category changed from Backend User Interface to SEO
Seems to be a TCA issue.
Labels on tca column "no_index" and label on robots palette "No index" and "Index this page" are inconsistent.
Updated by Riccardo De Contardi almost 5 years ago
Still reproducible on 10.3.0-dev.
As far as I can see the "wrong" labels are
typo3/sysext/seo/Resources/Private/Language/locallang_tca.xlf:pages.no_index typo3/sysext/seo/Resources/Private/Language/locallang_tca.xlf:pages.no_follow
and are just used here: typo3/sysext/seo/Configuration/TCA/Overrides/pages.php lines 79 and 95
I would suggest to use instead:
typo3/sysext/seo/Resources/Private/Language/locallang_tca.xlf:pages.no_index_formlabel typo3/sysext/seo/Resources/Private/Language/locallang_tca.xlf:pages.no_follow_formlabel
which are the ones used in the palette.
Updated by Gerrit Code Review almost 5 years ago
- Status changed from Accepted 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/c/Packages/TYPO3.CMS/+/63312
Updated by Christian Eßl almost 5 years ago
The labels were wrong in the "Display information" window of a page as well. (for the same reasons).
Updated by Gerrit Code Review almost 5 years ago
Patch set 1 for branch 9.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/+/63295
Updated by Christian Eßl almost 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset eade861a4aa878cfcf80c07e3eaa5b2a8a0665ec.