`customRecords` configuration still available?
Is the customRecords configuration, which is documented here, still available, or is the documentation outdated?
When using the following configuration, the news record is saved on the page, where I am creating it.
config {
tx_frontendediting {
customRecords {
tx_news_domain_model_news {
pid = 6
}
}
}
}
With the above configuration, I would expect, that the news record is stored on the page with uid = 6, regardless of the page, which I have selected at the moment of creating the record.
Tested with ext:frontend_editing v2.0.17
Hi do you have the same issue if you upgrade v3 of the extension? @cdaecke
@MattiasNilsson I tested now with a fresh system:
TYPO3: v11.5.15 ext:bootstrap_package: v12.0.5 ext:frontend_editing: v3.0.27
In this system customRecords are not working at all (not displaying in the right bar). Digging into this issue, I found out, that the $configuration holds an array with dots in the array keys, so the key customRecords is customRecords. which won't work:
https://github.com/FriendsOfTYPO3/frontend_editing/blob/0cf96549ad3c10fb4debe379b58ee4e72423a6db/Classes/Hook/FrontendEditingInitializationHook.php#L502-L506
@MattiasNilsson ... and to answer you question: No, the configured pid is also not respected with ext:frontend_editing v3.
@cdaecke A new version out that fixes the issue: https://github.com/FriendsOfTYPO3/frontend_editing/releases/tag/3.0.29