You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe what you expected to happen and why.
Starting from 12, the moduleData is present in the TYPO3_REQUEST. The advantage of that is that it merges the default values from the backend module with the ones in the uc.
This should be changed in the getLanguageId method of PageLayoutHeader.
If the languageId is -1 ("All Languages") it should return 0 just like within content elements.
Technical info
TYPO3 version: 12.4.24
Yoast SEO version: 10.0.0
The text was updated successfully, but these errors were encountered:
Please give us a description of what happened.
Within the
PageLayoutHeader
theBackendUtility::getModuleData
is being used.The underlying functionality sets the module data properties (
function
,language
,constant_editor_cat
) tonull
if nothing is present in the backend user'suc
.This causes a problem if the default values for the
web_layout
module are changed, for example with the PSR-14 event https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Events/Events/Backend/BeforeModuleCreationEvent.html#BeforeModuleCreationEventPlease describe what you expected to happen and why.
Starting from 12, the
moduleData
is present in theTYPO3_REQUEST
. The advantage of that is that it merges the default values from the backend module with the ones in theuc
.This should be changed in the
getLanguageId
method ofPageLayoutHeader
.If the languageId is
-1
("All Languages") it should return0
just like within content elements.Technical info
The text was updated successfully, but these errors were encountered: